0

I am following this doc page for installing ElasticSearch. This requires Java so again I followed this doc page to install Java.

The commands are,

add-apt-repository -y ppa:webupd8team/java
apt-get -y update
apt-get install -y oracle-java8-installer

The 3rd command threw bellow error.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package oracle-java8-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'oracle-java8-installer' has no installation candidate

After some search I found out from here that the Java is no longer free.

Question: Should I purchase Java License if I want to use/install ElasticSearch?

  • @SavanPatel. Thank you. But my question is different. I want to use ElasticSearch/Java in Production . Oracle Java is Free for personal and development use, but you need to have an active subscription (paid) to continue using Oracle Java for commercial purpose – Magento Learner Mar 3 at 11:42

Your Answer

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

Browse other questions tagged or ask your own question.