This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Consider Paul's rocket mass heater.
subject: Compiling Servlets?
Similar Threads
accessing servlets in j2ee
System requirement for Solaris
SCJD submitted - where next?
to start with servlets do i need to install j2ee jdk just like i had j2se jdk on my pc ?
New to JSF