Guest User

Untitled

a guest
Nov 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. update-java-alternatives -l => list all installed JDK
  2. sudo update-java-alternatives -s java-1.8.0-openjdk-amd64 => sets both JDK && JRE
  3.  
  4. sudo update-alternatives --config javac => only sets the compiler
  5. sudo update-alternatives --config java => only sets the JRE
Add Comment
Please, Sign In to add comment