How to install Java on Ubuntu gnome 15.04

Hi frands. I am having trouble to install java on my pc, I tried all the method on the web, so i was wondering if any of guys know how to fix my problem. Thanks :)

Should be sudo apt-get install default-jre

you can easaly do this wenn using the terminal.

1: add a repository: sudo add-apt-repository ppa:webupd8team/java

2: update your repo´s: sudo apt-get update

3: install oracle java: sudo apt-get install oracle-java9-installer

Note that this guide is for Oracle Java

3 Likes

Thanks, but i found this video online, and it works.

good video.
Same as the steps i posted above.

1 Like