Use javm with coding agents
javm provides an agent skill for coding agents that need to run Java tools with a predictable JDK:
npx skills add felipebz/javm --skill javm -g
The skill guides agents to use the project's selector, such as .java-version, and to run builds, tests, and other
non-interactive Java processes with javm exec <command> [args...] instead of changing the shell.
Agents can also read llms.txt, a short summary of javm and its documentation.