aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes can't find javax.ejb.* 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 "can Watch "can New topic
Author

can't find javax.ejb.*

Nizan Horsefield
Ranch Hand

Joined: Jun 05, 2001
Posts: 42
Hello again, hope you can help!
I have just started working with EJB's and have come across a stumbling block. I have installed, JDK J2SE and then J2EE as per instructions. I use Forte CE as my IDE. When I add the import statements, Forte cannot find javax.ejb!
It can find servlet, swing, microedition, naming, and accesibility.
I know that it is not using J2ME to compile as I have told it not to.
Can some please tell me why this might be happening as it is hampering my progression!
Cheers
Niz


Nizan Horsefield<BR>Sys Eng Internet Services<BR>Citibank
sanjay kumaresan
Greenhorn

Joined: Jun 29, 2001
Posts: 8
Hi
You have to set the classpath as follows
Goto Dos prompt,
Type the following commands
set classpath=c:\j2sdkee1.x.x\lib\j2ee.jar;
set path=c:\j2sdkee1.x.x\bin;
Now try to compile your application it will compile.
The following steps for j2sdkee.
Definitely it will work. Even any problem you can contact me.

Email: sanjaykumaresan@rediffmail.com

Yahoo messanger id: sanjaykumaresan
Best of luck
M.Sanjay
vierycn lee
Greenhorn

Joined: Aug 28, 2001
Posts: 2
Add j2ee.jar in you enviroment variable CLASSPATH.
Nizan Horsefield
Ranch Hand

Joined: Jun 05, 2001
Posts: 42
Unfortunatelt I have already set these env. variables on my PC. The EJB classes that I am writing compile fine from the DOS prompt. It is only from within Sun's IDE Forte, that I cannot get to javax.ejb.*.
Any ideas?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can't find javax.ejb.*