Ticket #417 (closed defect: fixed)
Speech Submission Applet compiled with OpenJDK 1.6 not working with JRE 1.5 in Mac
Reported by: | kmaclean | Owned by: | kmaclean |
---|---|---|---|
Priority: | critical | Milestone: | SpeechSubmission 0.1.7 |
Component: | SpeechSubmission | Version: | SpeechSubmission0.1.5 |
Keywords: | Cc: |
Description (last modified by kmaclean) (diff)
User running Speech Submission applet in JRE 1.5 on FireFox? and Safari on Mac gets this error:
"java.lang'UnsupportedClassVersionError?: Bad version number in .class file"
Might need to compile Jar in 1.5 compatibility mode, or sign with jarsigner from JDK 1.5
Change History
comment:3 Changed 12 years ago by kmaclean
- Summary changed from Speech Submission Applet signed with JRE 1.6 not working with JRE 1.5 in Mac to Speech Submission Applet compiled with OpenJDK 1.6 not working with JRE 1.5 in Mac
comment:4 Changed 12 years ago by kmaclean
Need to set Eclipse JDK Java Compiler Compliance level to 5.0 (which corresponds to 1.5.0) rather than 6.0 (which corresponds to 1.6.0)
Note: See
TracTickets for help on using
tickets.
see this [java.lang.UnsupportedClassVersionError: Bad version number in .class file link]
resolution was: The compilation JRE and running JRE should be same.