The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
June 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Solution to your problem

Posted by Vivek Kumar on June 10, 2000 at 9:46 AM

Hi,
In your hard drive find where javax.ejb*.* is located.The find is zip file called javax.ejb.zip.Include this in your classpth and hopefully you program will compile

Cheers
Vivek

> Hi,

> MY PROBLEM

> i'm working with writing Enterprise Application(Monica Pawlan).
> When i try to compile Calc.java, CalcBean.java and CalcHome.java
> i get errors.

> THE ERRORS

> package javax.ejb.EJBobject not found in import.
> package javax.ejb.EJBHome not found in import......

>
> COMPILE BATCH

> cd e:\j2ee\clientcode
> set J2EE_Home=e:\j2ee\j2sdkee1.2.1
> set CPATH=.;%J2EE_HOME%\lib\j2ee.jar
> javac -d . -classpath %CPATH% /beans/Calc.java

>
> any help reg. above is appreciated

> Thanx in advance

> HAND
> Sree






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us