On Mon, Jan 16, 2012 at 10:54:37AM +0100, Oscar Vidal wrote:
> Hello List,
>
> I'm having a wired problem right now and I need some help.
>
> I'm not able to set the JAVA_HOME variable
>
> # export JAVA_HOME=/opt/jdk1.6.0_07
> # echo $JAVA_HOME
> /opt/jdk1.6.0_07
> # sudo /opt/apache-tomcat-7.0.
SOLVED
I just add the
export JAVA_HOME=/opt/jdk1.6.0_07
in the beginning of the startup.sh script
thanks
Oscar
2012/1/16 Oscar Vidal
> Hi,
>
> thanks for the answer but it didn't work to me.
> I tried:
>
> # sudo -E /opt/java/apache-tomcat-7/bin/startup.sh
> sudo: illegal option `-E'
> usa
Hello List,
I'm having a wired problem right now and I need some help.
I'm not able to set the JAVA_HOME variable
# export JAVA_HOME=/opt/jdk1.6.0_07
# echo $JAVA_HOME
/opt/jdk1.6.0_07
# sudo /opt/apache-tomcat-7.0.23/bin/startup.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is
3 matches
Mail list logo