[SRU] VisualVM does not start with openjdk 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
visualvm (Ubuntu) |
Fix Released
|
Undecided
|
Aditya V | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Request for precise
#### SRU Justification ###
[Impact]
jvisualvm is currently unable to start in Precise when using OpenJDK 7.
[Development Fix]
Fixed in lp:~kroq-gar78/ubuntu/precise/visualvm/fix-start revno 16 (http://
[Stable Fix]
To do this after the package has been installed, edit the file /usr/bin/jvisualvm and include the same fix, following this diff:
@@ -8,9 +8,10 @@
progdir=/usr/bin
APPNAME=visualvm
BASEDIR=
+ARCH=`dpkg --print-
jdkhome=
-for j in /usr/lib/
+for j in /usr/lib/
if [ -x $j/bin/javac ]; then
jdkhome=$j
break
Since /usr/bin/jvisualvm is the same file as debian/jvisualvm in the package source, the file can be edited exactly as it was edited in the Bazaar branch above.
[Test Case]
1) Install the package 'visualvm'
2) Make sure openjdk-6-jre nor openjdk-6-jdk are installed
3) Run 'jvisualvm' from a terminal
With the version in Precise, it will error out with:
No jdkhome found.
[Regression Potential]
The potential for regression is extremely low because running the program isn't currently possible with OpenJDK 7.
#######
visualvm 1.3.2-0ubuntu2 running on Ubuntu 12.04 LTS.
Related branches
- Jamie Strandboge: Approve
- Ubuntu branches: Pending requested
-
Diff: 31 lines (+10/-1)2 files modifieddebian/changelog (+8/-0)
debian/jvisualvm.sh (+2/-1)
- Stefano Rivera: Approve
- Ubuntu branches: Pending requested
-
Diff: 31 lines (+10/-1)2 files modifieddebian/changelog (+8/-0)
debian/jvisualvm.sh (+2/-1)
summary: |
- VisualVM does not start with openjdk 7 + [SRU] VisualVM does not start with openjdk 7 |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.