Skip to content

docs: Announce core decision about JDK #1763

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 7 commits into from
Mar 5, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions _posts/2025-03-05-next-scala-lts-jdk.md.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
category: announcement
permalink: /news/next-scala-lts-jdk.html
title: "JDK 17 will be the next minimum version required by Scala 3"
by: Tomasz Godzik, VirtusLab & Scala Core Team
---

We recently asked for community input about changing the JDK version used by the
Scala 3 compiler. We wanted to thank everyone for their input and announce the
decision to switch to JDK 17 as the new minimum, starting with Scala 3.8 minor
and the next LTS which will mostly likely be Scala 3.9.

The discussion didn't uncover any compelling reason not to leave JDK 11 behind.
11 is now nearly as antiquated as 8, and moving from 11 to 17 is not normally a
difficult upgrade for users. 17 offers useful APIs and VM features. In the JVM
world, requiring 17+ is already a mainstream position and is becoming more so
with every passing month. Also, we increase Scala's minimum so rarely, we feel
we should take this chance to aid open-source maintainers by reducing the
testing and maintenance burden across the entire Scala 3 tooling and library
ecosystems as much as we reasonably can.

This change only concerns future minor versions of Scala 3. In particular, the
Scala 3.3 LTS line is unaffected by this change. Scala 3.3.x releases will
continue for at least a year after the next LTS line begins

There are also no plans to change Scala 2’s JDK support and it will continue
being built using JDK 8.

The open discussion that led to this decision can be found at the
[Scala contributors forum](https://contributors.scala-lang.org/t/next-scala-3-lts-version-will-increase-minimum-required-jdk-version).