Mailing List webobjects-dev@wocommunity.org Message #504
From: Paul Hoadley <paulh@logicsquad.net>
Subject: Re: Java upgrade question
Date: Sat, 6 Apr 2024 07:55:56 +1030
To: webobjects-dev@lists.apple.com <webobjects-dev@lists.apple.com>, webobjects-dev@wocommunity.org <webobjects-dev@wocommunity.org>
Hi Mark,

On 6 Apr 2024, at 6:55 am, Morris, Mark via Webobjects-dev <webobjects-dev@lists.apple.com> wrote:

I’ve been trying to research (old messages, Google, etc.), but I don’t think I’ve found anything definitive.
 
I know at least at one point there was an issue migrating past Java 8, due to the way WOnder patches/extends Apple’s frameworks. Has that been resolved or worked around? We would like to totally get rid of Java 8, and move to Java 11 (or 17, or 21…).

Plenty of people have moved beyond Java 8. We've been using Java 21 since soon after it was released. About the only thing you'll need to do is add some JVM options in build.properties, such as:

jvmOptions=--add-exports java.base/sun.security.action=ALL-UNNAMED --add-exports java.base/sun.util.calendar=ALL-UNNAMED


I'm struggling to think of much else that was required. It was certainly an easier transition than I thought it was going to be.


-- 
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster