Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Installed Oracle JRE 8, but don't see it installed & can't select it

Writer Andrew Mclaughlin

Running UbuntuStudio v20.04

Trying to get Oracle Java selected instead of OpenJDK in order for my Trading Platform to work - using a JNLP file. It must use the Oracle version. Have installed latest from Oracle from here.

It installed to dir/usr/lib/jvm/jre1.8.0_301but this is what it shows using this command.

MS-7640:~$ update-java-alternatives -l
java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64
MS-7640:~$ java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

I don't see the Oracle version! How can I verify its installed and select it? Then perhaps my Trading Platform will run. Iced Tea may be intercepting, and ONLY uses OpenJDK. Don't know if I should Remove it ... or what?

In trying to Setup the Alternatives, I get the following Error:

MS-7640:~$ sudo update-alternatives --install /usr/bin/java OracleJava /usr/lib/jvm/jre1.8.0_301/bin/java 1
update-alternatives: error: alternative link /usr/bin/java is already managed by java

Any help is very appreciated. Thanks!

4 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy