Skip to content

Commit 2c1193b

Browse files
Nipsuliclaude
andcommitted
Add Java to the mise defaults for Clojure
The Homebrew clojure formula from clojure/tools does not bring a JDK, so clojure failed on Macs without one. Temurin 25 through mise matches how Go and the other runtimes are installed. Arch's clojure package brings its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent b93af85 commit 2c1193b

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ installer asks `gh` for it when missing.
5252

5353
## Tool versions
5454

55-
Mise owns Node and its bundled npm/npx, Bun, Python, uv, pnpm, Go, and personal
56-
npm CLIs. `dotfiles/mise/tools.toml` records the defaults and is linked into
57-
`~/.config/mise/conf.d/10-dotfiles.toml`. Project `mise.toml` files override
58-
these defaults. Rust still uses rustup.
55+
Mise owns Node and its bundled npm/npx, Bun, Python, uv, pnpm, Go, Java (for
56+
Clojure), and personal npm CLIs. `dotfiles/mise/tools.toml` records the
57+
defaults and is linked into `~/.config/mise/conf.d/10-dotfiles.toml`. Project
58+
`mise.toml` files override these defaults. Rust still uses rustup.
5959

6060
The installer adds shell activation and mise shims for login shells. For a
6161
migration, first remove fnm/asdf/pyenv activation and standalone Bun/pnpm PATH

‎dotfiles/mise/tools.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ node = "24"
44
bun = "1.4.2"
55
python = "3.14"
66
go = "1.27"
7+
# Clojure needs a JDK; the Homebrew clojure formula does not bring one.
8+
java = "temurin-25"
79
uv = "0.12.21"
810
"npm:pnpm" = "10.21.0"
911
"npm:@openai/codex" = "0.163.0"

‎nipsulidotfiles.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ nipsulidotfiles::doctor_config() {
692692

693693
nipsulidotfiles::log_section "Doctor config"
694694

695-
for command in mise node npm pnpm python uv bun go rustup; do
695+
for command in mise node npm pnpm python uv bun go java rustup; do
696696
nipsulidotfiles::doctor_command "${command}" || status=1
697697
done
698698
nipsulidotfiles::doctor_file "${HOME}/.ssh/id_ed25519" || status=1

‎packages/unix.tsv‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ age age
3535
shellcheck shellcheck
3636
borkdude/brew/babashka aur:babashka-bin
3737
borkdude/brew/clj-kondo aur:clj-kondo-bin
38+
# Clojure runs on the JDK from dotfiles/mise/tools.toml on the Macs; Arch's
39+
# clojure package brings its own.
3840
clojure/tools/clojure clojure
3941
sbcl sbcl
4042
# Go comes from dotfiles/mise/tools.toml on the Macs.

0 commit comments

Comments
 (0)