• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to compile EJB?

 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I received compile error "javax.ejb does not exist". I've aldy installed j2sdk and j2ee with required versions. Can anyone help me how to configure or any other procedures need to set up.

Thanks in advance.
 
Abhinav Anand
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You need to add the j2ee.jar into your classpath. This jar is present in the j2ee download from sun and can be found in the lib folder of the j2ee installation directory.

Hope it helps
 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
added the j2ee.jar file in classpath. but still have problem.

Any other alternatives??

Thks
 
Saket Barve
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sabeer,

This cannot be.

Maybe there is a typo, or maybe you didn't get the path properly. Have your classpath printed.

Regards,
Saket
 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all

It is working now...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!