Skip to content

Commit

Permalink
Update JAVA_HOME env on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
yakkle committed Apr 7, 2022
1 parent f15d637 commit b6f6128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javaee/exec/src/native/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TARGET:=client
TARGET_SO=$(BUILD_DIR)/lib$(TARGET).$(LIB_SUFFIX)

ifneq (, $(findstring Darwin, $(shell uname -s)))
JAVA_HOME ?= /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
JAVA_HOME ?= $(shell /usr/libexec/java_home -v 11.0)
OS_DIR = darwin
LIB_SUFFIX = dylib
else
Expand Down

0 comments on commit b6f6128

Please sign in to comment.