NOTE: I RAN THIS WITH SUN JAVA 6 ALREADY INSTALLED
I first added the below to my sources.list file
Code:
deb-src http://archive.ubuntu.com/ubuntu hardy universe
then ran
The first in getting going was
Code:
apt-get build-dep icedtea-java7-jre
which removed
Code:
fluxbox fvwm gdk-imlib11 kipi-plugins libimlib2 libungif4-dev libungif4g mencoder mozilla-mplayer mplayer
I re-installed these once the process was complete. Then I added the following dependencies
Code:
apt-get install libgcj7-jar gcc-4.3 g++-4.3
It is possible that there were other dependencies needed that were already installed on my system. To find the above 3 dependencies, I had to go through the step below 3 times before it compiled to the end
Code:
apt-get source -b icedtea-java7-jre
When compile finished I did
Code:
dpkg -i icedtea*.deb
Everything installed without problem.
I then ran the following, choosing icedtea-java for each
Code:
update-alternatives --config java
update-alternatives --config javac
update-alternatives --config javah
update-alternatives --config javap
The below showed the little fella dancing about
:
http://www.java.com/en/download/help/testvm.xml
Thanks to these two fellas
plugwash
Hadret