You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zulu JDK (one installed through SDKMAN) is being recognized as OpenJDK. This is due to ordering in ifs and the fact Zulu is repackaged OpenJDK, but with notably different provider and others). I'll create a pull request for this shortly.
Noteworthy - I have one JDK and jenv parsed the output of java -version and found three (yes, 3). While I don't agree, I won't tackle this in this issue, since I found it in #136.
The text was updated successfully, but these errors were encountered:
if $JENV_JAVAPATH/bin/java -version 2>&1 | grep -q "HotSpot"; then
JAVA_PROVIDER="oracle"
else
if $JENV_JAVAPATH/bin/java -version 2>&1 | grep -q "OpenJDK"; then
JAVA_PROVIDER="openjdk"
else
if $JENV_JAVAPATH/bin/java -version 2>&1 | grep -q "J9"; then
JAVA_PROVIDER="ibm"
else
if $JENV_JAVAPATH/bin/java -version 2>&1 | grep -q "SAP"; then
JAVA_PROVIDER="sap"
else
JAVA_PROVIDER="other"
fi;
fi;
fi;
fi;
I've added new grep call PRIOR to OpenJDK one, since Zulu repackages and certifies OpenJDK and in it's java -version you will find both OpenJDK and Zulu.
Zulu JDK (one installed through SDKMAN) is being recognized as OpenJDK. This is due to ordering in ifs and the fact Zulu is repackaged OpenJDK, but with notably different provider and others). I'll create a pull request for this shortly.
Noteworthy - I have one JDK and jenv parsed the output of
java -version
and found three (yes, 3). While I don't agree, I won't tackle this in this issue, since I found it in #136.The text was updated successfully, but these errors were encountered: