So since I need to be able to compile java source code on my machine, I've need to change my environment variables. The PATH is changed to SUN/bin/whatever, where the javac batch file is located.
Problem is, now when I use the command prompt, I can't use ipconfig, or any of that crap, cause it's not long set to System32.
Is there a way of using both? How would I go about doing that?
Thanks in advance!
-
You were supposed to add that folder to the path, not replace the path with that single folder. Had you looked at the path you overwrote, you would have seen that it had a number of folders there, separated by semicolons. Better get yourself a stock Windows system and copy the path variable from there. You probably just broke a lot of functionality, and not just the minor issue you mentioned...
-
Yeah you're probably right. I added C:\Windows;C:\Windows\system32, along with the Java one, separated by a semicolon, and it works fine now. I will look into any other paths I am missing. Thanks for your help.
Environment variables question
Discussion in 'Windows OS and Software' started by unknowntt, Dec 20, 2011.