Java Linux problem or Java problem?
On 05/05/2012 01:30 AM, Niels Thykier wrote:
On May 5, 2012 00:38 "bilsch"<king621@comcast.net> wrote:
[...]
TIA Bill S.
Hi,
HERE'S THE ERROR OUTPUT:
run:
Exception in thread "main" java.lang.VerifyError: Constructor must
call
super() or this() before return in method Nvr1.<init>()V at offset 0
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.ja va:2442)
at java.lang.Class.getMethod0(Class.java:2685)
at java.lang.Class.getMethod(Class.java:1620)
at sun.launcher.LauncherHelper.getMainMethod(Launcher Helper.java:488)
at
sun.launcher.LauncherHelper.checkAndLoadMain(Launc herHelper.java:480)
Java Result: 1
[...]
Looks like the byte-code verification fails. If it was compiled with
an older version of Java, it is possible that the new version is more
strict (or maybe it has a bug - not sure).
I think you're right. I made changes to my PATH variable. Problem has
gone away for the present time. Thank you.
Try recompiling the Java file with the same version of Java as you are
using to run it.
~Niels
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jo4ags$csb$1@dont-email.me">http://lists.debian.org/jo4ags$csb$1@dont-email.me
|