Files
dotfiles/bash/.profile.d/java.sh
2025-09-01 00:20:12 +02:00

6 lines
131 B
Bash
Executable File

#!/usr/bin/env bash
if command -v java > /dev/null 2>&1; then
export JAVA_HOME="$(dirname $(mise bin-paths | grep -i java))"
fi