Originally Posted by
izznogooood
You dont say what kind of Java you are running so I'm guessing its java from the official repositories. In my experience many (some) java apps don't run properly on anything but Oracle Java (Original java).
The way you can get this in Ubuntu is open a terminal and:
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install oracle-java9-installer
This will also install the java plug-in for Firefox.
Hello Sir
I tried that and i got the followowing errors....
Besides i have java 7 now and i want 8 and not 9.
Can oyu please provide commands for 8 and not 9?
Thanks ,,,
Code:
$ sudo add-apt-repository ppa:webupd8team/java
[sudo] password for none:
Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA.
More info (and Ubuntu installation instructions):
- for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
- for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
Debian installation instructions:
- Oracle Java 7: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html
- Oracle Java 8: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian): http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java
Press [ENTER] to continue or ctrl-c to cancel adding it
Error reading https://launchpad.net/api/1.0/~webupd8team/+archive/java: ''
Bookmarks