summaryrefslogtreecommitdiff
path: root/academic/jpicedt/jpicedt.sh
diff options
context:
space:
mode:
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 $@
+