[kde-linux] Starting a Java App in K Menu
Scott Bicknell
scotbicknel at cox.net
Sat Feb 17 23:25:13 UTC 2007
On Saturday, February 17, 2007 2:05 pm, Stephen P. Molnar, Ph.D.
wrote:
> How do I start a java app, specifically jedit.jar from K Menu?
> (Yes, I do have java installed)
>
> Thanks in advance.
My installation of JEdit placed the following shell script
at /usr/bin/jedit:
#!/bin/sh
# we must set path to jdk 1.3.x
. setJava --version 1.3
if [ -n "$CLASSPATH" ] ; then
CLASSPATH=$CLASSPATH:/usr/lib/jedit/jedit.jar
else
CLASSPATH=/usr/lib/jedit/jedit.jar
fi
export CLASSPATH
java org/gjt/sp/jedit/jEdit $@ 1>/dev/null 2>/dev/null
And my Kmenu entry for it has "jedit %f" in the Command field.
--
73, AC7ZZ
http://counter.li.org/
Linux User #246504
More information about the kde-linux
mailing list