problem starting Tomcat web server in Ubuntu.
Hi every one,
I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as
'/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'
I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.
I have set JAVA_HOME varible as
'/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'
line 41 is '. setJava --devel Java2'
Could anyone help me to solve this issue?
And Thanks in advance
-Jegan
I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as
'/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'
I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.
I have set JAVA_HOME varible as
'/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'
line 41 is '. setJava --devel Java2'
Could anyone help me to solve this issue?
And Thanks in advance
I use Ubuntu OS.I have installed J2sdk.I want to start tomcat webserver but whenever i start the server I get an error as
'/usr/share/tomcat/bin/catalina.sh: line 41: setJava: No such file or directory'
I tried removing the line, to find out the cause of that error.When I removed line 41 , it showed JAVA_HOME variables not set.
I have set JAVA_HOME varible as
'/usr/lib/j2sdk1.5-sun/bin/javac/usr/lib/j2sdk1.5-sun/bin/'
line 41 is '. setJava --devel Java2'
Could anyone help me to solve this issue?
And Thanks in advance