Created
June 20, 2016 11:30
-
-
Save RichardHan/57c00493cc8c9274c3cc3425aa177324 to your computer and use it in GitHub Desktop.
Windows change JAVA path by mklink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Windows Only - Change JAVA PATH - http://stackoverflow.com/questions/26864662/how-to-solve-the-error-the-system-cannot-find-the-file-c-programdata-oracle-ja] | |
cd C:\ProgramData\Oracle\Java\javapath | |
del java*.exe | |
mklink java.exe "C:\Program Files\Java\jdk1.8.0_91\bin\java.exe" | |
mklink javaw.exe "C:\Program Files\Java\jdk1.8.0_91\bin\javaw.exe" | |
mklink javaws.exe "C:\Program Files\Java\jdk1.8.0_91\bin\javaws.exe" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment