Java Installation on Ubuntu 8.04
June 8, 2008
I had some minor hiccups while installing java on Ubuntu 8.04, here are the notes I stored as I went along-
On the Ubuntu Forums it was suggested that OpenJDK shud be used rather than Sun JDK.
After installing Eclipse it couldnt find the correct path to the Jvm or jre…
Used gksudo nautilus in app launcher(Alt + F2) and opened /etc/eclipse/javahome so that it could be opened as root and edited.
Added this line
/usr/lib/jvm/java-6-openjdk
The next problem was while launching Eclipse, “An error occurred, check some log….” This is a common error and it was due to a corrupted directory used for the workspace. This directory was created by me in my earlier attempts to launch Eclipse.
Created a new dir and Eclipse ran!