wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes cann't find javax.ejb in jdk1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "cann Watch "cann New topic

cann't find javax.ejb in jdk1.4

sajjad ahmad
Ranch Hand

Joined: Jan 23, 2003
Posts: 75
i have installed jdk1.4 and set the classpath and path variables but when i try to compile following code
import java.rmi.RemoteException;
import java.rmi.Remote;
import javax.ejb.*;
public interface Demo extends EJBObject, Remote {

public String demoSelect() throws RemoteException;
it shows me the error that the peckage javax.ejb doesn't exist and cann't resolve the symbol EJBObject.
will somebody help me that y i m getting that errors and how can i get rid of them.
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
EJB is not part of J2SE, it is part of J2EE. All Application Servers come with a copy of the J2EE classes, you just have to know where to look.
What Application Server are you using?
wood burning stoves
subject: cann't find javax.ejb in jdk1.4
Similar Threads
Cannot resolve Symbol (EJB)
cann't understand this error plz help.
Compile time Error(EJB)
EJB Cmpilation+ JBoss
Does javax.ejb exists!!