Java 2 sdk

Asked by Maito

Hello everyone, I am trying to install Java2 SDK (1.4.2-01 for linux) in my machine but i am having a lot of problems, does anyone know how to do it STEP BY STEP.

I have KUBUNTU (ubuntu for a server).

Thank you

Ivan Pinto
Southeastern Louisiana University
Computer lab99

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Antonio Sánchez
Solved:
Last query:
Last reply:
Revision history for this message
Best Antonio Sánchez (antoniosanchez) said :
#1

Hi Ivan,

If you need specifically Java 1.4.2-01 you have to download it from Sun website [1] and follow installation instruction for linux [2].

[1] http://java.sun.com/j2se/1.4.2/download.html
[2] http://java.sun.com/j2se/1.4.2/install-linux.html

If you could use another recent version of Java the installation method will be easier, you only have to install from ubuntu repos one of the next packages:

sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
or
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6

doing

sudo apt-get install sun-java5-jdk
or
sudo apt-get install sun-java6-jdk

P.S.: Kubuntu is an Ubuntu version with KDE Desktop Environment and it's different of ubuntu server version.

Revision history for this message
peter (peter-neuweiler) said :
#2

Hi Mato

I've 8.04 and I need the following files to run Java:

sun-java6-jre
sun-java6-bin
java-common
sun-java6-plugin

All these files can be found in the Synaptic Package Manager.

Hope it helps.
Peter

Revision history for this message
Maito (ivan-pinto) said :
#3

Thanks Antonio Sánchez, that solved my question.