Install Rapidminer but 'Unable to locate package openjdk-8-jdk

LEP
LEP New Altair Community Member
edited November 5 in Community Q&A
Hi 

I am trying to install RM on ubuntu (virtual machine on Chromebook).

First I need to install Java 8, however when I run:

sudo apt-get install openjdk-8-jdk

I get an error message: 'Unable to locate package openjdk-8-jdk'

When researching further I see Java 8 is no longer available without a commercial licence. Is this correct?

Can someone help me install Java 8 without using sudo?

Answers

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    Hi!

    openjdk-8-jdk is available on my ubuntu 20.04. That version is not affected by Oracle's commercial license policy.
    You or your admin should be able to install it.

    Amazon Coretto is a good free distribution of OpenJDK 8 if you don't have sudo rights.
    https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html

    If you download the Linux .tar.gz version, you can untar it anywhere (tar -xvf amazon-coretto-*.tar.gz) and set your JAVA_HOME environment variable to point to this directory. RapidMiner will then use it.

    Best regards

    Balázs