Changes

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

Default Java on Mint Linux

996 bytes added, 01:57, 31 July 2020
/* Error: There is only one alternative in link group java */
The following lines were added (+) and removed (-):
Here is the Linux Mint 19.2 Example: $ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.8.0_181/bin/java" 8 $ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java).   Selection    Path                                        Priority  Status ------------------------------------------------------------ * 0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java  1111      auto mode  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java  1111      manual mode  2            /usr/lib/jvm/jre1.8.0_181/bin/java            8        manual mode Press <enter> to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/lib/jvm/jre1.8.0_181/bin/java to provide /usr/bin/java (java) in manual mode $ java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)