We have an application built using Java 1.8, but is currently running on Java 11 via OWS
We are in the process of migrating this to be Compiled using Java 17 (and upgrading all of our dependant frameworks)
Are there any know issues with this?
We have found that Java's BasicService class was removed in Java11, we use this to access the codebase value from the JNLP
I'm assuming that OWS is providing this via openwebstart.jar
My plan is to create a wrapper class in a separate project that is compiled using Java 1.8, and then only use the wrapper in our Java17 project.
Will this work?
Is there a better solution to access the URL?
Java 17
-
- Posts: 79
- Joined: 25 Mar 2020, 12:21
Re: Java 17
When I look into the code of OpenWebStart, I can see an implementation of BasicService.getCodeBase() (net.sourceforge.jnlp.services.XBasicService#getCodeBase, in the IcedTea-Web Part), so it looks to me that your required functionality is around. Did you gave it a try?
-
- Posts: 3
- Joined: 27 Sep 2022, 00:09
Re: Java 17
It will be a while till we get everything into a runnable state because we are also migrating our frameworks (hibernate) and we have heaps of compilation issues. Once that's resolved we need to sign our jars and noble together a deployment for proper full testing.
I would love to know if there are any know issues with Java17 that will stop this from working before we spend all this time.
I would love to know if there are any know issues with Java17 that will stop this from working before we spend all this time.
-
- Posts: 564
- Joined: 24 Mar 2020, 13:37
Re: Java 17
As far as OWS is concerned so far we have no reports of any issues of Apps started by OWS using Java 17.
-
- Posts: 3
- Joined: 27 Sep 2022, 00:09
Re: Java 17
Is there a plan to add Java17 to the recommended JVM list?
https://download-openwebstart.com/jvms.json
https://download-openwebstart.com/jvms.json
-
- Posts: 564
- Joined: 24 Mar 2020, 13:37
Re: Java 17
We may consider this in the next release (sometime in November). However, you can also setup your own JVM Download Server that hosts Java17 JRE as described in guide https://openwebstart.com/docs/OWSGuide. ... oad_server
Re: Java 17
Any news about adding Java 17 to the recommended JVM list?
We are waiting for it, so that we can move forward from Java 8 to Java 17 and skip Java 11 on the way.
We are waiting for it, so that we can move forward from Java 8 to Java 17 and skip Java 11 on the way.
-
- Posts: 564
- Joined: 24 Mar 2020, 13:37
Re: Java 17
Yes we will add Java 17 links to the JVM JSON it.
We are likely to make a new release of OWS next week.
We are likely to make a new release of OWS next week.