4
I have a Ubuntu Server.
From the terminal, how should I install JDK?
In this guide it says to use this command:
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
But on Suns website, it says JDK includes the JRE, so why the JRE in the line above?
Anybody know how to actually install Java?
Every guide and every forum shows different ways of doing it.
BTW: It is a VPS (virtual private server)
Thanks
1The JDK often comes with a jre subfolder that contains the JRE but this is intended for use by the JDK only and not intended for general use by the rest of the system. For system wide use install the JRE. – Chris Nava – 2010-05-30T02:33:12.393