I need to install java (j2se sdk) on my computer for running a program (SQLDeveloper). All the write ups talk about installing the FireFox plug-in.
What do I have to do to get this installed?
You need to enable the partner source (assuming you're using Lucid):
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
Update, and then install the necessary packages:
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin sun-java6-fonts
This is Sun's link to download the SDK: http://java.sun.com/javase/downloads/widget/jdk6.jsp
you may need to set your $JAVA_HOME environmental variable afterwards.
For example:
% export JAVA_HOME=<the path where you installed the JDK>
You'll want to set this in your .profile to avoid manually setting it each session.
I'm not familiar with the SQLDeveloer installer, but it may make it easier for you by allowing you to specify the JDK location.
GL