I am using ubuntu and I set my paths as follows:
JAVA_HOME=/usr/local/jdk1.6.0_24
export CLASSPATH=/usr/local/tomcat/lib
export JAVA_HOME
I thought I would put the servlet libraries in the compilation path, but I still get these compilation errors:
package javax.servlet does not exist
[javac] import javax.servlet.ServletException;
Any ideas how to fix this or what am I doing wrong? Usually Java libraries work fine.
source
share