1 Reply Latest reply on Dec 15, 2003 5:13 PM by Jon Barnett

    does any one know what environment variables needed fro jbos

    johnleonard Newbie

      I'm having problems compiling the java files the errors i keep getting are

      C:\Jboss\HelloEJB\com\java\ejb>javac -classpath *.java
      AdderBean.java:3: package javax.ejb does not exist
      import javax.ejb.SessionBean;
      ^
      AdderBean.java:4: package javax.ejb does not exist
      import javax.ejb.SessionContext;
      ^
      AdderBean.java:7: cannot resolve symbol
      symbol : class SessionBean
      location: class com.java.ejb.AdderBean
      public class AdderBean implements SessionBean
      ^
      AdderBean.java:25: cannot resolve symbol
      symbol : class SessionContext
      location: class com.java.ejb.AdderBean
      public void setSessionContext(SessionContext sc){}
      ^
      AdderHome.java:4: package javax.ejb does not exist
      import javax.ejb.CreateException;
      ^
      AdderHome.java:5: package javax.ejb does not exist
      import javax.ejb.EJBHome;
      ^
      AdderHome.java:7: cannot resolve symbol
      symbol : class EJBHome
      location: interface com.java.ejb.AdderHome
      public interface AdderHome extends EJBHome
      ^
      AdderHome.java:9: cannot resolve symbol
      symbol : class Adder
      location: interface com.java.ejb.AdderHome
      Adder create() throws RemoteException, CreateException
      ^
      AdderHome.java:9: cannot resolve symbol
      symbol : class CreateException
      location: interface com.java.ejb.AdderHome
      Adder create() throws RemoteException, CreateException
      ^
      9 errors