Bug 293559 - Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 25
Summary: Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 25
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-03 15:05 UTC by Ronald Klop
Modified: 2026-03-04 03:46 UTC (History)
1 user (show)

See Also:
ronald: exp-run?


Attachments
git diff to set JAVA_DEFAULT to 25 (543 bytes, patch)
2026-03-03 15:05 UTC, Ronald Klop
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop freebsd_committer freebsd_triage 2026-03-03 15:05:13 UTC
Created attachment 268503 [details]
git diff to set JAVA_DEFAULT to 25

I'd like to modify JAVA_DEFAULT to 25 and request an exp-run with it.

https://openjdk.org/projects/jdk/25/
JDK 25 reached General Availability on 16 September 2025.

Switching default JDK version will not prevent ports that required older Java versions from working. In bug #272855 a lot of java ports are made compatible or pinned to the needed JDK. The OpenJDK25 javac still supports java 8 source files.

NB: openjdk25 is not support on i386, so the default for i386 stays on 21.

Let's see what the fall out will be by doing an exp-run.