[libgetopt-java] 02/11: Build with Java 9
Markus Koschany
apo-guest at moszumanska.debian.org
Sun Oct 8 20:25:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository libgetopt-java.
commit 94e718d773b5ce962037be90850f2c7d90944c3a
Author: Markus Koschany <apo at debian.org>
Date: Sun Oct 8 21:38:17 2017 +0200
Build with Java 9
---
debian/control | 2 +-
debian/rules | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 1137999..2607250 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
Markus Koschany <apo at debian.org>
Build-Depends:
debhelper (>= 9),
- default-jdk,
+ openjdk-9-jdk,
default-jdk-doc,
javahelper (>= 0.33~),
maven-repo-helper (>= 1.6~)
diff --git a/debian/rules b/debian/rules
index af49b70..b4fb36a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ PKG := libgetopt-java
VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*(\d[\d\.]+)}')
export LIBRARY=gnu-getopt.jar
-export JAVA_HOME=/usr/lib/jvm/default-java
+export JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64
export JAVA=$(JAVA_HOME)/bin/java
export JAR=$(JAVA_HOME)/bin/jar
export JAVAC=$(JAVA_HOME)/bin/javac
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libgetopt-java.git
More information about the pkg-java-commits
mailing list