Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Everything seems to be installed correctly, but Java's not running properly. The console shows:
Code:
Java Plug-in 1.6.0_10
Using JRE version 1.6.0_10 Java HotSpot(TM) Client VM
User home directory = /home/ishyhere
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file jreCheck
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:192)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:632)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file jreVerify
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:192)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:632)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "AWT-EventQueue-2" java.lang.IllegalThreadStateException: forbid thread creation in disposed TG
at sun.plugin.security.ActivatorSecurityManager.checkAccess(ActivatorSecurityManager.java:155)
at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:288)
at java.lang.Thread.init(Thread.java:332)
at java.lang.Thread.<init>(Thread.java:433)
at java.awt.EventDispatchThread.<init>(EventDispatchThread.java:58)
at java.awt.EventQueue$1.run(EventQueue.java:822)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.EventQueue.initDispatchThread(EventQueue.java:819)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:153)
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file testvmDynamicJavaComPopUp819
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:192)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:632)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file testvmDynamicJavaComPopUp819
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:192)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:632)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file testvmDynamicJavaComPopUp819
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:192)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:127)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:632)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2302)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)
I don't know how to read that stuff properly. Can someone help me figure this out?
Incompatible magic value 1013478509 in class file jreCheck
You have a file named jreCheck.class (possibly inside a Jar file) that is for a later Java version than the JVM that you are trying to use to run it.
This may mean that you have multiple java executables installed; try removing any that are for a version below 1.6.
To find out what the Java version you are actually running is, can you please run the following from a terminal and post the results? <code>which java
java --version</code>
It would help if you provided more information about the problem and your system.
Are you really still using Ubuntu 7.1?
Did you check with Google at all?
How do you know that "everything seems to be installed correctly"?
I'm using Ubuntu 8.04.
The reason I say it seems to be installed correctly is that I have the same things installed on my laptop as are installed on that system and it's running well. Also "Enable Java" shows up in the Preferences as an option.
Incompatible magic value 1013478509 in class file jreCheck
You have a file named jreCheck.class (possibly inside a Jar file) that is for a later Java version than the JVM that you are trying to use to run it.
This may mean that you have multiple java executables installed; try removing any that are for a version below 1.6.
To find out what the Java version you are actually running is, can you please run the following from a terminal and post the results? <code>which java
java --version</code>
Well this is certainly an interesting post. I think you wanted to have the following for the commands.
Code:
which java
java -version
Quote:
Originally Posted by Ishkabibble
I'm using Ubuntu 8.04.
Okay. That's good.
I'm running *buntu 8.04 and Java 1.6.0.14 that lives at /usr/lib/java-6-sun-1.6.0.14. The executable is jre.
I am ALSO running kaffe 1.4.2 which lives at /usr/bin. The executable is named java.
The two seem compatible. OOo sees the genuine Sun Java while everything else sees the kaffe imposter.
Quote:
Originally Posted by Ishkabibble
The reason I say it seems to be installed correctly is that I have the same things installed on my laptop as are installed on that system and it's running well. Also "Enable Java" shows up in the Preferences as an option.
As rjlee implies by asking you to run 'which java' and 'java -version' you may not have exactly what you think you have. My *buntu systems started out with messed up Java. I tried a bunch of things before I got it to settle down and work. I don't remember exactly what I did but it involved removing this and installing that and yada yada yada until it just started to work.
Do the two commands that rjlee specified and post the results. Please.
Last edited by stress_junkie; 07-18-2009 at 07:16 PM.
The media site www.ninjavideo.net uses a java applet to setup a secure downloader. This fails under Firefox 3.5
The ninjavideo's user shockdiode's solution is ...
sudo apt-get remove icedtea6-plugin
sudo apt-get install sun-java6-plugin
Afterward you still have ...
java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11)
OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)
Note: If you don't have it, the sun-java6-plugin will automatically install Firefox 3.0 - don't worry about it; the security applet will work even if it's started from Firefox 3.5
Ishkabibble - I have no idea if this has anything to do with your problem. But maybe?, I hope.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.