2012-12-04 14:02:03 +00:00
|
|
|
--- bin/netbeans.orig 2012-11-07 00:53:26.000000000 +0100
|
|
|
|
+++ bin/netbeans 2012-12-04 14:42:26.000000000 +0100
|
|
|
|
@@ -161,6 +161,10 @@
|
2012-01-04 16:04:46 +00:00
|
|
|
mem=`/usr/sbin/sysctl hw.memsize | tr -d [:alpha:][:space:].:`
|
|
|
|
mem=`expr $mem / 1048576`
|
|
|
|
;;
|
|
|
|
+ FreeBSD*)
|
|
|
|
+ mem=`/sbin/sysctl -n hw.realmem`
|
|
|
|
+ mem=`expr $mem / 1048576`
|
|
|
|
+ ;;
|
|
|
|
*)
|
|
|
|
;;
|
|
|
|
esac
|
2012-12-04 14:02:03 +00:00
|
|
|
@@ -188,7 +192,7 @@
|
2012-01-04 16:04:46 +00:00
|
|
|
if grep -v -- "-J-XX:MaxPermSize" >/dev/null <<EOF ; then
|
|
|
|
${netbeans_default_options}
|
|
|
|
EOF
|
|
|
|
- netbeans_default_options="-J-XX:MaxPermSize=384m ${netbeans_default_options}"
|
2012-12-04 14:02:03 +00:00
|
|
|
+ netbeans_default_options="-J-XX:MaxPermSize=512m ${netbeans_default_options} --nosplash"
|
2012-01-04 16:04:46 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
launchNbexec() {
|
2014-02-13 13:20:31 +00:00
|
|
|
@@ -237,6 +241,8 @@
|
2012-12-04 14:02:03 +00:00
|
|
|
--jdkhome '"$netbeans_jdkhome"' \
|
|
|
|
--branding nb \
|
|
|
|
--clusters '"$netbeans_clusters"' \
|
|
|
|
+ --nosplash \
|
2014-02-13 13:33:01 +00:00
|
|
|
+ -J-Dawt.useSystemAAFontSettings=on \
|
2012-12-04 14:02:03 +00:00
|
|
|
-J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \
|
|
|
|
-J-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense \
|
|
|
|
${netbeans_default_options} \
|