This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes package not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "package not found" Watch "package not found" New topic
Author

package not found

deepak borole
Greenhorn

Joined: Nov 13, 2005
Posts: 25
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.


Winners Dont Do Different Things, They Do Things Differently !!!
Raymond Villeno
Ranch Hand

Joined: Jun 21, 2005
Posts: 63
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!



"Work Smart Not Hard"
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20271
    ∞

Do you have a j2ee.jar somewhere? That's the standard stuff from sun. You would put that filename in your classpath.


permaculture Wood Burning Stoves 2.0 - 4-DVD set
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: package not found
 
Similar Threads
redirects in webserver when contex root /
Servlet creation
about tomcat
Websphere to connect to remote MQ
could help me please