0

Wikipedia says Weblogic latest version only supports Java 11.

But why does this prevent me from installing Java 17 (or even Java 21)?

Is it not the case, that Java is downward compatible?

Can anyone tell a concrete example where using Java 17 in Weblogic 14c would cause a problem.

3
  • Most things are compatible, but a few things that once worked are no longer allowed. A common issue is using reflection to access the internals of standard classes which is now forbidden. I don't know if that applies to Weblogic. Commented Dec 11, 2024 at 9:53
  • 1
    Instead of wikipedia I would recommend to read the requirements from the documentation of the product. A Java application server is a complex beast and it is expected to stick to the documented requirements. Also note that instead of asking for other people examples of problems you should be describing your own problem. Why you can not use Java 11 as expected? Commented Dec 11, 2024 at 11:40
  • I am not using WebLogic at the moment. But I could start working in a project which uses this technology. And of course it is an impediment not being able to use the latest Java features. And Java always proclaims to be downward compatible. Commented Dec 12, 2024 at 9:42

1 Answer 1

0

WebLogic 14.1.2 (released on Dec. 20) now supports Java 17 & 21:

It includes continued support for Jakarta EE 8, adds support for Java SE 17 and 21, and provides valuable new features and capabilities.

As a side note, it still would not support Spring 6 though, because the latter requires Jakarta EE 9:

As of Spring Framework 6.0, the minimum is Jakarta EE 9 (Servlet 5.0, JPA 3.0, Bean Validation 3.0), with the latest Jakarta EE 10 (Servlet 6.0, JPA 3.1) recommended.

You would thus have to use Spring 5.3.26+.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.