Firts double click the installer, thell it to install it under opt or where ever you may want, then you need to edit your /etc/profile file in order for the Java libraries to get detected by Java based apps. Here is an exerpt of
MY /etc/profile (you may have chosen another install directory for Java)
Where is the part of X's pathmunge add:
Code:
pathmunge /usr/X11R6/bin after
pathmunge /usr/java/j2sdk_nb/j2sdk1.4.2/bin
unset pathmunge
Then set the path to the libraries to be exported to the LD_LIBRARY_PATH enviroment variable:
Code:
if [ $LD_LIBRARY_PATH ]
then
if ! set | grep LD_LIBRARY_PATH | grep /usr/X11R6/lib:/usr/X11R6/lib/modules:/usr/java/j2sdk_nb/
j2sdk1.4.2/lib > /dev/null
then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11R6/lib:
/usr/X11R6/lib/modules:/usr/java/j2sdk_nb/j2sdk1.4.2/lib
export LD_LIBRARY_PATH
fi
else
LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/X11R6/lib/modules:
/usr/java/j2sdk_nb/j2sdk1.4.2/lib
export LD_LIBRARY_PATH
fi
In the code above I had to split the lines where it reads the paths to /usr/java/... /usr/X11R6/... and the second instance of /usr/java/... Make sure these three lines are set as a one long line after the | grep statement of the first
if and after the
then and
else bash's keywords. That should be all.