Skip to content

Commit c8cb1b4

Browse files
committed
remove JAVA_HOME sanity check
1 parent 7fadda9 commit c8cb1b4

File tree

1 file changed

+1
-1
lines changed
  • platform/o.n.bootstrap/launcher/unix

1 file changed

+1
-1
lines changed

platform/o.n.bootstrap/launcher/unix/nbexec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ if [ -z "$jdkhome" ] ; then
158158
fi
159159
;;
160160
*)
161-
if [ ! -z "x${JAVA_HOME}" -a -x "${JAVA_HOME}/bin/java" ]; then
161+
if [ ! -z "x${JAVA_HOME}" ]; then
162162
jdkhome="${JAVA_HOME}"
163163
else
164164
# Doesn't work with jenv-style shims

0 commit comments

Comments
 (0)