Open plinto
Docs›Guides

Move every project to a new JDK

Guide·3 min read

Every project says Java = 25, and your version group points 25 at one exact JDK. Moving everyone to a new patch is moving that pointer: nobody edits a plinto.conf. The same goes for Go, Rust, Node, Python or any other toolchain.

1. Bring the new JDK in

$ plinto import jdk 25.0.5.11.1 --point 25

imports Amazon Corretto 25.0.5.11.1 for every platform as a new version of Java, and points the group's 25 at it. Without --point, the new JDK joins the group and 25 keeps pointing where it did.

The import is a build of the group, so it makes a new revision. If the group already has the JDK, point 25 at it in the Groups app instead: Point a line of Java….

Every version imported is also listed by name after Java's branches, as imports/25.0.5.11.1. In the Builds app, Build into a group takes it from there, an older JDK too, to build or verify it into another group.

2. Move your workspace

$ plinto update
Moved plinto-workspace.conf from revision 202 of main to 203
  Java 25 → 25.0.5.11.1 (was 25.0.4.10.1) (declared here)

Your builds now use the new JDK. Everyone else's do as soon as they update too.

3. Try it before everyone does

To try a new major version, such as Java 26, without moving anyone, do it in a group of its own first: see Try a change in a group of its own.