blob: 22d0120531fcb85a9e5e78a74f152568736ba527 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/sh
JAVA=@JAVA@
LAUNCHER_BOOTCLASSPATH=@LAUNCHER_BOOTCLASSPATH@
LAUNCHER_FLAGS=-Xms8m
CLASSNAME=net.sourceforge.jnlp.runtime.Boot
BINARY_LOCATION=@JAVAWS_BIN_LOCATION@
PROGRAM_NAME=javaws
JAVA_ARGS=
ARGS=
while [ "$#" -gt "0" ]; do
case "$1" in
-J*)
JAVA_ARGS="${JAVA_ARGS} ${1##-J}"
;;
*)
ARGS="${ARGS} $1"
;;
esac
shift
done
${JAVA} ${LAUNCHER_BOOTCLASSPATH} ${LAUNCHER_FLAGS} \
${JAVA_ARGS} \
-Dicedtea-web.bin.name=${PROGRAM_NAME} \
-Dicedtea-web.bin.location=${BINARY_LOCATION} \
${CLASSNAME} \
${ARGS}
exit $?
|