• More than 1000 Questions
  • Short Tests for revision
  • New Questions added Daily
  • Search by Topic, Level, Frequency & Company
  • Actively Moderated by experienced developers

Search Java Interview Questions

Best Java Question Repository on web. Click Here

PROBLEM - Ubuntu - Change / Switch Java version


Change Java version or Switch to an alternate Java version with multiple Java versions being installed on the machine


     sudo update-alternatives --config java

and system will show the options available ( Java versions installed on machine ) and will then present with the message -

"Press enter to keep the current choice[*], or type selection number: "

Enter the Selection # of the Java version you would like to be set and press Enter.

Confirm that the version has been changed by running
         java - version

Stay updated with Java posts in your email.

Enter your email address:

Delivered by FeedBurner
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