Public bug reported: Binary package hint: visualvm
On a default installation of Ubuntu 10.10 the OpenJava JRE is installed. Install the Sun JDK from the Ubuntu repositories and the Java monitoring tool VisualVM is bundled with it. VisualVM requires a JDK and does not work with a JRE installation of Java. The launch script for VisualVM (/usr/bin/jvisualvm) contains a line that checks for a JDK, line 13: for j in /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun; do This line fails to find the Sun JDK but instead attempts to launch VisualVM using the OpenJava JRE. VisualVM fails to launch and presents a popup dialog asking for a valid JDK. By switching the order of the "Sun" and "Open" paths in line 13 the problem is fixed and VisualVM loads correctly. for j in /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-6-openjdk; do The Ubuntu package is: visualvm version 1.3-0ubuntu2 ** Affects: visualvm (Ubuntu) Importance: Undecided Status: New -- visualvm fails to launch because it can't find jdk https://bugs.launchpad.net/bugs/657048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs