|
You're right - it doesn't look like very much detail there. Try specifying
/home/pdow explicitly in the classpath.
HTH,
Gary
-----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l- bounces@xxxxxxxxxxxx] On Behalf Of Peter Dow Sent: Tuesday, July 19, 2011 10:35 AM To: java400-l@xxxxxxxxxxxx Subject: Re: NoClassDefFoundError: testjava.class I was wondering if there was a way to see more detail. Here's the results -- it seems to find everything except testjava: clas load: java/lang/Object...
class load: java/util/LinkedList$Entry
class load: java/util/HashSet
class load: java/lang/LinkageError
class load: java/lang/NoClassDefFoundError<=========ERROR
Exception in thread "main" java.lang.NoClassDefFoundError: testjava
Caused by: java.lang.ClassNotFoundException: testjava
at java.net.URLClassLoader.findClass(URLClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:639)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:605)
class load: java/util/AbstractList$Itr
class load: java/util/IdentityHashMap$KeySet
class load: java/util/IdentityHashMap$IdentityHashMapIterator
class load: java/util/IdentityHashMap$KeyIterator
class load: java/io/DeleteOnExitHook
class load: java/util/HashMap$KeySet
class load: java/util/HashMap$HashIterator
class load: java/util/HashMap$KeyIterator
--*
Peter Dow*/
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx<mailto:pdow@xxxxxxxxxxxxxxx> /
On 7/19/2011 2:47 AM, Gary L Peskin wrote:
Assuming that testjava.class is in /home/pdow, I'd add the -verbose:class
argument so you can see what's happening during the classloading.--
qsh cmd('java -classpath $CLASSPATH -verbose:class testjava')
Gary
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.