-
Notifications
You must be signed in to change notification settings - Fork 0
/
runServer.sh
executable file
·26 lines (24 loc) · 933 Bytes
/
runServer.sh
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
#!/bin/bash -
#===============================================================================
#
# FILE: runServer.sh
#
# USAGE: ./runServer.sh
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Sean
# ORGANIZATION:
# CREATED: 10/05/2017 11:50
# REVISION: ---
#===============================================================================
set -o nounset # Treat unset variables as an error
export CLASSPATH=target/lis-0.0.1-SNAPSHOT.jar
rmiregistry &
#java -cp target/lis-0.0.1-SNAPSHOT.jar:target/classes/VoterService.class -Djava.security.policy=policy.txt VoterServer
java -jar -Djava.security.policy=policy.txt target/lis-0.0.1-SNAPSHOT.jar
#java -Djava.security.policy=policy.txt -cp /src/main/resources/opennlp-tools-1.8.3.jar:target/lis-0.0.1-SNAPSHOT.jar:target/classes VoterServer