You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@benfry Do you known if there is a way to use the current one on jre 8 and a different code when running on jre 9? I don't think there is a solution which would work on both.
Hm, good question. Not that I know of. We could use reflection (harkening back to the bad old days of Processing 1.x where we had to do this heavily b/c of Java version issues like this), but I think it'd be a matter of making the move to Java 9 and not looking back.
For now, that means it probably has to be done in a branch. It's not a high priority, it's more the inevitability of having to move to Java 9. The macOS side is a mess because they've deprecated/removed all the OS integration stuff that made things work properly but only half-replaced it.
Be aware that under Oracle's new 6-monthly Java release plan, Java 8 is an LTS, but Java 9 is not! So the move to Java 9 might not be inevitable - sticking to Java LTS releases might be a good thing for Processing?
@benfry good to know you're sticking with LTS as mentioned earlier - that's one rabbit hole I don't want to follow you down - we're having enough fun getting a stable Apache NetBeans on 9!
Still, when you do decide to go to 11 (with suitable Spinal Tap codename obviously! 😄) the multi-release JAR's might be handy unless you plan to do everything in one go.
Personally, I and every other Java dev I've spoken with about it think the new roadmap is a massive plus!
Activity
JakubValtar commentedon Oct 19, 2017
@benfry Do you known if there is a way to use the current one on jre 8 and a different code when running on jre 9? I don't think there is a solution which would work on both.
benfry commentedon Oct 19, 2017
Hm, good question. Not that I know of. We could use reflection (harkening back to the bad old days of Processing 1.x where we had to do this heavily b/c of Java version issues like this), but I think it'd be a matter of making the move to Java 9 and not looking back.
For now, that means it probably has to be done in a branch. It's not a high priority, it's more the inevitability of having to move to Java 9. The macOS side is a mess because they've deprecated/removed all the OS integration stuff that made things work properly but only half-replaced it.
JakubValtar commentedon Oct 19, 2017
*shakes fist at sky*
neilcsmith-net commentedon Nov 8, 2017
Be aware that under Oracle's new 6-monthly Java release plan, Java 8 is an LTS, but Java 9 is not! So the move to Java 9 might not be inevitable - sticking to Java LTS releases might be a good thing for Processing?
neilcsmith-net commentedon Feb 22, 2018
@JakubValtar btw, in answer to your question earlier, multi-release JARs in 9 are theoretically the way to handle that http://openjdk.java.net/jeps/238
benfry commentedon Feb 22, 2018
No plans to upgrade to a non-LTS version, so I think we'll be skipping 9. Their roadmap is a clown show. https://github.com/processing/processing/wiki/Supported-Platforms#java-9
neilcsmith-net commentedon Feb 22, 2018
@benfry good to know you're sticking with LTS as mentioned earlier - that's one rabbit hole I don't want to follow you down - we're having enough fun getting a stable Apache NetBeans on 9!
Still, when you do decide to go to 11 (with suitable Spinal Tap codename obviously! 😄) the multi-release JAR's might be handy unless you plan to do everything in one go.
Personally, I and every other Java dev I've spoken with about it think the new roadmap is a massive plus!
benfry commentedon Mar 26, 2018
Renaming since we're skipping Java 9.
[-]Fix Java 9 incompatibilities inside PSurfaceFX[/-][+]Fix Java 10 incompatibilities inside PSurfaceFX[/+]kaofishy commentedon Apr 7, 2018
Just FYI JavaFX is slated to be removed from the main distribution starting from Java 11 (the next LTS release) and will be available separately. Tbh I have no idea what Oracle is doing here. https://blogs.oracle.com/java-platform-group/the-future-of-javafx-and-other-java-client-roadmap-updates
Initial migration to Java 11 on Mac as POC.
Initial migration to Java 11 on Mac as POC.
Initial migration to Java 11 on Mac as POC.
[-]Fix Java 10 incompatibilities inside PSurfaceFX[/-][+]Fix Java 11 incompatibilities inside PSurfaceFX[/+]benfry commentedon Jan 14, 2019
Updating title since Java 10 is already gone…
benfry commentedon Jan 17, 2020
Fixed with processing/processing4#1 and continued development happening at https://github.com/processing/processing4