I had this problem as well with visualvm version 1.3.2-0ubuntu2. As a workaround I remove the empty directory /usr/lib/jvm/java-6-openjdk and created a symlink in it's place that points to /usr/lib/jvm/java-6 -openjdk-amd64. It seems strange that the package openjdk-6-jdk would install an empty directory, maybe they forgot to make it a symlink?
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/657048 Title: visualvm fails to launch because it can't find jdk: "Cannot find java. Please use the --jdkhome switch" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/visualvm/+bug/657048/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs