This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, this is a pretty simple issue, i've installed tomcat, j2sdk on aonther pc, but cant compile my .java file because the compiler does not find the "javax" packages (no problem with java.sql, java.io, etc ).. i think i need to mover or copy a jar file but can't remember .....
Just as a reminder, you can set a CLASSPATH to point to directories, but the only classes that will be found are the "loose" (.class) files. JARs have to be mentioned explicitly by name.
Systems like Tomcat make that not obvious, because their startup scripts often have code in them that scoop up all the jars in a directory and add each on to the CLASSPATH. The java compiler ("javac") and "java" programs don't.
In Tomcat 4, the servlet defs were in %TOMCAT_HOME%\common\lib\servlet.jar. Where you set TOMCAT_HOME is your privilege.
Customer surveys are for companies who didn't pay proper attention to begin with.