sudo apt-get install openjdk-7-jdk
apt-get install openjdk-7-jdk
I installed Linux on my shitty old laptop because I wanted to learn how to
program in Java, and I thought that maybe installing a lightweight Linux
would make it easier for me to use this piece of crap. I had no problem
installing JDK on Windows, but when I follow the instructions on the
Welcome to freedom!
Does this help:
https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
? I hope it does. Basically, all you have to do is to forget about Oracle's
java version and install OpenJDK instead.
These commands should do the trick:
Simply install openJDK as the others gave suggested using sudo apt-get or the
synaptic app