Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling Servlets?

 
Hannah Redmond
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Hannah
 
hot coffee
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic