I am using ubuntu and I have set my paths to be the following:
JAVA_HOME=/usr/local/jdk1.6.0_24
export CLASSPATH=/usr/local/tomcat/lib
export JAVA_HOME
I thought that would put the servlet libraries in the compile path, but I am still getting compile errors like this:
package javax.servlet does not exist
[javac] import javax.servlet.ServletException;
Any ideas how to fix this or what I am doing wrong? The general Java libraries seem to be working fine.