Browse Source

Merge pull request #461 from andrewflbarnes/bugfix/always-64bit

fix: correctly detect 32/64 bit
pull/438/head
Barnesly 2 weeks ago committed by GitHub
parent
commit
23252dc525
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      libexec/jenv-add

2
libexec/jenv-add

@ -121,7 +121,7 @@ if [ -f "${JENV_JAVAPATH}/bin/java" ]; then @@ -121,7 +121,7 @@ if [ -f "${JENV_JAVAPATH}/bin/java" ]; then
esac
fi;
if [ $JAVA_PROVIDER=="sap" ]; then
if [ "$JAVA_PROVIDER" == "sap" ]; then
JAVA_PLATFORM="64"
else
if "${JENV_JAVAPATH}/bin/java" -version 2>&1 | grep -q "64-Bit"; then

Loading…
Cancel
Save