jdk8 struts 1.1 jasper-report 1.2 - java

I work on a project where all the java infrastructure has been set up around 2005 and has never been upgraded since.
We plan to upgrade to the latest java version (jdk 8u60) and we are trying to minimize the code rework and the external dependencies upgrade.
We are trying to collect information about really old (EOL ) java library compatibility with the latest jdk:
struts 1.1
jasper-report 1.2
Do someone have a success story in using struts 1.1 with jdk8 ? jasper 1.2 ?
A list of common compatibility/incompatibility issues ?
Regards,

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

Version compatibility issues?

I'm new to opentaps environment. I have some doubt in opentaps. I have opentaps1.5 version. It is contain apache 6.0.26 and ofbiz 10 version. I want to work using jdk1.8. While compile the program using jdk1.6 or 1.7 it is providing expected results. When I used jdk1.8 It showing
ExceptionInInitializerError.
Please tell me how to resolve this issue. I need to work opentaps1.5 with jdk1.8. Thanking you in Advance.
Apache OFBiz, which is the base of opentaps, just introduced Java 1.8 compatibility in the upcoming 14.12 branch. OFBiz 10 is very old and not maintained anymore. It is not compatible with Java 1.8.
As far as I know, opentaps is forked from OFBiz and might have newer versions which are Java 1.8 compatible.
You may want to contact the support (http://www.opentaps.org/services-support) to get more accurate informations.

JDK and JRE minimal versions required for GWT (compiling and running)

What is JDK minimal version is required for compiling GWT client code (I think JDK 1.7 for GWT 2.7) ?
What is JRE minimal version is required for running GWT RPC on servlet container (I think JRE 1.5 for GWT 2.7) ?
The only answer I found is GWT FAQ is JRE 1.5 but for compiling or running ? It is not clear for me.
In fact, I want to know what the JDK required for a developer computer and what the JRE required for a production server.
According to the build files, GWT 2.7 (and actually since 2.5.0) required Java 6: GWT is compiled with Java 6, producing Java 6-compatible classes, and runs its own tests with Java 6.
Note that GWT 2.8.0, to be released later this spring, will require Java 7.

Switch case on Strings is not compatible with Smart-GWT

We are using smart-gwt for our application along with Java. The switch case on strings have been introduced in Java 1.7, and used to
work in GWT 2.5.
I have upgraded my GWT version to 2.7 and Java to 1.7 but the switch case on strings is not working.
With GWT 2.5, it was showing compile errors in Eclipse but after GWT upgrade, it is not showing any such errors but it is getting runtime exceptions.
I think it is a problem with Smart GWT version, we are using smart-gwt 4.1.
Could any body tell me is my assumption is correct?
SmartClient and Smart GWT packages only require a JDK (version 1.5 or later).
From SmartGWT download page
Works fine on my projects.
GWT 2.7 unexpectedly dropped support for <script> tags in .gwt.xml files (a longstanding feature used by many projects).
We had to re-implement this feature within SmartGWT in order to be compatible with GWT 2.7. This was done about a week ago, so you just need to download a more recent patched build of 4.1:
http://smartclient.com/builds

Categories

Resources