Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / July 2005

Tip: Looking for answers? Try searching our database.

j2ee installation help windowsxp

Thread view: 
xarora - 27 Jul 2005 17:03 GMT
Hello,

I had j2se and j2re already installed on my system (windows xp).

Now I downloaded j2EE1.4 with Sun Application Server 8.1 pack. So, it
is an all in one bundle which comes with j2se 5 and j2ee 1.4 sdk , sun
application server, point base database server etc.
I downloaded that from here
http://java.sun.com/j2ee/1.4/download.html#sdk

I am using JCreator LE version IDE for java development. And it has
been working perfectly fine.

Anyway, after downloading J2EE, I made a simple file Monkey.java (and
it uses packages import javax.servlet.* etc) But it won't compile. It
keeps giving me error that package javax.servlet.* not found.

I am told that to write servlet programs, you need to download J2EE
(and I already did that!) What did I do wrong ?

Help would be greatly appreciated.

Thanks.
Remi Arntzen - 29 Jul 2005 18:03 GMT
I had the same problem.

If you are not using an IDE it is much more of a hassel.

all you have to do is set the classpath to point to:
\AppServer\lib\j2ee.jar
or whatever your j2ee directory is.

However, while importing j2ee.jar will cover most of the classes you
would need to use, you may need to add some of the other jar files onto
the classpath.

should work... good luck.
xarora - 29 Jul 2005 21:39 GMT
Thanks!! Works.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.