Re: need help
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 31 Oct 2006 12:14:08 GMT
On 31 Oct 2006 03:55:46 -0800, mustapha wrote:
while trying to execute a java program I got this execption:
Exception in thread "main" java.lang.NoClassDefFoundError:
epsontest/EpsonTest
Don't specify individual classfiles in the classpath argument. Specify
the root of your package structure instead, i.e. /home/elec. There is
no need to specify jarfiles that already belong to the JVM, or
anything from the extension directory either.
Also, there is no need for *any* of the "quotation marks" in your script.
Quotation marks are only necessary to protect spaces or other
characters that have special meaning to the shell.
Probably this is sufficient to run your program:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/bin/java -classpath /home/elec epsontest.EpsonTest
/gordon
--
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.
- References:
- need help
- From: mustapha
- need help
- Prev by Date: need help
- Next by Date: Re: JDOM
- Previous by thread: need help
- Next by thread: Re: need help
- Index(es):
Relevant Pages
|