This bug does not seem to be fixed: Using Ubuntu 11.10 amd64 Installed packages: • visualvm 1.3.2-0ubuntu1 from oneiric • openjdk-7-demo 7~b147-2.0-0ubuntu0.11.10.1 from oneiric-updates • openjdk-7-doc 7~b147-2.0-0ubuntu0.11.10.1 from oneiric-updates • openjdk-7-jdk 7~b147-2.0-0ubuntu0.11.10.1 from oneiric-updates • openjdk-7-jre 7~b147-2.0-0ubuntu0.11.10.1 from oneiric-updates • openjdk-7-jre-headless 7~b147-2.0-0ubuntu0.11.10.1 from oneiric-updates • openjdk-7-jre-lib 7~b147-2.0-0ubuntu0.11.10.1 from oneiric-updates • openjdk-7-source 7~b147-2.0-0ubuntu0.11.10.1 from oneiric-updates no java 6 installed, no sun java installed
when starting jvisualvm from terminal I get this: –––––––––––––––––––––––––– $ jvisualvm No jdkhome found –––––––––––––––––––––––––– the reason is that in /usr/bin/jvisualvm , line 13 the paths for java-6-openjdk and java-6-sun are hard-coded. Without having any java 6 installed jvisualvm can not start. How about a) integrating java-7-openjdk b) using the path of /etc/alternatives/javac instead/additionally -- 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