We are currently using JasperReports Library 4.4.7 with JDK 1.6_23 on SAP NetWeaver 7.3 and we are planing to upgrade to 5.5.2, is it compatible with our environment JDK (1.6_23) since the library is compiled using JDK 1.7 ?
Asked
Active
Viewed 1,556 times
1 Answers
0
If the library is compiled using JDK 1.7, it won't run on Java SE 6-compatible environment. You would need to compile it (and jar) yourself -- I don't know the library, but it's likely to fail. Perhaps they switched to Java 7 compilation to use Java 7 features.
You may also "downgrade" the compiled byte code of the library to be Java 6 compliant -- see Compiling Java 7 to Java 6 (I have no experience with that either).

Community
- 1
- 1

Piotr Findeisen
- 19,480
- 2
- 52
- 82