0

Even after setting all the paths correctly, I get an error saying the "setclasspath.sh" cannot be found.

I checked the directory and it was there.

I then changed the permissions using chmod +x setclasspath.sh but to no avail. I've changed the permissions of all the files inside the "bin" directory but it's not working.

Please help.

ash@Megadeth:~$ JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk
ash@Megadeth:~$ export JAVA_HOME
ash@Megadeth:~$ JRE_HOME=/usr/lib/jvm/java-1.6.0-openjdk/jre
ash@Megadeth:~$ export JRE_HOME
ash@Megadeth:~$ PATH=/usr/lib/jvm/java-1.6.0-openjdk/bin:$PATH
ash@Megadeth:~$ export PATH
ash@Megadeth:~$ CLASSPATH=$PATH:$CLASSPATH
ash@Megadeth:~$ export CLASSPATH
ash@Megadeth:~$ CATALINA_HOME=/home/tomcat/tomcat1
ash@Megadeth:~$ export CATALINA_HOME
ash@Megadeth:~$ cd tomcat/tomcat1/bin
ash@Megadeth:~/tomcat/tomcat1/bin$ ./startup.sh
Cannot find /home/tomcat/tomcat1/bin/setclasspath.sh
This file is needed to run this program
ash@Megadeth:~/tomcat/tomcat1/bin$

Edited by peter_budo: Formatted command line commands

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by slasherpunk
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.