Open seannybgoode opened 8 years ago
Hi, is just JAVA_HOME
env variable not enough here for the use case ?
it seems to be picky about certain configurations.
From my console just now:
sean@laptop:~/Desktop/jvmtop$ echo $JAVA_HOME /usr/bin/jdk/bin sean@laptop:~/Desktop/jvmtop$ '/home/sean/Desktop/jvmtop/jvmtop.sh' /usr/lib/jvm/java-7-openjdk-amd64/jre seems to be no JDK! sean@laptop:~/Desktop/jvmtop$
And just troubleshooting:
sean@laptop:~/Desktop/jvmtop$ . /etc/environment sean@laptop:~/Desktop/jvmtop$ '/home/sean/Desktop/jvmtop/jvmtop.sh' /usr/lib/jvm/java-7-openjdk-amd64/jre seems to be no JDK! sean@laptop:~/Desktop/jvmtop$ echo $JAVA_HOME /usr/bin/jdk/
Hi, does /usr/bin/jdk really contain a jdk? Can you execute ls /usr/bin/jdk
?
I use several different JDKs for testing and compatibility purposes, and I like to have those lying around in places that are convenient for me. It would be very useful to be able to specify which jdk to use when running jvmtop.