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

Commit 74f0860

Browse files
committed
hide the retreived java home path in console
1 parent cc539ac commit 74f0860

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
@@ -287,7 +287,7 @@ if [ -n "$JAVA_HOME" ] ; then
287287
elif [ ! -z ${JVMVersion} ] ; then
288288

289289
# first in "/usr/libexec/java_home" symlinks
290-
if [ -x /usr/libexec/java_home ] && /usr/libexec/java_home -F -v ${JVMVersion}; then
290+
if [ -x /usr/libexec/java_home ] && /usr/libexec/java_home -F -v ${JVMVersion} > /dev/null ; then
291291
JAVACMD="`/usr/libexec/java_home -F -v ${JVMVersion} 2> /dev/null`/bin/java"
292292

293293
# then in Apple JRE plugin

0 commit comments

Comments
 (0)