Skip to content

Instantly share code, notes, and snippets.

@wfjsw
Created July 14, 2015 12:42
Show Gist options
  • Save wfjsw/8f816a0e2a03e29a2406 to your computer and use it in GitHub Desktop.
Save wfjsw/8f816a0e2a03e29a2406 to your computer and use it in GitHub Desktop.
fuck java
alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_45/bin/java 1000 --slave /usr/bin/appletviewer appletviewer /usr/java/jdk1.8.0_45/bin/appletviewer --slave /usr/bin/ControlPanel ControlPanel /usr/java/jdk1.8.0_45/bin/ControlPanel --slave /usr/bin/extcheck extcheck /usr/java/jdk1.8.0_45/bin/extcheck --slave /usr/bin/idlj idlj /usr/java/jdk1.8.0_45/bin/idlj --slave /usr/bin/jar jar /usr/java/jdk1.8.0_45/bin/jar --slave /usr/bin/jarsigner jarsigner /usr/java/jdk1.8.0_45/bin/jarsigner --slave /usr/bin/javac javac /usr/java/jdk1.8.0_45/bin/javac --slave /usr/bin/javadoc javadoc /usr/java/jdk1.8.0_45/bin/javadoc --slave /usr/bin/javafxpackager javafxpackager /usr/java/jdk1.8.0_45/bin/javafxpackager --slave /usr/bin/javah javah /usr/java/jdk1.8.0_45/bin/javah --slave /usr/bin/javap javap /usr/java/jdk1.8.0_45/bin/javap --slave /usr/bin/javapackager javapackager /usr/java/jdk1.8.0_45/bin/javapackager --slave /usr/bin/javaws javaws /usr/java/jdk1.8.0_45/bin/javaws --slave /usr/bin/jcmd jcmd /usr/java/jdk1.8.0_45/bin/jcmd --slave /usr/bin/jstack jstack /usr/java/jdk1.8.0_45/bin/jstack --slave /usr/bin/keytool keytool /usr/java/jdk1.8.0_45/bin/keytool --slave /usr/bin/native2ascii native2ascii /usr/java/jdk1.8.0_45/bin/native2ascii --slave /usr/bin/pack200 pack200 /usr/java/jdk1.8.0_45/bin/pack200 --slave /usr/bin/policytool policytool /usr/java/jdk1.8.0_45/bin/policytool --slave /usr/bin/unpack200 unpack200 /usr/java/jdk1.8.0_45/bin/unpack200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment