Bug 580432

Summary: [Workaround] Cannot launch jvisualvm after Netbeans update
Product: [Fedora] Fedora Reporter: Mat Booth <mat.booth>
Component: java-1.6.0-openjdkAssignee: Martin Matejovic <mmatejov>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 13CC: dbhole, langel, lkundrak, mjw, mmatejov
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-06 11:37:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mat Booth 2010-04-08 09:15:48 UTC
After upgrading to F13, JVisualVM no longer launches from the link in the applications menu. (The menu item Applications->Programming->VisualVM.)

When launched from the terminal, I see this:

[mbooth@su6951 ~]$ jvisualvm 
/bin/bash: /usr/lib/jvm/java-1.6.0-openjdk/bin/../lib/visualvm//platform*/lib/nbexec: No such file or directory

I have this version installed:

java-1.6.0-openjdk-devel.i686   1:1.6.0.0-36.b17.fc12

Also it might be worth noting that /etc/alternatives/jvisualvm and /usr/bin/jvisualvm are not owned by any package on my system.

Comment 1 Mat Booth 2010-04-08 09:41:20 UTC
It is caused by Netbeans being upgraded to platform11, because VisualVM has a broken symlink to platform10 in its directory.

Doing the following fixed it for me:

cd /usr/lib/jvm/java-1.6.0-openjdk/lib/visualvm
su -c 'rm -rf platform10'
su -c 'ln -s /usr/share/netbeans/platform11/ .'

Comment 2 Fedora Update System 2010-05-13 07:53:19 UTC
java-1.6.0-openjdk-1.6.0.0-38.b18.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/java-1.6.0-openjdk-1.6.0.0-38.b18.fc13

Comment 3 Fedora Update System 2010-06-10 12:47:07 UTC
java-1.6.0-openjdk-1.6.0.0-39.b18.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/java-1.6.0-openjdk-1.6.0.0-39.b18.fc13

Comment 4 Fedora Update System 2010-06-10 19:19:00 UTC
java-1.6.0-openjdk-1.6.0.0-39.b18.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.