-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
@patric-r,
I'm seeing this error with openjdk:
[user@server jvmtop-0.8.0]$ ./jvmtop.sh /usr/lib/jvm/java-11-openjdk-11.0.3.7-0.el7_6.x86_64 seems to be no JDK!
It has something to do with the tools.jar
[user@server jvmtop-0.8.0]$ grep -3 seems jvmtop.sh
TOOLSJAR="$JAVA_HOME/lib/tools.jar"
if [ ! -f "$TOOLSJAR" ] ; then
echo "$JAVA_HOME seems to be no JDK!" >&2
exit 1
fi
tools.jar which seems to be a prerequisite for running jvmtop was removed with java 9, see https://www.reddit.com/r/javahelp/comments/765mwr/installed_jdk_9_and_my_toolsjar_is_missing/
[user@server jvm]$ find /usr/lib/jvm/* -type f -name tools.jar
[user@server jvm]$
So it can't be used at least with OpenJDK or Amazon Corretto in Version 11.
Any ideas?
delthas, pditommaso, darioseidl, St0rmingBr4in, Geezus42 and 1 more
Metadata
Metadata
Assignees
Labels
No labels