How to ACTUALLY install Java on Linux?
        Posted  
        
            by Camran
        on Server Fault
        
        See other posts from Server Fault
        
            or by Camran
        
        
        
        Published on 2010-05-29T14:11:11Z
        Indexed on 
            2010/05/29
            14:12 UTC
        
        
        Read the original article
        Hit count: 368
        
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
© Server Fault or respective owner