hello,
i just installed
j2ee 1.3.1 and j2se sdk 1.4
now im trying to compile, first time after installation, but having error
javac cant seem to find javax.ejb package
most likely problem on paths, but i cant find javax in any folder
comments please on what i have to do....
currently, my env vars are
---
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\j2sdk1.4.2_08\bin
java_home=c:\j2sdk1.4.2_08
j2ee_home=c:\j2sdkee1.3.1
---
heres the dump
---
C:\angeles jesus mobile\home laptop\learning
java scbcd\head first book\work\pro
jects\advice\src>javac -d ../classes headfirst/*.java
headfirst/Advice.java:3: package javax.ejb does not exist
import javax.ejb.*;
^
headfirst/Advice.java:6: cannot resolve symbol
symbol : class EJBObject
location: interface headfirst.Advice
public interface Advice extends EJBObject {
^
headfirst/AdviceBean.java:3: package javax.ejb does not exist
import javax.ejb.*;
^
headfirst/AdviceBean.java:5: cannot resolve symbol
symbol : class SessionBean
location: class headfirst.AdviceBean
public class AdviceBean implements SessionBean {
^
headfirst/AdviceBean.java:22: cannot resolve symbol
symbol : class SessionContext
location: class headfirst.AdviceBean
public void setSessionContext(SessionContext ctx) {
^
headfirst/AdviceHome.java:3: package javax.ejb does not exist
import javax.ejb.*;
^
headfirst/AdviceHome.java:6: cannot resolve symbol
symbol : class EJBHome
location: interface headfirst.AdviceHome
public interface AdviceHome extends EJBHome {
^
headfirst/AdviceHome.java:8: cannot resolve symbol
symbol : class CreateException
location: interface headfirst.AdviceHome
public Advice create() throws CreateException, RemoteException;
^
8 errors
---
[ June 11, 2005: Message edited by: Jesus Angeles ]