Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 951 Bytes

File metadata and controls

33 lines (22 loc) · 951 Bytes

Java

Version management with mise

Java is managed by mise. The configured version is temurin-24 (Eclipse Temurin JDK 24).

mise install java           # install the configured version
mise use java@temurin-24    # set the active version
java --version              # verify

The mise config is at ~/.config/mise/config.toml.

jbang

jbang allows running Java source files directly as scripts, without needing a build tool or project setup.

jbang script.java           # run a Java file as a script
jbang init hello.java       # create a new jbang script
jbang --java 21 script.java # run with a specific Java version

jbang can also manage its own JDK installations independently of mise.

Download helper

The download Fish function downloads Neo4j distribution tarballs by version number:

download 5.25.0    # downloads the Neo4j 5.25.0 tarball