+ 1

How to change path for java programming in Windows 10 using command prompt?

5th Oct 2017, 2:28 AM
mayank
mayank - avatar
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
6th Oct 2017, 10:09 AM
LOSST
LOSST - avatar
+ 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/
6th Oct 2017, 5:57 PM
ChaoticDawg
ChaoticDawg - avatar
5th Oct 2017, 3:31 AM
ChaoticDawg
ChaoticDawg - avatar