Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Fsylvia  
#1 Posted : Wednesday, March 17, 2010 6:06:41 AM(UTC)
Fsylvia

Rank: Newbie

Groups: Member
Joined: 3/15/2010(UTC)
Posts: 1

Hi,

I have been trying to get ImageUploader java applet to load in FireFox, but it fails with the below exception :

Code:
Java Plug-in 1.6.0_16
Using JRE version 1.6.0_16-b01 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\fsylvia
----------------------------------------------------
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
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 com/aurigma/imageuploader/ImageUploader
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file com/aurigma/imageuploader/ImageUploader



I have tested if java is correctly installed, and enabled, etc: as per the instructions in http://www.java.com/en/download/help/testvm.xml.

Also the applet properties are set to:

Code:
iu.javaAppletJarFileName = "ImageUploader6.jar";				
iu.javaAppletCodeBase = "./";


where the jar is in the same folder as the jsp having the ImageUploader script.


I am using FireFox 3.6, with java 6 Update 17. ImageUploader version is : 6.1.4.0. The same exception also occurs on another machine with FireFox 3.5.5, java 6 Update 16. However, the applet loads fine in a third machine, which has FireFox 3.5.5 and Java 5 update 16.

Appreciate any help on this.
Thanks.






Fedor  
#2 Posted : Wednesday, March 17, 2010 6:28:56 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,556

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
Please check this post:

View post
Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.