Share

Search Unix Commands/Scripts


  Help us in improving the repository. Add new commands/scripts through 'Submit Commands/Scripts ' link.





Unix Commands/Scripts for '#Switch java version' - 2 Commands/Scripts found

 Sample 1. Switch Java version in Ubuntu

sudo update-alternatives --config java

   Like      Feedback     switch java version   sudo update-alternatives


 Sample 2. Switch to Java version 8 on Mac

export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

   Like      Feedback     



Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus