mfassbender Posted October 23, 2007 Share Posted October 23, 2007 I have developed some reports with iReport 2.0.1 which use barcode fields (Code128 option). Within iReport they work fine. Now I have transferred the reports to my application together with the iReport.jar file. When running, I get the following exception:java.lang.UnsupportedClassVersionError: it/businesslogic/ireport/barcode/BcImage (Unsupported major.minor version 49.0)Can anyone please tell me which is the supported version or how I could fix the problem? Best regards mfassbender Link to comment Share on other sites More sharing options...
croutledge Posted December 6, 2007 Share Posted December 6, 2007 Was a solution found for this? I'm hitting this problem as well. I have created a report in iReport using the latest Java version. the report is a simple test with a barcode on filled with from a DB field. In iReport the preview works fine. I'm now using this in a Application on Websphere and i'm getting this error. I know the project is set to use Java 1.4...could this be the problem? Cheers Link to comment Share on other sites More sharing options...
calel0722 Posted June 26, 2009 Share Posted June 26, 2009 Hi I have the same problem, I was looking someone in forums and it seems that "Unsupported major.minor version 49.0" means that you are using a library compiled in java 1.5 and you are using another java version. In my case I use java 1.4, but I need to use the library without updating my java. I tried to download old iReport release , but from 2.0.0 to 3.0.0 not work If you know something about this please tell mePost Edited by calel0722 at 06/26/2009 20:29 Link to comment Share on other sites More sharing options...
calel0722 Posted June 26, 2009 Share Posted June 26, 2009 I have one solution, I use the iReport.jar from the Release iReport-1.2.2 this is compiled in java 1.4 the newer are 1.5 Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted June 29, 2009 Share Posted June 29, 2009 Great chatch calel0722, this is the best solution.More, the best solution is not use ireport.jar (which containg GPL core), but a smaller jar called ireport-utils which can be generated from the source code with the ant task jar:iReport-1.x.x-src > ant jarThe jar is places in the dist directory and contains only the LGPL classes of iReport.Finally, all this stuff is not required using iReport 3.5.2 and later, since from that version JasperReports provides a native barcode component (which requires of course JasperReports 3.5.2 and later).Giulio Link to comment Share on other sites More sharing options...
debbygrant8732 Posted June 20, 2014 Share Posted June 20, 2014 Yes, one of the soultion is to use the iReport.jar from the Release iReport-1.2.2 this is compiled in java 1.4 the newer are 1.5, and the simimar java barcode creating and java barcode reading applications and online guides are offered. Link to comment Share on other sites More sharing options...
cathyben3 Posted November 27, 2014 Share Posted November 27, 2014 Hi,mfassbender Are your problems still exsisting? I'm sorry maybe my experience is not enough, but I've also met the same problem with you, so I hope I can help you. The possible resolution are follow: There's something wrong with you java application, you can reinstall it. Or your java version is not compatible with iReport 2.0.1, you can change another, it's easy to find on google. Maybe your barcode generation cannot work in java and Ireport. I've ever change a java barcode generation directly. Or you can goole other code 128 generation for ireport. You can find many such tools on google. That's all, hopre my experience is helpful to you, if you still have some problems, you can ask me gain. Good luck. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now