• Post Reply Bookmark Topic Watch Topic
  • New Topic

here is an error when I load in javax.ejb.*;what can do??

 
Mianfei Xie
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my develop enviroment is windows. and the PATH=%JAVA_HOME%\bin;
and 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;

why?
who can tell me!!
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36027
432
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mianfei,
Which IDE are you using? Is j2ee.jar in the classpath?

For the future, note we have a forum for IDE questions.
 
Mianfei Xie
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeal.
I have used both eclipse and netbeans.
also ,in my classpath, it contains j2ee.jar;

but it cann't work .
that troubles me a long time.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!