Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle Build and available OpenJdk Releases #66

Open
free2create opened this issue Nov 2, 2022 · 1 comment
Open

Gradle Build and available OpenJdk Releases #66

free2create opened this issue Nov 2, 2022 · 1 comment

Comments

@free2create
Copy link

Since the current gradle build only supports openjdk15 and below, in order to run all examples, the most direct approach users can take would be to:
A) Install openjdk 15
or
B) Upgrade the Gradle build system so openjdk17 is supported.

Either approach can turn out to be more complex than expected.

OpenJdk 15 has been withdrawn from circulation and users must install from the OpenJDK Archives.

On Linux Debian based systems a user might be tempted to try and retro fit this into Debians alternatives system i, which would be a mistake. They should just add the directory to their PATH so it overrides the system java version.

Also the current linux instructions no longer work since openjdk17 will be installed, breaking the build.
That then leaves installing java 11
sudo apt install openjdk-11-jdk
so that most of the examples , except sealed classes, switch pattern matching, and records should be able to be experimented with.

Gradle Upgrade In March of 2022 I spent about 2 days trying to upgrade Gradle first to 7.1.X, then 7.2.x, then 7.3.x encountering new problems with each successive version which was to resolve previous problems. Based on this time investment its not really something most users new to Java and the JVM should attempt. This makes me appreciate other build systems with more constrained approaches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@free2create and others