We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066096e commit 005da7eCopy full SHA for 005da7e
install.sh
@@ -16,6 +16,15 @@
16
17
set -e
18
19
+# check require
20
+type java >/dev/null 2>&1 || {
21
+ echo >&2 "`tput setaf 1`ERROR: This script require java but it's not installed. `tput sgr0`"
22
+ echo >&2
23
+ echo >&2 "Please install java first."
24
+ echo >&2 "`tput setaf 4`https://www.java.com`tput sgr0`"
25
+ exit 1
26
+}
27
+
28
# Always download the latest version
29
# For more information about the cg.jar, please vist the following page:
30
# https://github.com/excel-code-generator/code-generator
0 commit comments