GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - joergi/java-version-switcher: small script to switch between the java versions

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
j11.sh
j11.sh
 
 
j15.sh
j15.sh
 
 
j6.sh
j6.sh
 
 
j7.sh
j7.sh
 
 
j8.sh
j8.sh
 
 
j9.sh
j9.sh
 
 
javaswitcher.sh
javaswitcher.sh
 
 

Repository files navigation

java-version-switcher

Ubuntu

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 j6.sh, j7.sh, j8.sh ... j11.sh

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

$ bash javaswitcher.sh 6
$ bash javaswitcher.sh 7
$ bash javaswitcher.sh 8
...
$ bash javaswitcher.sh 11

Arch:

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

or
JDK 11:

sudo archlinux-java set java-11-openjdk

About

small script to switch between the java versions

Topics

archdebianjavajava-versionsjdklinuxmanjaroopenjdkopenjdk-javaubuntu

Resources

Readme
GPL-2.0 license
Activity

Stars

5 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.