- This topic has 4 replies, 3 voices, and was last updated 14 years, 2 months ago by Brian Fernandes.
-
AuthorPosts
-
Srinivasa RagavanParticipantAfter upgrading TO 8.6, NOT able to create or work with existing reports.
Always getting java.lang.UnsupportedClassVersionError: Bad version number in .class file.This is happening when I tried to create a report with 1.6 JDK as well as 1.5 JDK and even for a report from scratch. I believe this issue has been reported already but no solutions yet.
Also tried to swich the compiler level of project as well as workspace between 1.5 and 1.6 but always throws same error.
Could you please let us know when would we expect a solution for this issue as this is a fatal error and not able to work on any reports.
If you have any workaround asap until permanent fix is available, would be very helpful.
Awaiting for your solution.
– Rags.
support-joyMember
Srinivasa RagavanParticipantHi
I beleive the above 2 postings talk about generic unsupportedclassversion error. As I explained in my first message, this situation happens while creating new birt report irrespective of JDK version you choose in your workspace.
This is not happening in 8.0 version of MyEclipse.Please refer the following posting, as someone else also getting same error in 8.6 version of MyEclipse.
Hope your team is aware of this issue.https://www.genuitec.com/forums/topic/java-lang-unsupportedclassversionerror-bad-version-number-i/
– Rags
Brian FernandesModeratorRags,
The issue that we are aware of is a problem with servers running on JDK 1.5 instead of 1.6. To explain further – Create a report project in 8.5 or 8.6. Deploy it to any server. On starting the server, you will see “java.lang.UnsupportedClassVersionError: Bad version number in .class file.” only if the server is running with JDK 1.5. If the server runs with JDK 1.6 (you can change this on the server’s JDK preference page) then there are no issues. The workaround here would be to simply make sure you run your server with JDK 1.6. We are working on a solution that will allow you to use this project with JDK 1.5 as well.
I am not aware of any problems creating a reports project in 8.6. Could you please tell me exactly at what point you see this error and where you see it (error dialog, problems view, console)? Do you simply invoke the New Report Wizard, type in a project name, click finish and see this error?
Brian FernandesModeratorRags,
A workaround for the issue reported in the other thread is here: https://www.genuitec.com/forums/topic/myeclipse-8-5-8-6-compatibility-with-servers-running-java-5/
I believe you have the same problem, do let us know if you still need assistance.We appreciate your support, sorry for the inconvenience caused.
-
AuthorPosts