File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes what's wrong with my ejb package?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what Watch "what New topic
Author

what's wrong with my ejb package??

Mianfei Xie
Greenhorn

Joined: Sep 15, 2006
Posts: 5
my develop enviroment is windows. and the PATH=%JAVA_HOME%\bin;
CLASSPATH=%JAVA_HOME%\lib(both the jdk1.5 and j2eesdk I have installed) ;

but the IDE often says it cann't find the javax.ejb.* packege;
(the IDE I have try both eclipse and netbeans)

why?
who can tell me!!
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

This is because in IDEs, they have their own classpath for a project. Meaning when you create the project, you have to add the libraries to the project's classpath to not get errors.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mianfei Xie
Greenhorn

Joined: Sep 15, 2006
Posts: 5
dear Mark:
thank you for your answer!! and I will try again right now
 
jQuery in Action, 2nd edition
 
subject: what's wrong with my ejb package??
 
Similar Threads
where is org/w3c/dom/ElementTraversal
here is an error when I load in javax.ejb.*;what can do??
Wrong java version!
Eclipse on Debian Sarge
Tomcat Problem