johnome
asked on
What does this mean and how can i fix it. java.lang.ClassFormatError Bad magic Number
I'm trying to upload an applet to my page and I keep getting this error.
Could anyone please help me with this?
Thanks for your time
Could anyone please help me with this?
Thanks for your time
It means that your class file is probably corrupted. Can you recompile your applet and try again?
It coudl also mean that if you FTPed/dowanloadd the appelt from somewhere you got it in ASCII mode and not in binary mode.
ASKER
I've done that a few times so far. Does it have something to do with being in ascii or binary.?
ASKER
how would i convert it to binary ?
ASKER
how would i convert it to binary ?
ASKER
how would i convert it to binary ?
when you ftp, type "bin" before you send the applet
what java plug-in do you use?
did you compile your classes with the same java version?
did you compile your classes with the same java version?
ASKER
i use plugin 1.3 and i wrote the applet using jdk1.4.
try to recompile your calsses using jdk 1.3
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you applet only uses 1.1 features, you should compile with -target 1.1. It will work on both Netscape and Internet Explorer, with or without plug-ins.
It depends... If it's a JApplet it's not going to run without the plugin.
johnome:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
I should get the points. Anyone disagree?
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- Split points between girionis and yongsing
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
girionis
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
- Split points between girionis and yongsing
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
girionis
EE Cleanup Volunteer