Skip to content

Setting the version of java via gradle#78

Open
rokadias wants to merge 1 commit intomainfrom
saqib/set-java-version-via-gradle
Open

Setting the version of java via gradle#78
rokadias wants to merge 1 commit intomainfrom
saqib/set-java-version-via-gradle

Conversation

@rokadias
Copy link
Copy Markdown

I've accidentally deployed to the robot using java 21 since that's what my language server uses, and I've had students have issues with getting the "right" java version installed.

Excerpt:

Using Java toolchains allows Gradle to automatically download and manage the required JDK version for your build. It ensures that the correct Java version is used for both compilation and execution.

https://docs.gradle.org/current/userguide/toolchains.html#sec:using-java-toolchains

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

Successfully merging this pull request may close these issues.

1 participant