Can someone please guide me through the JDK installation?
- Login o registrati per inviare commenti
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 Oracle website I can't get it to work. I used [this](https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html#BJFCDAIB) guide and after completion I get my terminal, write java or javac and it doesn't recognize the command. I've been trying to get it working for the past 3 hours so I'm pretty furious with the whole thing. Can someone explain to me how to get it done?
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:
sudo apt-get install openjdk-7-jdk
sudo apt-get install openjdk-7-jre
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 Oracle
website I can't get it to work. I used
[this](https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jdk.html#BJFCDAIB)
guide and after completion I get my terminal, write java or javac and it
doesn't recognize the command. I've been trying to get it working for the
past 3 hours so I'm pretty furious with the whole thing. Can someone explain
to me how to get it done?
They can be installed with the "Synaptic package manager" (in the "System settings") too.
And the operating system is GNU/Linux; Linux only is a kernel: https://www.gnu.org/gnu/linux-and-gnu.html
They can be installed with the "Synaptic package manager" (in the "System
settings") too.
And the operating system is GNU/Linux; Linux only is a kernel:
https://www.gnu.org/gnu/linux-and-gnu.html
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:
sudo apt-get install openjdk-7-jdk
sudo apt-get install openjdk-7-jre
Simply install openJDK8 as the others have suggested using sudo apt-get or the synaptic app
Simply install openJDK as the others gave suggested using sudo apt-get or the
synaptic app
apt-get install openjdk-7-jdk
sudo apt-get install openjdk-7-jdk
sudo apt-get install openjdk-7-jdk
- Login o registrati per inviare commenti