Hi
I know this has been posted countless times but it doesn't seem to work for me.
I am installing Java SDK (in order to install OpenLaszlo). And here's what I get when I try to run the script to make OL working :
I have installed java ($sudo aptitude install sun-java6-jdk sun-java6-doc sun-java6-demo), agreed the agreement by downloading the doc to /tmp from Sun's website ; I did this to select Java as default ($sudo update-java-alternatives -s java-6-sun).
I have added this in /home/.bashrc
output of commands :
which is strange because it seems like the one it should be is /usr/lib/jvm/...
I don't understand much of this, just trying to figure out the specific line which will end this installation !
thanks in advance
kl
I know this has been posted countless times but it doesn't seem to work for me.
I am installing Java SDK (in order to install OpenLaszlo). And here's what I get when I try to run the script to make OL working :
Code:
$/usr/local/lps-4.3.0/Server/tomcat-5.0.24/bin$ sudo ./startup.sh The JAVA_HOME environment variable is not defined This environment variable is needed to run this program
I have added this in /home/.bashrc
Code:
if [ -d ~/bin ] ; then PATH=~/bin:/usr/lib/jvm/java-6-sun/jre/bin:"${PATH}" fi export JAVA_HOME=/usr/lib/jvm/java-6-sun
Code:
$ update-java-alternatives --list java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk java-6-sun 63 /usr/lib/jvm/java-6-sun
Code:
$ java -version java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)
Code:
$ which java /usr/bin/java
I don't understand much of this, just trying to figure out the specific line which will end this installation !
thanks in advance
kl
Comment