Tuesday, September 26, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  16] [ 0]  / answers: 1 / hits: 30863  / 2 Years ago, mon, january 31, 2022, 8:51:49

I'm a little confused at the moment.

My back story in short, is that I'm trying to set up a Minecraft server on an Ubuntu server I've recently set up, obviously to do this I needed Java, but after googling for a short while I wasn't entirely sure whether it is possible (or legal?) to do so in Ubuntu 12.04 due to licensing type issues - so I installed open JDK instead which appears not to work properly with the Minecraft server software (I half expected this)

I'm now considering uninstalling open JDK and instead trying to get proper Java on there instead, my question is, is this possible? Is it Legal? And if so how do I go about doing it? Because I'm finding it very difficult to find any instructions on how to do so for 12.04 . . .

More From » 12.04


The legal problems you are referring are about the distribution of Oracle Java. Its license prevents that it could be provided in the default repositories, but its perfectly legal to download and install it.

Probably the easiest way is to use the WebUpd8 ppa:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

This will run a script that will download and install Oracle Java 7 (JDK) from the official website, so it is perfectly legal.

If you just want JRE the best way is probably download and install it manually from Oracle website.


[#35110] Tuesday, February 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 120
Total Questions: 126
Total Answers: 119

Location: Marshall Islands
Member since Wed, Feb 9, 2022
2 Years ago
gavgenerati questions
Wed, Jun 22, 22, 17:24, 1 Year ago
Fri, Jul 30, 21, 04:32, 2 Years ago
Fri, Jan 14, 22, 14:20, 2 Years ago
Tue, Jul 27, 21, 19:05, 2 Years ago