Use full path names to java tools
-JAVA_HOME ?= /usr/local/jdk-13+33
-JAVAFX_HOME ?= /usr/local/javafx-sdk-13
-FFMPEG_HOME ?= /opt/ffmpeg/4.0
+JAVA_HOME ?= /usr/local/jdk
+JAVAFX_HOME ?= /usr/local/javafx-sdk
+FFMPEG_HOME ?= /usr
# See also JAVACFLAGS --module-path
NATIVEZ_HOME=../nativez/bin/$(TARGET)
JAVAMODPATH = $(JAVAFX_HOME)/lib $(NATIVEZ_HOME)/lib
# See also JAVACFLAGS --module-path
NATIVEZ_HOME=../nativez/bin/$(TARGET)
JAVAMODPATH = $(JAVAFX_HOME)/lib $(NATIVEZ_HOME)/lib
-JAVACFLAGS += -source 13
-JAVAC ?= javac
-JAR ?= jar
-JMOD ?= jmod
+JAVAC ?= $(JAVA_HOME)/bin/javac
+JAR ?= $(JAVA_HOME)/bin/jar
+JMOD ?= $(JAVA_HOME)/bin/jmod
# Linux options
# USE_SO_VERSION adds the major version to the library open name for ffmpeg libs on linux.
# Linux options
# USE_SO_VERSION adds the major version to the library open name for ffmpeg libs on linux.