For Programmers: Free Programming Magazines  


Home > Archive > Java Help > December 2004 > package javax.ejb does not exist









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author package javax.ejb does not exist
Xarky

2004-12-29, 8:58 am

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
Josh Martin

2004-12-29, 8:58 am

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@yahoo.com> wrote in message
news:bc42e1a.0412290007.5d0f07e5@posting.google.com...
> 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



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com