Oracle Java is no longer free

I was trying to install Oracle Java 8, in one of my projects today and I found that Oracle would not install on my Linux operating system, (I am using Ubuntu 18.04, trying to install through apt-get).

sudo apt-get install oracle-java8-installer
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

So I tried to find a solution, visited various websites, but none of the suggested methods worked, later, I landed on this page –

https://launchpad.net/~webupd8team/+archive/ubuntu/java

Here, it is clearly said that support for Oracle Java PPA Installer is discontinued, from April 16, 2019, as 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.

Here are the subscription options, please note that price and product availability may vary as per your country, the prices below are for US –

Oracle Java SE Desktop Subscription
1 Year Term Subscription that combines Java SE Licensing and Support for use on Desktops, Servers or Cloud deployments.
US$15.00 – US$30.00
Oracle Java SE Subscription
1 Year Term Subscription that combines Java SE Licensing and Support for use on Desktops, Servers or Cloud deployments.
US$150.00 – US$300.00
Oracle Java Development Tools Support
Support for NetBeans, Oracle JDeveloper and Oracle Enterprise Pack for Eclipse.
US$1,200.00

If you don’t want to pay for using Java, then you need to switch to Open JDK, its available for free for both commercial and personal use.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.