We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5df36b commit 2e71980Copy full SHA for 2e71980
src/universalJavaApplicationStub
@@ -574,7 +574,6 @@ if [ -z "${JAVACMD}" ] || [ ! -x "${JAVACMD}" ] ; then
574
# idea: https://stackoverflow.com/a/14085460/1128689 and https://scriptingosx.com/2018/07/parsing-dscl-output-in-scripts/
575
javaXml=$(/usr/libexec/java_home --xml)
576
javaCounter=$(/usr/libexec/PlistBuddy -c "Print" /dev/stdin <<< $javaXml | grep "Dict" | wc -l | tr -d ' ')
577
- stub_logger "[JavaSearch] ... found $javaCounter JVM's"
578
579
# iterate over all Dict entries
580
for idx in $(seq 0 $((javaCounter - 1)))
0 commit comments