blob: df7a28d308c1f1841c152fb220d88ad39cbd2482 (
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
33
34
|
#!/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
CP=@JRE@/lib/rt.jar
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} \
-classpath ${CP} \
-Dicedtea-web.bin.name=${PROGRAM_NAME} \
-Dicedtea-web.bin.location=${BINARY_LOCATION} \
${CLASSNAME} \
${ARGS}
exit $?
|