-
Notifications
You must be signed in to change notification settings - Fork 146
/
run.sh
executable file
·26 lines (19 loc) · 925 Bytes
/
run.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
set -eu
source ../../common-functions.sh
echo ""
echo "${info} *** Running '[fully qualified main class]' from within the module package in the '[...*]' folder (running 'org.astro.World' from within the module package in the '[...*]' folder) *** ${normal}"
echo
java --module-path [folder name*] \
--module [module name**]
# * folder where all the jars have been created
# ** module name is enough
echo ""
echo "${info} *** Running '[fully qualified main class]' from within the module package in the '[...**]' folder (running 'org.astro.World' from within the module package in the '[...**]' folder) *** ${normal}"
echo
java --module-path [folder name*] \
--module [fully qualified main class name with module name**]
# * folder where all the modules have been compiled
# ** fully qualified main class name with module name
# See ../01_Greetings/run.sh for explanations to above commands
# ...