I changed my CLASSPATH and JAVA_HOME variable to something like this
JAVA_HOME=/usr/local/jdk1.6.0_24 export CLASSPATH=$CLASSPATH:/usr/local/tomcat/lib export JAVA_HOME
And when I try to compile, the path in the CLASSPATH variable still does not seem to be recognized. I either set the paths awkwardly or need to reboot.
Does what I did look right or is it somehow way off? Should I try rebooting or is there some more obvious mistake in what I am doing?
Here are the compile errors:
package javax.servlet does not exist [javac] import javax.servlet.ServletException;