Skip to content

[1.x] Delete .java-version to not fix java version to 1.8 #7827

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

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

Friendseeker
Copy link
Member

Issue

Java version managers such as jenv automatically set JAVA_HOME according to.java-version file. As a result whenever I type in sbt in sbt repo, sbt boots with Java 8.

Solution

Delete .java-version file so user may set their own .java-version file with their preferred Java version.

@Friendseeker Friendseeker changed the title Delete .java-version to not fix java version to 1.8 [1.x] Delete .java-version to not fix java version to 1.8 Oct 24, 2024
@eed3si9n eed3si9n merged commit 91ea2fe into sbt:1.10.x Oct 24, 2024
10 checks passed
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.

3 participants