• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

installation guide

 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got compile error "package javax.ejb doesnot exist". I 've aldy installed the j2ee. I just passed the SCJP and just kicked off for SCBCD. I am using HF EJB book. I followed the 5 steps to create EJB in chapter-1. But I got error on compilation.

Pls help me where am wrong or where I missed something....

Thks.
 
Saket Barve
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please include the j2ee.jar in your path before compiling the files. You'll get the jar in the server your are using to deploy the bean in.

Regards,
Saket
 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please explain me in details?
 
Abhinav Anand
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Try this thread.

http://www.coderanch.com/t/316223/EJB-JEE/java/compile-EJB
 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls explain me how to configure EJB? am getting compile error "package javax.ejb does not exist". Aldy added /lib/j2ee.jar file in classpath. Error still there? Do I need to start the server before compile the java file?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic