File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Compiling EJBs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Compiling EJBs" Watch "Compiling EJBs" New topic

Compiling EJBs

Jaffery Rab
Ranch Hand

Joined: Jan 18, 2002
Posts: 36
I am new guy in EJB world and just try to run and deploy first EJB's application in J2EE application server. I got the problem that how can I compile my EJB throgh javac.....I read the same issue at matter of fact I set my class path and everything but error message is

and my code was

I think I got the problem with javax package cause even I can't be able to compile my servlets can I solve that problem please help
Irfan JaffreyCODE] [/CODE]
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 264
u download the j2sdkee1.3.1 from u set the classpath like this
set JAVA_HOME=c:\jdk1.3
set J2EE_HOME=c:\j2sdkee1.3.1
set CPATH=.;c:\j2sdkee1.3.1\lib\j2ee.jar
set CPATH=.;c:\j2sdkee1.3.1\lib\locale
then u can compile ur ejb program.
I agree. Here's the link:
subject: Compiling EJBs
Similar Threads
Help with interface
Why is it giving "package does not exist error"
Help with interface
First Program in HF
EJB Home interface