+ 1
How to change path for java programming in Windows 10 using command prompt?
5 Respuestas
+ 1
You should be able to use "set" in the command prompt. This may help:
https://stackoverflow.com/questions/5327495/list-all-environment-variables-from-command-line
+ 1
@luka You actually can use set to set the path and classpath via cmd in windows. However, they will not persist to the next time you open cmd and will be appended to the current environment variables temporarily (as long as you keep that cmd window open or change the value again. even the link you provided supports this statement). I know this to be true, because I have personally used this method in the past, but it was on an earlier version of windows. I have not tested this method on windows 10 however, but I would assume that it is still a possibility to do so.
https://mshappylearning.wordpress.com/2014/08/31/java-path-and-classpath-settings-on-windows-command-prompt-system-variables/
0
Here's some info on setting the classpath:
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html