Issue1527549
Created on 2006-07-24.04:12:18 by anonymous, last changed 2006-09-07.20:45:34 by otmarhumbel.
Messages | |||
---|---|---|---|
msg1178 (view) | Author: Nobody/Anonymous (nobody) | Date: 2006-07-24.04:12:18 | |
johan@basis:~/Desktop/jython$ java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) johan@basis:~/Desktop/jython$ java jython_21 Exception in thread "main" java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file jython_21 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) johan@basis:~/Desktop/jython$ uname -a Linux basis 2.6.15-26-k7 #1 SMP PREEMPT Mon Jul 17 20:36:04 UTC 2006 i686 GNU/Linux |
|||
msg1179 (view) | Author: Nobody/Anonymous (nobody) | Date: 2006-08-30.08:00:19 | |
Logged In: NO I got the same error. However, when investigating it a bit further I saw that the python_21.class was actually a html file. When one use "save as" for the download link, that is what happens. The html file is saved. One gets fooled doing so, since the browser wants to launch the class as an applet. |
|||
msg1180 (view) | Author: Charlie Groves (cgroves) | Date: 2006-09-06.23:55:28 | |
Logged In: YES user_id=1174327 Is there any reason to leave this open since the installer is now a jar file? This will probably keep browsers from downloading it as a html file. |
|||
msg1181 (view) | Author: Oti Humbel (otmarhumbel) | Date: 2006-09-07.20:45:34 | |
Logged In: YES user_id=105844 You are right - there is no reason. Thanks! |
History | |||
---|---|---|---|
Date | User | Action | Args |
2006-07-24 04:12:18 | anonymous | create |
Supported by Python Software Foundation,
Powered by Roundup