Results 1 to 8 of 8
Thread: Help java script error
- 08-20-2009, 03:59 AM #1
Member
- Join Date
- Aug 2009
- Posts
- 4
- Rep Power
- 0
Help java script error
I oekaki a lot, or draw online with applets like shi painter and etc and they aren't loading up for me. I keep getting this error message.
Java Plug-in 1.6.0_14
Using JRE version 1.6.0_14-b08 Java HotSpot(TM) Client VM
User home directory = C:\Users\Robin
--------------------------------------…
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 1014199417 in class file c/ShiPainter
at java.lang.ClassLoader.defineClass1(Nativ… Method)
at java.lang.ClassLoader.defineClass(Unknow… Source)
at java.security.SecureClassLoader.defineCl… Source)
at sun.plugin2.applet.Applet2ClassLoader.fi… Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.lo… Source)
at sun.plugin2.applet.Plugin2Manager.create… Source)
at sun.plugin2.applet.Plugin2Manager$Applet… Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 1014199417 in class file c/ShiPainter
If I could PLEASE have a step by step process on how to fix it.
- 08-20-2009, 04:08 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
ClassFormatError, can you show your code here? This is kind of a linkage error, JVM tries to link a class file, but recognized it's not in the correct format.
- 08-20-2009, 04:15 AM #3
Member
- Join Date
- Aug 2009
- Posts
- 4
- Rep Power
- 0
- 08-20-2009, 04:26 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Did you run a jar file? Or how you get this error? Is this your application?
- 08-20-2009, 04:28 AM #5
Member
- Join Date
- Aug 2009
- Posts
- 4
- Rep Power
- 0
Well I was opening shi painter which is an online drawing application. It's meant for sites like Oekaki central and other such sites, and when I tried to draw the application that I was using needs java to run. But before java finishes loading it tells me there's an error and to click for details which I do but then it simple gives me that and nothing else.
- 08-20-2009, 04:37 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Okay, seems to me that application have an issue, or may be the JRE version is not compatible. Is that application mentioned about any requirements to run it? Because the version you've in your PC is not the latest.
Check that in your C drive is there any class file is created.
- 08-20-2009, 04:56 AM #7
Member
- Join Date
- Aug 2009
- Posts
- 4
- Rep Power
- 0
ugh I'm sorry. I have no idea what you just said, I know that shi painter needs javascript to run and I have java and I just got into my C: drive but I have no idea what to look for.
- 08-20-2009, 05:23 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Okay, first thing I've say here is Java and JavaScript are completely different languages, or different technologies. But seems to me your application needs Java, not JS. Because that error message you post here from the Java console. You copied them from a pop-up dialog/window when the application is executed, isn't it?
Can you send the link you've done all those things?
Similar Threads
-
run a matlab script from java
By npoorni in forum Advanced JavaReplies: 5Last Post: 02-11-2010, 03:32 PM -
java script
By satti in forum Web FrameworksReplies: 0Last Post: 06-09-2009, 08:53 AM -
'Permission denied' java script error
By java08 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 04-13-2009, 08:19 AM -
run perl script from java
By maheshmhs in forum New To JavaReplies: 0Last Post: 12-19-2008, 12:40 PM -
Java Script comes with No proper error message in the Alert box in Struts.
By anandguna in forum Advanced JavaReplies: 4Last Post: 07-31-2008, 01:43 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks