summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cad/sweethome3d/Makefile2
-rw-r--r--java/java3d/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/cad/sweethome3d/Makefile b/cad/sweethome3d/Makefile
index ca8b8214a68a..90e9e381d7d5 100644
--- a/cad/sweethome3d/Makefile
+++ b/cad/sweethome3d/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= java3d>=0:java/java3d
USES= zip
NO_ARCH= yes
USE_ANT= yes
-USE_JAVA= yes
+USE_JAVA= 8
ALL_TARGET= jarExecutable
JARNAME= SweetHome3D-${PORTVERSION}.jar
diff --git a/java/java3d/Makefile b/java/java3d/Makefile
index 188bf8752c87..2e73457a88f1 100644
--- a/java/java3d/Makefile
+++ b/java/java3d/Makefile
@@ -18,7 +18,7 @@ BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler err
BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details
USES= gl tar:bzip2 xorg
-USE_JAVA= yes
+USE_JAVA= 8
USE_GL= gl
USE_XORG= xt
JAVA_VENDOR= openjdk