|
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Peter Dow
Sent: Monday, July 18, 2011 7:41 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: NoSuchMethodError because of signature?
I the "oops" back -- apparently either way works:
public static void main (String argv[]) or public static void main
(String[] argv)
The problem was the square brackets or whatever x'dd' and x'a8' are.
However, the NoClasDefFoundError remains:
qsh cmd('java -classpath $CLASSPATH testjava.class')
Exception in thread "main" java.lang.NoClassDefFoundError:
testjava.class Caused by: java.lang.ClassNotFoundException:
testjava.class
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)
After some googling I thought I had it because the testjava.class file's
authority was *RW, but I got the same error after changing it to *RWX.
Peter Dow
Dow Software Services, Inc.
pdow@xxxxxxxxxxxxxxx
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.