Wildfly compatibility with older versions of Java - java

I wanted to migrate from JBOSS EAP to a Wildfly version which supports older versions of Java like 6 or 5.
I can't find a compatibility matrix with wild fly and java.
What about wildfly 8 ? does it supports java older versions.
can someone point me to the matrix where I can find wildfly compatibility with Java
Thanks

This is the closest thing to a compatibility matrix I can find. Which has a separate chart for both Wildfly and JBoss EAP:
Choosing the right JDK for WildFly and JBoss EAP 7
It's obviously not official, but something is better than nothing.

Related

How would I find which version of jdk is compatible with Grails 3.2.4?

I was given guidance that it would be jdk.1.8.0_31. However, Googling this jdk did not bring up any results. How could I be certain, and where can I find the download? The newest jdk (17.0.2) will not work with it.
For Groovy 2.4 and below I would stick to java 8, I thinks there were some issues with java 11, some fixed in Groovy 2.5, but you will still see warnings. For Grails 5+, Groovy 3 I would go for java 11. I think better support for Java 17 is coming for Groovy 4.
Grails 3.2.4 uses groovy 2.4.7
Grails 4 uses groovy 2.5.6
Grails 5 uses Groovy 3
Groovy 4 is coming "soon" so it's not in Grails yet
Grails 3 is already EOL so I would get on upgrading.
https://objectpartners.com/2015/05/14/list-of-groovy-versions-for-each-version-of-grails/
https://grails.org/blog/2021-01-22-grails-exciting-updates.html#:~:text=Grails%20Framework%20EOL%20Schedule&text=Grails%202%20will%20be%20EOL,EOL%20after%20September%2030th%2C%202021.
https://docs.grails.org/latest/guide/single.html#dependencyUpgrades
You can find and download that build version of jdk 1.8.0_31 here : https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
It should work with grails 3.2.4.
Grails 3 works with more advanced builds versions of java 8 and more recent versions of java too like java 11.
According to the Grails 3.2.4 guide, Java 7 and above should work.
If you really can't use Java 17, the latest long-term support version, I'd recommend Java 11, the previous long-term support version. You can find downloads for all currently-supported versions of Java here.

Minimum Spring version compatible with Java 11

I need to upgrade an app to Java 11 very soon, I was wondering what's the minimum Spring version that is compatible with Java 11.
I'm currently using Java 8 and Spring 4.2.7.
From their task tracker -- SPR-16391:Compatibility with JDK 11. The compatibility of JDK 10, 11 is planned along with 5.1 GA release.
JDK 11 is currently scheduled for September 2018. Not expecting any
major changes beyond JDK 10 from our perspective, we should be able to
fully support it in the 5.1 line already.
Ideally our framework build would be able to run on JDK 8, 9, 10 as
well as 11, even if our own test efforts will focus on JDK 8 and 11
(as the official long-term support branches) at that point.
While the option of experimenting with your own code on module path is still feasible using spring framework 5.0, which provides out-of-the-box support for JDK 9 already.
Update: Spring Framework 5.1 goes GA on 21st September, 2018
Spring Boot version 2.1.0 has been released with full Spring 5.1 and Java 11 support.
What’s new in 2.1
Third-party library upgrades.
We’ve upgraded to the
latest stable releases of other third-party libraries wherever
possible. Some notable dependency upgrades in this release include:
Hibernate 5.3
Micrometer 1.1
Spring Data Lovelace
Spring Framework 5.1
Tomcat 9
Undertow 2
JDK Version Range
Spring Framework 5.3.x: JDK 8-19 (expected)
Spring Framework 5.2.x: JDK 8-15
Spring Framework 5.1.x: JDK 8-12
Spring Framework 5.0.x: JDK 8-10
Spring Framework 4.3.x: JDK 6-8
For more info please visit here source

Run Apache TomEE 7.0.4 with JDK 9 and JDK 10

I can not get TomEE 7.0.4 to work with java 9 and 10.
TomEE 7.0.4 does not work with java 9 and 10.
I think I understand that it is necessary to configure catalina.bat (I use windows).
If I understood correctly, it all depends on the modules of jdk 9.
I'm going crazy in finding a solution.
To please help me to understand how to configure TomEE (catalina.bat or other)?
TomEE up to version 7.0.4 won't work with Java 9/10. This is due to the use of org.apache.xbean.asm5 classes in the bundled OWB jars. The TomEE team is working hard to resolve these issues, has integrated ASM 6.1 already and the upcoming release of TomEE 7.0.5 will thus be compatible with Java 9/10.
So, you have to stick with Java 8 for a while until TomEE 7.0.5 has been released and is available for download. Check this link in the next weeks for updates.
Hope it helps.
UPDATE:
On July 23rd, TomEE 7.0.5 was released. It runs fine with Java 9 and 10. I tested it on all three major OS platforms. Check the download link above for the release artifacts.

Upgrading Project from JDK 6 to JDK 8

My current project is built on Java 6. I'm thinking of upgrading it to Java 8.
Here is the details of the build.properties
xdoclet.home=D:/**/xdoclet-1.2.3
jboss.deploy.dir=D:/**/jboss-6.1.0.Final
application.dir=D:/**/**/cal
middlegen.home=D:/**/middlegen-2.0-b1
compiler.home=C:/Program Files/Java/jdk1.6.0_24/bin/javac .
I've tried building the project on JDK 8 and it is building successfully.
I know that I have to upgrade every libraries so that it can work with JDK 8.
How can I make sure about the dependencies to be correct as there are so many jars? And also Do I have to change my Jboss Application Server to Wildfly Application Server as Jboss AS 7 doesn't support JDK 8?
Please suggest how to approach. Any help appreciated.
And also let me know if it's better to build the project from Scratch in JDK 8 than upgrading it to JDK 8.
1) If you need to use jdk8 than you have to switch too the newer jboss.
2) It is not required to updated all jar's since jdk8 can run older jars
it there is no compatibility problem.
3) If you already have an large probject it is faster to keep it.
4) You can review your code and use the new java 8 features like "<>" and "try()"
For more qualified answer your question is to unspecific.
I would like to suggest you to update JBOSS 6 to wildfly 8 if there is a change required for the updation of JDK 6 to JDK 8.
But there is some other way!!! you can run your JBOSS 6 externally and add the the project.war file in JBOSS>>standalone>>deployment.
For Upgrade of JDK 8,i would suggest to go through JDK 8 feature and see where you can implement the new feature of java in your source code and have a mock testing class for the same.Make sure you have a mock project as it is the good practice for the enhancement of the project.

Which JDK do Spring Data modules need to run?

My application will be running in a Java 7 JVM. What is the most recent version of Spring-Data-JPA that is compatible with Java 7? Can't find it here or here.
The general baseline of Spring Data modules is JDK 6. However, some of the modules (e.g. Neo4j) required a JDK 7 due to the fact that the store's Java driver already requires JDK 7.
I am using Spring-Data-Jpa 1.8.0 and my application is running ina Java 7 JVM.
If you check the reference for the newest version 1.8.1, you will see that some new features has been added in the favour of java-8 (like the use of Stream but java-7 is still supported.

Categories

Resources