/
RunIBMiSqlDisplay.sh
executable file
·27 lines (19 loc) · 1.16 KB
/
RunIBMiSqlDisplay.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
27
echo ===========================================================================
echo --- Create executable Jar file IBMiSqlDisplay.jar
echo ===========================================================================
echo The following command gets the directory in which the script is placed
script_dir=$(dirname $0)
echo script_dir=$(dirname $0)
echo $script_dir
echo -------------------------------------------------------------
echo The following command makes the application directory current
cd $script_dir
echo cd $script_dir
echo -------------------------------------------------------------------
echo The following command creates the Jar file in the current directory
echo jar cvfm IBMiSqlDisplay.jar manifestIBMiSqlDisplay.txt -C build/classes display/U_MainWindow_Parameters.class -C build/classes display -C build/classes locales
jar cvfm IBMiSqlDisplay.jar manifestIBMiSqlDisplay.txt -C build/classes display/U_MainWindow_Parameters.class -C build/classes display -C build/classes locales
echo -------------------------------------------
echo The following command executes the Jar file
echo java -jar IBMiSqlDisplay.jar
java -jar IBMiSqlDisplay.jar