Search This Blog

Wednesday, November 14, 2018

How to make symbolic links in Windows

Example,  you can run the following commands in the C:\ProgramData\Oracle\Java\javapath\ directory:
mklink java.exe "C:\Program Files\Java\jdk1.8.0_45\bin\java.exe"
mklink javaw.exe "C:\Program Files\Java\jdk1.8.0_45\bin\javaw.exe"
mklink javaws.exe "C:\Program Files\Java\jdk1.8.0_45\bin\javaws.exe"