/Ubuntu-Linux-OpenJDK-Toggle

Toggles between OpenJDK 8 and 11 on Linux (only ubuntu for now)

Primary LanguageShell

Ubuntu-Linux-OpenJDK-Toggle

Toggles between OpenJDK 8 and 11

Requires sudo, because update-java-alternatives command requires sudo. (Both scripts are short, please read them)

To install do:
git clone https://github.com/Ortega-Dan/Ubuntu-Linux-OpenJDK-Toggle.git
cd Ubuntu-Linux-OpenJDK-Toggle
sudo bash deploy.sh

To toggle between OpenJDK 8 and 11 from any place/directory do:
sudo toggleJava