diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-04-18 16:57:19 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-04-18 16:57:19 +0000 |
commit | 8b5b461fdcc3f04b7824c92e1ae300241a9bc3dd (patch) | |
tree | 8af9d4e7209d581b5bdd21b39615fa4cc8d22c9f /editors/jedit/files | |
parent | d0b959f002ac05e38e254c3677b1c5aa77bff811 (diff) | |
download | ports-8b5b461fdcc3f04b7824c92e1ae300241a9bc3dd.tar.gz ports-8b5b461fdcc3f04b7824c92e1ae300241a9bc3dd.zip |
Notes
Diffstat (limited to 'editors/jedit/files')
-rw-r--r-- | editors/jedit/files/instscript | 1 | ||||
-rw-r--r-- | editors/jedit/files/jedit.sh | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/editors/jedit/files/instscript b/editors/jedit/files/instscript index 6fc9bb3eba8b..97e361decb7f 100644 --- a/editors/jedit/files/instscript +++ b/editors/jedit/files/instscript @@ -2,5 +2,4 @@ %%WRKDIR%% Y Y -Y diff --git a/editors/jedit/files/jedit.sh b/editors/jedit/files/jedit.sh index 2d74fbb1e80c..10a8359c5def 100644 --- a/editors/jedit/files/jedit.sh +++ b/editors/jedit/files/jedit.sh @@ -1,6 +1,8 @@ #!/bin/sh # $FreeBSD$ -CLASSPATH=${CLASSPATH}:%%PREFIX%%/share/java/jedit/swingall.jar:%%PREFIX%%/share/java/jedit/jedit.jar -export CLASSPATH -exec %%LOCALBASE%%/bin/javavm org.gjt.sp.jedit.jEdit "$@" +# Java heap size, in megabytes +JAVA_HEAP_SIZE=32 + +exec %%LOCALBASE%%/bin/javavm -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar \ + "%%PREFIX%%/share/java/jedit/jedit.jar" "$@" |