Skip to content

JDK compatibility page tweaks #3165

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 3 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 5 additions & 5 deletions _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Minimum Scala versions:

| JDK | 3 | 3 LTS | 2.13 | 2.12 | 2.11 |
|:-----------:|:--------:|:--------:|:---------:|:---------:|:----------:|
| 24 (ea) | 3.6.4<br>(forthcoming) | 3.3.6<br>(forthcoming) | 2.13.16 | 2.12.21<br>(forthcoming) | |
| 24 (ea) | 3.6.4* | 3.3.6* | 2.13.16 | 2.12.21* | |
| 23 | 3.6.2 | 3.3.5 | 2.13.15 | 2.12.20 | |
| 22 | 3.4.0 | 3.3.4 | 2.13.13 | 2.12.19 | |
| 21 (LTS) | 3.4.0 | 3.3.1 | 2.13.11 | 2.12.18 | |
Expand Down Expand Up @@ -47,8 +47,6 @@ Even when a version combination isn't listed as supported, most features might s
Using a different build tool, such as Gradle or Maven? We invite pull
requests adding additional columns to this table.

**Next Scala 3 LTS series will drop JDK 8 support** - read more about it in [the blog post](https://www.scala-lang.org/news/next-scala-lts.html).

## Running versus compiling

JDK 8, 11, 17, and 21 are all reasonable choices both for *compiling* and *running* Scala code.
Expand Down Expand Up @@ -153,6 +151,8 @@ A few sbt plugins are offering support for GraalVM Native Image compilation:

## Scala 3

>The Scala 3.x series supports JDK 8, as well as 11 and beyond.
At present, both Scala 3 LTS and Scala Next support JDK 8, as well as 11 and beyond.

As Scala and the JVM continue to evolve, some eventual Scala version may drop support for JDK 8, in order to better take advantage of new JVM features. It isn't clear yet what the new minimum supported version might become.
As per [this blog post](https://www.scala-lang.org/news/next-scala-lts.html),
a forthcoming Scala 3 LTS version will drop JDK 8 support and may drop
11 as well. Stay tuned.
2 changes: 1 addition & 1 deletion _sips/sips/futures-promises.md
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ Examples:
4. [Scala Actors Futures][4]
5. [Scalaz Futures][5]

[1]: https://www.microsoft.com/download/en/details.aspx?id=19957 "NETAsync"
[1]: https://download.microsoft.com/download/5/B/9/5B924336-AA5D-4903-95A0-56C6336E32C9/TAP.docx
[2]: https://twitter.github.io/scala_school/finagle.html "Finagle"
[3]: https://doc.akka.io/docs/akka/current/futures.html "AkkaFutures"
[4]: https://web.archive.org/web/20140814211520/https://www.scala-lang.org/api/2.9.3/scala/actors/Future.html "SActorsFutures"
Expand Down
Loading