Re: Not able to run program
- From: "Rhino" <no.offline.contact.please@xxxxxxxxxx>
- Date: Sun, 30 Apr 2006 14:16:50 -0400
<tgranath@xxxxxxxxx> wrote in message
news:1146416709.486389.218390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
My computer run Windows XP, and I've set a Classpath that looks like
this:
C:\DJGPP/bin;C:\Program Files\Java\jdk1.5.0_06/bin
Is this correct?
I don't like the look of those mixed slashes and backslashes. You should at
least be consistent in which you use. Fix that and try executing the class
again before you do anything else.
I can compile but not run the programs that I'veThat's a very common error message and can be caused by any number of
written. I get the errormessage
"Exception in thread main java lang NoClassDefFoundError:" Can someone
help me please.
conditions. Roedy Green's site, http://mindprod.com, has an article listing
many of the possible causes. Just search on NoClassDefFoundError when you
get there.
If fixing the slashes and looking up the error on Roedy's site don't help
you solve your problem, try posting again but this time be sure to tell us
more about the placement of your source code and where the class file is
supposed to be generated as well as any package names you are using. It's
very possible that you are using a package name and then trying to execute
from the wrong directory.
--
Rhino
.
- References:
- Not able to run program
- From: tgranath
- Not able to run program
- Prev by Date: Not able to run program
- Previous by thread: Not able to run program
- Index(es):
Relevant Pages
|