Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Peter Hewitt

Greenhorn
+ Follow
since Apr 28, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Peter Hewitt

I use jsvc on Debian, can't remember where I got my tomcat start script, but in mine it includes additional jars in the classpath. I think you need tools.jar for tomcat to be able to compile jsps.

...
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar
...
jsvc -cp $CLASSPATH ...
16 years ago