summaryrefslogtreecommitdiff
path: root/academic/jpicedt/jpicedt.sh
diff options
context:
space:
mode:
authorRobert Allen <slacker@slaphappygeeks.com>2010-05-12 23:27:39 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:27:39 +0200
commit7f0ed111c7dde7444586f60c07a900ed839f3484 (patch)
tree6f4d9027637ede65bd54d43f8607c5336c6e9052 /academic/jpicedt/jpicedt.sh
parent77ae82ede3f6223229c35430c0ffffc2c999f006 (diff)
downloadslackbuilds-7f0ed111c7dde7444586f60c07a900ed839f3484.tar.gz
academic/jpicedt: Added to 12.2 repository
Diffstat (limited to 'academic/jpicedt/jpicedt.sh')
-rw-r--r--academic/jpicedt/jpicedt.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/academic/jpicedt/jpicedt.sh b/academic/jpicedt/jpicedt.sh
new file mode 100644
index 0000000000..65e8bd828a
--- /dev/null
+++ b/academic/jpicedt/jpicedt.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Java heap size, in megabytes
+# Increase if you experience OutOfMemory errors (see quickstart.html)
+JAVA_HEAP_SIZE=96
+
+exec /usr/lib/java/bin/java \
+ -Xmx${JAVA_HEAP_SIZE}m ${JPICEDT} \
+ -classpath "${CLASSPATH}:/opt/jpicedt:/opt/jpicedt/lib/jpicedt.jar" \
+ jpicedt.JPicEdt $@
+