Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
In Cloudera Quickstart VM how to upgrade latest version of JDK
Labels:
- Labels:
-
Quickstart VM
New Contributor
Created on ‎09-02-2016 12:28 AM - edited ‎09-16-2022 03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Guru
Created ‎09-07-2016 08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
1 REPLY 1
Guru
Created ‎09-07-2016 08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
