Ticket #417 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

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:1 Changed 12 years ago by kmaclean

see this [java.lang.UnsupportedClassVersionError: Bad version number in .class file link]

resolution was: The compilation JRE and running JRE should be same.

comment:2 Changed 12 years ago by kmaclean

  • Description modified (diff)

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)

comment:5 Changed 12 years ago by kmaclean

  • Status changed from new to closed
  • Resolution set to fixed

comment:6 Changed 12 years ago by kmaclean

recompiled jar with Eclipse JDK Java Compiler Compliance level set to 5.0

Note: See TracTickets for help on using tickets.