summaryrefslogtreecommitdiff
path: root/net/jrdesktop/files/jrdesktop-viewer.in
blob: 3a392603e32ac6dcb6956c50a9fb8a3265770234 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

JRDESKTOP_JAR=%%JAVAJARDIR%%/jrdesktop.jar

if [ $# -ne 5 ]; then
    echo "Usage:"
    echo "  $0 server-address server-port username password ssl-enabled"
    echo "where:"
    echo "  <ssl-enabled>       = true for a secured connection"
    exit 1
fi

%%JAVA%% -jar ${JRDESKTOP_JAR} -viewer $1 $2 $3 $4 $5