Jump to content

Help sorting Java PATH + Minecraft + CMD Breaking.

Right, so currently I need to sort out Bukkit + Java to run through the command prompt / the simple bat that runs the .jar for bukkit, since the PATH for Java isn't there and is overwritten by 2 others I tried fixing it through the help page on Oracle's official site to no avail. I ended up breaking my Command Prompt and managed to get Java to run perfectly which prompted me to do a restore from 5 hours ago. Can anyone help? 

Cpu: i5-2500k @4.8Ghz, MB: Asus Maximus V Formula, CPU cooler: Be quiet! Dark rock pro 2, GPU: Evga Gtx660 FTW@1.24ghz. Ram: Corsair Vengeance 8GB 1866Mhz, PSU: Be quiet! 730w Semi modular, SSD: Corsair force 3 240Gb, HDD: WD Green 1TB, Case: Nzxt H2 with 4 Corsair SP120's, Win7

Link to post
Share on other sites

So whenever you type in java -version in the command prompt does it show the java version? what about if you type in ipconfig does that work aswell? If not then search environment variables and make sure that under system variable PATH you have C:\Program Files\Java\jdk1.7.0_51\bin\;C:\Windows;C:\Windows\system32\ and if you have other variables in there which aren't under my paths then just add a semi-colon( ; ) after my line and add the path to it directly after the semi-colon e.g. I also have C:\Program Files (x86)\Git\cmd which isn't in the list so I change my path to C:\Program Files\Java\jdk1.7.0_51\bin\;C:\Windows;C:\Windows\system32\;C:\Program Files (x86)\Git\cmd

Link to post
Share on other sites

So whenever you type in java -version in the command prompt does it show the java version? what about if you type in ipconfig does that work aswell? If not then search environment variables and make sure that under system variable PATH you have C:\Program Files\Java\jdk1.7.0_51\bin\;C:\Windows;C:\Windows\system32\ and if you have other variables in there which aren't under my paths then just add a semi-colon( ; ) after my line and add the path to it directly after the semi-colon e.g. I also have C:\Program Files (x86)\Git\cmd which isn't in the list so I change my path to C:\Program Files\Java\jdk1.7.0_51\bin\;C:\Windows;C:\Windows\system32\;C:\Program Files (x86)\Git\cmd

Forgot to really close this, I ended up just editting the variable and adding the PATH string for Java, it's working fine now. 

Cpu: i5-2500k @4.8Ghz, MB: Asus Maximus V Formula, CPU cooler: Be quiet! Dark rock pro 2, GPU: Evga Gtx660 FTW@1.24ghz. Ram: Corsair Vengeance 8GB 1866Mhz, PSU: Be quiet! 730w Semi modular, SSD: Corsair force 3 240Gb, HDD: WD Green 1TB, Case: Nzxt H2 with 4 Corsair SP120's, Win7

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×