r/Kotlin • u/meilalina • 11h ago
📣 The Kotlin compiler is moving to JDK 17 as its minimum runtime.
46
Upvotes
The Kotlin compiler is moving to JDK 17 as its minimum runtime.
Here's the plan:
• 2.5.0-Beta1: A warning when you run the compiler on a JDK older than 17.
• 2.5.0-Beta2 and 2.5.0: An error, with a flag to keep using your current JDK for now.
• 2.5.20-Beta1 and later: JDK 17 or newer is required.
If your machines or CI still run the compiler on an older JDK, now is a good time to plan the update.
👉 If you have a use case we might be missing, tell us in KT-88173