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


Vivian Ryder

Joined: Nov 12, 2004
Posts: 20
I just downloaded the latest jdk (5.0, the whole J2EE bundle). But when I tried to compile a servlet, javac could not find the javax package. Can someone please tell me where should I place the jar files from javax (which directory)? Thank you.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

For compiling, you just need to make sure it's on your classpath.

[Asking smart questions] [About Bear] [Books by Bear]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

This FAQ entry might help:

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: j2ee.jar
It's not a secret anymore!