Skip to content

Files

Latest commit

fc26dcb · May 2, 2018

History

History

java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 11, 2018
May 2, 2018

update-java-alternatives

Helper script to switch between JDKs given the path to JDK.

Usage

./update-java-alternatives.sh path/to/jdk

Example

gayan@deb:~$ ./update-java-alternatives.sh ~/libs/jdk/jdk1.8.0_77/

Using JDK: /home/gayan/Downloads/libs/jdk/jdk1.8.0_77
Do you want to update java (y/n)? y
Do you want to update javac (y/n)? y
Do you want to update jdb (y/n)? y
Do you want to update javaws (y/n)? y
Do you want to update jar (y/n)? y
Do you want to update jdeps (y/n)? y