~damien/jedit-lsp

b6dd43a99459a15042af92f72288b27d0b8358a3 — Damien Radtke 3 months ago 40a1308
Support Java 11 installed through homebrew
1 files changed, 3 insertions(+), 0 deletions(-)

M ant
M ant => ant +3 -0
@@ 6,5 6,8 @@

if [[ -d /usr/lib64/jvm/jre-11-openjdk/ ]]; then
	export JAVA_HOME=/usr/lib64/jvm/jre-11-openjdk/
elif [[ -d /opt/homebrew/opt/openjdk@11/ ]]; then
	export JAVA_HOME=/opt/homebrew/opt/openjdk@11/
fi

exec ant "$@"