INNER CODE UNIT · Java

check_jdk_version

WeBankBlockchain/WeIdentity · check-info.sh:44

function check_jdk_version() {
	echo "----------------------------"
	echo "2. JDK Version"
	echo "----------------------------"
	checkCommand java
	if [ $? == 1 ] ; then
		java -version
	else
		echo "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
	fi
}

# check the gradle version
function check_gradle_version() {
	echo "----------------------------"
	echo "3. Gradle Version"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…