• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package not found

 
deepak borole
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a XP machine. i have installed j2eesdk-1_4_02-2005Q2-windows on my machine. it has been installed in c drive in sun folder. how to set the class path because i am gettin error in compiling a servlet which contains import javax.servlet.* and compiler is not finding the package.
 
Raymond Villeno
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javax.servlet.* package is I think is in a web container/server library try looking for it in web container such as tomcat and the likes... and servlets are compiled by web containers you can compile those but you have to edit your classpaths first..

Cheers!

 
paul wheaton
Trailboss
Pie
Posts: 21665
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a j2ee.jar somewhere? That's the standard stuff from sun. You would put that filename in your classpath.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic