Deploying EJBs - simple(?)
1 posts in topic
Flat View  Flat View

Posted By:   andrew_boddy
Posted On:   Thursday, February 21, 2002 01:34 AM

I am trying to compile my first EJB:

C:>javac "c:ejbtutpropsPropsHome.java"

but get the error:

"...package javax.ejb does not exist"

So I checked that C:j2sdkee1.3 is in my path... is this not enough for the compiler to find the jar file?

with thanks, Andy

Re: Deploying EJBs - simple(?)

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, February 21, 2002 05:33 AM

no. your jar file needs to be in the classpath, not the path to the jar file. so if your ejb.jar file is in c:j2sdkee1.3 you classpath should have c:12sdkee1.3ejb.jar not just c:j2sdkee1.3.
About | Sitemap | Contact