Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 30975  / 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

 Answers
7

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.



Source: INSTALL ORACLE JAVA 7 IN UBUNTU VIA PPA REPOSITORY




[#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.
gavgenerati

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

Location: Marshall Islands
Member since Wed, Feb 9, 2022
2 Years ago
;