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 cann't find javax.ejb in jdk1.4 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 "cann Watch "cann New topic

cann't find javax.ejb in jdk1.4

sajjad ahmad
Ranch Hand

Joined: Jan 23, 2003
Posts: 78
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?
I agree. Here's the link:
subject: cann't find javax.ejb in jdk1.4
It's not a secret anymore!