summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/sun-jre6/INSTALL5
-rw-r--r--lang/sun-jre7/INSTALL5
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/sun-jre6/INSTALL b/lang/sun-jre6/INSTALL
index 5d3b4ce9767..5ccb1a09b6e 100644
--- a/lang/sun-jre6/INSTALL
+++ b/lang/sun-jre6/INSTALL
@@ -1,7 +1,8 @@
-# $NetBSD: INSTALL,v 1.2 2013/03/02 18:04:31 joerg Exp $
+# $NetBSD: INSTALL,v 1.3 2015/10/20 08:20:29 tnn Exp $
case ${STAGE} in
POST-INSTALL)
- ${PREFIX}/bin/sun6-java -Xshare:dump -mx128m
+ cd /tmp && ${PREFIX}/bin/sun6-java \
+ -Xshare:dump -XX:+UseSerialGC -Xmx256M || exit 1
;;
esac
diff --git a/lang/sun-jre7/INSTALL b/lang/sun-jre7/INSTALL
index 16e5862187e..f86cd338906 100644
--- a/lang/sun-jre7/INSTALL
+++ b/lang/sun-jre7/INSTALL
@@ -1,7 +1,8 @@
-# $NetBSD: INSTALL,v 1.2 2013/03/02 18:04:31 joerg Exp $
+# $NetBSD: INSTALL,v 1.3 2015/10/20 08:20:29 tnn Exp $
case ${STAGE} in
POST-INSTALL)
- ${PREFIX}/bin/sun7-java -Xshare:dump -mx128m
+ cd /tmp && ${PREFIX}/bin/sun7-java \
+ -Xshare:dump -XX:+UseSerialGC -Xmx256M || exit 1
;;
esac