Skip to content

Instantly share code, notes, and snippets.

@cd01
Created May 8, 2015 11:13
Show Gist options
  • Save cd01/2e88a1b3bea83c1af7e4 to your computer and use it in GitHub Desktop.
Save cd01/2e88a1b3bea83c1af7e4 to your computer and use it in GitHub Desktop.

Revisions

  1. cd01 created this gist May 8, 2015.
    3 changes: 3 additions & 0 deletions make_junction_to_jdk_dir.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    IF EXIST "%USERPROFILE%\jdk" RMDIR "%USERPROFILE%\jdk"
    MKLINK /J "%USERPROFILE%\jdk" "%PROGRAMFILES%\Java\jdk1.7.0_79"
    REM MKLINK /J "%USERPROFILE%\jdk" "%PROGRAMFILES%\Java\jdk1.8.0_45"