Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

In Cloudera Quickstart VM how to upgrade latest version of JDK

avatar
New Contributor

how to upgrade latest version of JDK in Cloudera Quickstart VM.

I am trying to install Eclipse Neon where I am getting below error.

================================================

Java 1.8+VM - No match; click to configure...

================================================

1 ACCEPTED SOLUTION

avatar
Guru
The easiest way would be to download and install the JDK version you want
from Oracle's website. They offer RPM packages which should work in the VM,
or a tarball that you can extract yourself anywhere you like. Once it's
installed, make a note of the directory it installed to: the RPMs will
install under /usr/lib/jvm or /usr/java or something like that. The
directory will include the version in the name, and should have a /bin/
directory underneath it. With that directory, you'll want to update the
value of JAVA_HOME in /etc/profile and restart any shell sessions you have
open. If you want CDH to use that JDK as well, export JAVA_HOME in
/etc/default/bigtop-utils.

View solution in original post

1 REPLY 1

avatar
Guru
The easiest way would be to download and install the JDK version you want
from Oracle's website. They offer RPM packages which should work in the VM,
or a tarball that you can extract yourself anywhere you like. Once it's
installed, make a note of the directory it installed to: the RPMs will
install under /usr/lib/jvm or /usr/java or something like that. The
directory will include the version in the name, and should have a /bin/
directory underneath it. With that directory, you'll want to update the
value of JAVA_HOME in /etc/profile and restart any shell sessions you have
open. If you want CDH to use that JDK as well, export JAVA_HOME in
/etc/default/bigtop-utils.