aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Getting Eclipse to work with J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Getting Eclipse to work with J2EE" Watch "Getting Eclipse to work with J2EE" New topic
Author

Getting Eclipse to work with J2EE

Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
Hi,

Im trying to import a J2EE project into Eclipse, but I get a lot of errors
which (I think) is because my eclipse is set up to using J2SE. I've got
J2EE installed in C:\Sun\AppServer.

Alot of errors are regarding the javax.jms (can not be found).

In the preferences menu I've changed the "JRE_LIB" variable to
c:\Sun\AppServer\jdk\jre\lib\rt.jar

Do I need to add anything else?

Thanks in advance,

/Svend Rost
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30973
    
159

Svend,
You need to have two separate entries in your classpath. The original JRE_LIB covers core Java. Then you can add a new classpath entry/variable for J2EE.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
Hi Jeanne,

thanks for your reply.

I've added the new entry, and the errors are gone

Thanks.

/Svend Rost
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting Eclipse to work with J2EE