Awesome Open Source
Awesome Open Source



Switches between the installed java versions for development on a linux (Ubuntu) machine.
If you haven't installed the java versions in the same folder, use,, ...

if they are already installed in the same the same folder, use:

$ bash 6
$ bash 7
$ bash 8
$ bash 11


on Arch linux the system already has a built in way to change between the settings:

archlinux-java get

will return the current version, for expample: java-8-openjdk

you can list all versions with:

archlinux-java status

you can change between the versions with: JDK 8:

sudo archlinux-java set java-8-openjdk

JDK 11:

sudo archlinux-java set java-11-openjdk

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (689,558
Shell (226,249
Linux (16,468
Ubuntu (3,335
Debian (1,963
Arch (382
Jdk (181
Openjdk (150
Manjaro (125
Related Projects