da279cb06d
- Add a launcher shell script using javavmwrapper - Honor hier(7): install data files under ${JAVASHAREDIR}/ PR: 78966 [1] Submitted by: maintainer [1] Approved by: maintainer
9 lines
264 B
Bash
9 lines
264 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
CLASSPATH="${ADD_JARS}:${CLASSPATH}:`find "%%DATADIR%%/lib" -name \*.jar | tr "\n" ":"`"
|
|
FILE="`realpath "$1"`"
|
|
|
|
cd "%%DATADIR%%"
|
|
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -cp "${CLASSPATH}" freemind.main.FreeMind "${FILE}"
|