Skip to content

Instantly share code, notes, and snippets.

@ctrueden
Last active Jun 19, 2020
Embed
What would you like to do?
Where is libjvm in various JDKs?
$ for f in *.tar.gz
do
echo
echo "[$f]"
result=$(tar tf "$f" | grep -i 'jvm\.\(dll\|dylib\|so\)$')
test "$result" && echo "$result" || echo "--> NOTHING FOUND"
done; for f in *.zip
do
echo
echo "[$f]"
result=$(zipinfo -1 "$f" | grep -i 'jvm\.\(dll\|dylib\|so\)$')
test "$result" && echo "$result" || echo "--> NOTHING FOUND"
done; find /Library/Java/JavaVirtualMachines -iname libjvm.dylib
[zulu11.39.15-ca-jdk11.0.7-win_x64.zip]
zulu11.39.15-ca-jdk11.0.7-win_x64/bin/server/jvm.dll
[zulu13.31.11-ca-jdk13.0.3-win_x64.zip]
zulu13.31.11-ca-jdk13.0.3-win_x64/bin/server/jvm.dll
[zulu14.28.21-ca-jdk14.0.1-win_x64.zip]
zulu14.28.21-ca-jdk14.0.1-win_x64/bin/server/jvm.dll
[zulu8.46.0.19-ca-fx-jdk8.0.252-win_x64.zip]
zulu8.46.0.19-ca-fx-jdk8.0.252-win_x64/jre/bin/server/jvm.dll
[jbrsdk-11_0_6-linux-x64-b520.66.tar.gz]
jbrsdk/lib/server/libjvm.so
[jbrsdk-11_0_6-osx-x64-b520.66.tar.gz]
jbrsdk/Contents/Home/lib/server/libjvm.dylib
jbrsdk/Contents/Home/lib/server/libjvm.dylib.dSYM/Contents/Resources/DWARF/libjvm.dylib
[jbrsdk-11_0_6-windows-x64-b520.66.tar.gz]
jbrsdk/bin/server/jvm.dll
[jbrsdk-8u232-linux-i586-b1638.6.tar.gz]
jre/lib/i386/server/libjvm.so
[jbrsdk-8u232-linux-x64-b1638.6.tar.gz]
jre/lib/amd64/server/libjvm.so
[jbrsdk-8u232-osx-x64-b1638.6.tar.gz]
jdk/Contents/Home/jre/lib/server/libjvm.dylib
[jbrsdk-8u232-windows-i586-b1638.6.tar.gz]
jre/bin/server/jvm.dll
[jbrsdk-8u232-windows-x64-b1638.6.tar.gz]
jre/bin/server/jvm.dll
[jbrsdk-8u242-linux-i586-b1644.3.tar.gz]
jre/lib/i386/server/libjvm.so
[jbrsdk-8u242-linux-x64-b1644.3.tar.gz]
jre/lib/amd64/server/libjvm.so
[jbrsdk-8u242-osx-x64-b1644.3.tar.gz]
jdk/Contents/Home/jre/lib/server/libjvm.dylib
[jbrsdk-8u242-windows-i586-b1644.3.tar.gz]
jre/bin/server/jvm.dll
[jbrsdk-8u242-windows-x64-b1644.3.tar.gz]
jre/bin/server/jvm.dll
[zulu11.39.15-ca-jdk11.0.7-linux_musl_x64.tar.gz]
zulu11.39.15-ca-jdk11.0.7-linux_musl_x64/lib/server/libjvm.so
[zulu11.39.15-ca-jdk11.0.7-linux_x64.tar.gz]
zulu11.39.15-ca-jdk11.0.7-linux_x64/lib/server/libjvm.so
[zulu11.39.15-ca-jdk11.0.7-macosx_x64.tar.gz]
./zulu11.39.15-ca-jdk11.0.7-macosx_x64/zulu-11.jdk/Contents/Home/lib/server/libjvm.dylib
[zulu13.31.11-ca-jdk13.0.3-linux_x64.tar.gz]
zulu13.31.11-ca-jdk13.0.3-linux_x64/lib/server/libjvm.so
[zulu13.31.11-ca-jdk13.0.3-macosx_x64.tar.gz]
./zulu13.31.11-ca-jdk13.0.3-macosx_x64/zulu-13.jdk/Contents/Home/lib/server/libjvm.dylib
[zulu14.28.21-ca-jdk14.0.1-linux_x64.tar.gz]
zulu14.28.21-ca-jdk14.0.1-linux_x64/lib/server/libjvm.so
[zulu14.28.21-ca-jdk14.0.1-macosx_x64.tar.gz]
./zulu14.28.21-ca-jdk14.0.1-macosx_x64/zulu-14.jdk/Contents/Home/lib/server/libjvm.dylib
[zulu8.40.0.25-ca-fx-jdk8.0.222-macosx_x64.tar.gz]
zulu8.40.0.25-ca-fx-jdk8.0.222-macosx_x64/jre/lib/server/libjvm.dylib
[zulu8.46.0.19-ca-fx-jdk8.0.252-linux_x64.tar.gz]
zulu8.46.0.19-ca-fx-jdk8.0.252-linux_x64/jre/lib/amd64/server/libjvm.so
[zulu8.46.0.19-ca-fx-jdk8.0.252-macosx_x64.tar.gz]
./zulu8.46.0.19-ca-fx-jdk8.0.252-macosx_x64/zulu-8.jdk/Contents/Home/jre/lib/server/libjvm.dylib
[zulu11.39.15-ca-jdk11.0.7-win_x64.zip]
zulu11.39.15-ca-jdk11.0.7-win_x64/bin/server/jvm.dll
[zulu13.31.11-ca-jdk13.0.3-win_x64.zip]
zulu13.31.11-ca-jdk13.0.3-win_x64/bin/server/jvm.dll
[zulu14.28.21-ca-jdk14.0.1-win_x64.zip]
zulu14.28.21-ca-jdk14.0.1-win_x64/bin/server/jvm.dll
[zulu8.46.0.19-ca-fx-jdk8.0.252-win_x64.zip]
zulu8.46.0.19-ca-fx-jdk8.0.252-win_x64/jre/bin/server/jvm.dll
/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/lib/server/libjvm.dylib
/Library/Java/JavaVirtualMachines/adoptopenjdk-9.jdk/Contents/Home/lib/server/libjvm.dylib
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/server/libjvm.dylib
/Library/Java/JavaVirtualMachines/adoptopenjdk-12.jdk/Contents/Home/lib/server/libjvm.dylib
/Library/Java/JavaVirtualMachines/adoptopenjdk-10.jdk/Contents/Home/lib/server/libjvm.dylib
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/lib/server/libjvm.dylib
/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/jre/lib/server/libjvm.dylib
/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/libjvm.dylib
/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/lib/server/libjvm.dylib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment