File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Compiling Servlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compiling Servlets?" Watch "Compiling Servlets?" New topic

Compiling Servlets?

Hannah Redmond

Joined: Jul 18, 2001
Posts: 8
Hi there,
Ive just had to reinstall my computer, I had j2ee set up before, and working, so i was programing a couple of servlets.
I went back to try again today, and so I installed the jdk1.3.1 and j2ee 1.3 and now it wont compile. i think my autoexec.bat is ok, as i copied it from before my computer crashed (ie i have the path, J2ee_home and jave_home all sorted.
CAn anyone shed any light on why this isnt being recognised? I remember last time copying the j2ee.jar file somewhere but i dont know if that was for the server?�?!?
Thanks for your help,
hot coffee

Joined: Nov 28, 2001
Posts: 3
I am using JDK1.3, not J2EE JDK.
For JDK1.3, I had to download the Javax.* packages separately (not sure if they are included with J2EE). As long as you have servlet.jar in your classpath, compiling should be ok. servlet.jar also came with Tomcat.
Hope this helps
I agree. Here's the link:
subject: Compiling Servlets?
It's not a secret anymore!