|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - 64bit Environments Running an AMD64 or Xeon system? Of course Linux is ready for it - but if you have any questions feel free to ask in here! |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I used a "standard" installation, and included Apache, Tomcat, etc, but when I try to compile a servlet, I get this:
TestingServlet.java:1: package javax.servlet does not exist (same with just javax.*) my env's are: JAVA_BINDIR=/usr/lib64/jvm/java/bin JAVA_HOME=/usr/lib64/jvm/java JAVA_ROOT=/usr/lib64/jvm/java clearly I am missing something... where/what do I change? Thanks! I have (mis)spent most of my life in a much more... ummm.... "graphical" env, and am on uncertain footing... |
|
|||
|
This is not an x64 issue.
All you need to do is to specify tomcat's "servlet.jar" in classpath when you compile your servlet. I have a very bad memory, but you need to do something like this: javac -cp your/tomcat/lib/path/servlet.jar TestingServlet.java Or something of the like. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|