Re: need help



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
.



Relevant Pages

  • SUMMARY: su - ; m -rf *
    ... Too many to fully specify auhtors. ... to block accidental recursive removing of whole filesystem by root. ... issuing the command. ... I type 'pwd' more times than I can count, ...
    (SunManagers)
  • RE: HP Netserver RAID Controller + FreeBSD 4.10 problem
    ... specify the root partition, it's because the kernel can't find the root ... > I have installed FreeBSD,> but I am hitting a snag: When I boot up the box, it refuses> to automount ... > have even compiled a kernel with support for "amr". ...
    (freebsd-questions)
  • Re: E-mails With Images
    ... Ivan wrote: ... Looking at other posts I need to specify the root to the image like ...
    (comp.sys.ibm.as400.misc)
  • Re: how to limit user to use "su"?
    ... You can specify sugroups in the definition for root or other users. ... would mean that only users in the specified groups could su to that user. ...
    (AIX-L)
  • Re: "mount" as a user
    ... > specifying 'user' and my own username like this: ... > I'll have to play around with other file systems, like NFS, and see what ... You can specify User and Group ownership by ... So it's at least only readable by root. ...
    (Fedora)