Support to Java 7?
See original GitHub issueI’m trying to use this with WebLogic 12.1.3
running on Java 7.
When deploying the application I get the following error:
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.15.RELEASE)
<Dec 11, 2018 4:41:26 PM BRST> <Error> <Class Loaders> <BEA-2162500> <Class, com.ibm.mq.spring.boot.MQConfigurationProperties, was compiled with an incompatible version of Java. Make sure that all the classes needed by the application have been compiled with a compatible java version. java.lang.UnsupportedClassVersionError: com/ibm/mq/spring/boot/MQConfigurationProperties : Unsupported major.minor version 52.0
java.lang.UnsupportedClassVersionError: com/ibm/mq/spring/boot/MQConfigurationProperties : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:412)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:366)
Truncated. see log file for complete stacktrace
>
I’m on Spring Boot 1.5.15.RELEASE
and using com.ibm.mq:mq-jms-spring-boot-starter:0.0.4
.
I’m guessing this is because the package was built using Java 8… If so, is there a version built with Java 7? Any suggestions on how I could proceed? Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Java SE 7 End of Extended Support in July 2022 - Oracle Blogs
As the Oracle Java SE Support Roadmap explains, Java SE 7 is planned to exit Extended Support and enter Sustaining Support in July...
Read more >End of Java 7 Public Updates
After April 2015, Oracle will no longer post updates of Java SE 7 to its public download sites. Existing Java SE 7 downloads...
Read more >Java SE 7 and SE 7.1 are out of support after July 2022 ... - IBM
Support for WebSphere Application Server (WAS) V8.5 with Java SE 7 or Java SE 7.1, will be discontinued after July 2022.
Read more >Long Term Support (LTS) for Java 7 & Java 6 - Azul Systems
Oracle ceased providing supporting Java 6 in December 2018 and will cease providing extended support for Java 7 in July 2022. Only Azul...
Read more >Support For Java 7 Ending WAS 8.5 On IBM i - IT Jungle
IBM i shops that are running the traditional version of WebSphere Application Server 8.5 atop a Java 7 codebase will need to upgrade...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The downloads on maven central include the source files so you could try to recompile this library from the older levels.
Java 7 ended normal life several years ago, and the JRE shipped with the MQ libraries that this is wrapping is Java 8, so it didn’t seem to be a particular priority to use the obsolete version. And Spring itself has the Java 8 prereq these days.
This library’s initial version was build with Java 8 , Currently all spring dependencies are based on Spring boot 2.X which need java 8,
If you need to use this for Java 7 , no version of this library support that
Another option try to compile library against something below Spring boot 2.X not sure about that because last few changes of the library was basically to accommodate Spring boot 2.1.x changes
What I did was use the IBM all client jar and spring boot wrapper of 1.5 around it. Similar to this library.