Comment 8 for bug 657048

Revision history for this message
veyvr (chris-std) wrote :

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