Skip to content
Snippets Groups Projects
Commit f385dd30 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- compile for the specified Java SE release

parent 32ef0cc4
Branches
Tags
No related merge requests found
......@@ -3,7 +3,8 @@
# Plugin, welches TIFFs via checkit_tiff validiert
# Pfad zu Java 11
JAVAPATH=$(wildcard /usr/lib/jvm/java-1.11.0-openjdk-*/bin/)
JAVAPATH=/usr/lib/jvm/java-11-*/bin
JAVARELEASE=11
# Verwendete Rosetta-Version
ROSETTAVERSION=7.1.0
......@@ -62,7 +63,7 @@ $(JAR): $(OBJS)
@cd $(BUILD); ${JAVAPATH}/jar cfvM ../$@ ./* ; cd ..
%.class: %.java
${JAVAPATH}/javac -classpath ${CLASSPATH}:${JUNITCLASSPATH} -Xlint:all $<
${JAVAPATH}/javac --release ${JAVARELEASE} -g -classpath ${CLASSPATH}:${JUNITCLASSPATH} -Xlint:all $<
doc: $(SOURCES)
javadoc -d doc/ $^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment