Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit b40fe14

Browse files
committed
hide the retreived java home path in console
refs 74f0860
1 parent 8f0e4a3 commit b40fe14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/universalJavaApplicationStub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ elif [ ! -z ${JVMVersion} ] ; then
321321
fi
322322

323323
# otherwise check "/usr/libexec/java_home" symlinks
324-
elif [ -x /usr/libexec/java_home ] && /usr/libexec/java_home -F; then
324+
elif [ -x /usr/libexec/java_home ] && /usr/libexec/java_home -F > /dev/null; then
325325
JAVACMD="`/usr/libexec/java_home 2> /dev/null`/bin/java"
326326

327327
# otherwise check Java standard symlink (old Apple JRE)

0 commit comments

Comments
 (0)