TARGET ?= linux-amd64
-JAVA_HOME ?= /usr/local/jdk-13+33
+JAVA_HOME ?= /usr/local/jdk
+JAVAFX_HOME ?= /usr/local/javafx-sdk
# See also JAVACFLAGS --module-path
NATIVEZ_HOME=../nativez/bin/$(TARGET)
-JAVAMODPATH = $(NATIVEZ_HOME)/lib
-JAVACFLAGS += -source 13
+JAVAMODPATH = $(NATIVEZ_HOME)/lib $(JAVAFX_HOME)/lib
+JAVACFLAGS +=
-JAVAC ?= javac
-JAR ?= jar
-JMOD ?= jmod
+JAVA ?= $(JAVA_HOME)/bin/java
+JAVAC ?= $(JAVA_HOME)/bin/javac
+JAR ?= $(JAVA_HOME)/bin/jar
+JMOD ?= $(JAVA_HOME)/bin/jmod
# Linux options
linux-amd64_CPPFLAGS = \