This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
fuss:debian [2019/01/17 19:51] – [Generate MD5 Sums for Package] office | fuss:debian [2019/07/27 02:58] – [Reinstall Package and All Dependencies] office | ||
---|---|---|---|
Line 326: | Line 326: | ||
where: | where: | ||
* '' | * '' | ||
+ | |||
+ | ====== Execute Java Program under Different JDK Version ====== | ||
+ | |||
+ | Execute the command: | ||
+ | <code bash> | ||
+ | update-java-alternatives -l | ||
+ | </ | ||
+ | |||
+ | to list the available JDKs. | ||
+ | |||
+ | Issue: | ||
+ | <code bash> | ||
+ | update-java-alternatives -s java-1.8.0-openjdk-amd64 | ||
+ | </ | ||
+ | where: | ||
+ | * '' | ||
+ | |||
+ | to set the java JDK version to be used. | ||
+ | |||