I am trying to follow some good-practice methods and not place the servlet jars into the java install.

Instead what I am hoping to do is figure out the correct way to point to the servlet jars.

If my tomcat jars are in /urs/local/tomcat/lib - how should I configure it so my Ubuntu actually understands to look for those libraries there when I try to compile stuff? :)

Thanks, Alex

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

into catalina.sh you can set the CLASSPATH a different option is to set it into your .profile | .bash_profile | .bashrc

sh syntax
export CLASSPATH=$CLASSPATH:/urs/local/tomcat/lib

to compile use the sh option and then issue javac .... here is not ubuntu who needs to understand but rather the java compiler (javac)

link|improve this answer
is syntax some script that I need to edit? Where is it usually located? – Genadinik Apr 11 '11 at 16:58
in linux open a command line terminal – silviud Apr 12 '11 at 18:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.