Release 2.0.2 is broken on Java 8
See original GitHub issueHi there,
It seems 2.0.2 release was built with JDK 9+, causing the dreaded java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;
on Java 8.
Regards
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:11
Top Results From Across the Web
Java 8 release changes
Java 8 Release Highlights. This article applies to: Java version(s): 8.0. This page highlights changes impacting end users for each Java release.
Read more >Consolidated JDK 8 Release Notes - Oracle
This page contains all of the release notes for General Availability (GA) releases and Bundled Patch Release (BPR) builds of JDK 8.
Read more >Documented Java version requirement is 8, but release ...
The documentation describes the minimum Java version as 8, however releases 2.0.2, 2.0.3 and 2.0.4 have been built using version 11.
Read more >1281868 – Cannot compile Java code using Java 8
Description of problem: Use Java features from Java 8, attempt to upgrade the environment to use java 8 and it fails to build...
Read more >Java version history - Wikipedia
The first version was released on January 23, 1996. The first stable version, JDK 1.0. 2, is called Java 1.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My apologies to everyone for the significant delay (I was changing jobs), but I have released 2.0.3. The CI configuration for this repository has atrophied, but I manually tested the changes on Windows (11, x64), macOS (Monterey, x64) and Linux (Fedora 36, x64) prior to releasing. This new release was built with Java 8. (Technically the bytecode configuration in Maven is Java 7, but it’s not really possible to release to Central using Java 7 in 2022, as far as I can tell. For anyone still using NuProcess with Java 7… 2.0.3 may still be broken.)
If anyone runs into issues, please let me know.
FYI, @brettwooldridge has very kindly added me as a collaborator on this repository. I’m currently working through the process of getting the access I’ll need to be able to perform and deploy a 2.0.3 release. I can’t give an exact timeline, but for those watching this, please know I’m working on it.