 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Xarky Guest
|
Posted: Wed Dec 29, 2004 8:07 am Post subject: package javax.ejb does not exist |
|
|
Hi,
I am trying to learn Enterprise programming and is trying to
compile a small program. I have downloaded the J2EESDK from the Sun
site. I am trying to compile the program, but the error mentioned
above is being reported.
I think my problem is in the environment variables. Can someone tell
which filepaths do I have to specify and with what names.
Thanks in Advance for your help
|
|
| Back to top |
|
 |
Josh Martin Guest
|
Posted: Wed Dec 29, 2004 8:19 am Post subject: Re: package javax.ejb does not exist |
|
|
You have to make sure that JAR file is in your classpath. A lot of ways to
do that:
Windows/Linus: Set %CLASSPATH%/$CLASSPATH (respectively)
or...
java -cp <put the jar file here> YourTestClass
"Xarky" <bernardpace (AT) yahoo (DOT) com> wrote
| Quote: | Hi,
I am trying to learn Enterprise programming and is trying to
compile a small program. I have downloaded the J2EESDK from the Sun
site. I am trying to compile the program, but the error mentioned
above is being reported.
I think my problem is in the environment variables. Can someone tell
which filepaths do I have to specify and with what names.
Thanks in Advance for your help
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|