visualvm doesn't work with java9

Bug #1738661 reported by Stephen Crowley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
visualvm (Debian)
Fix Released
Unknown
visualvm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

oracle-java9-installer and oracle-java9-set-default are installed. I try to start visualvm and it gives some warnings.. shows the splash screen for a few seconds, and then exits back to the terminal with no error messages.

stephen@bb:~$ visualvm
WARNING: Unknown module: jdk.jvmstat specified to --add-exports
WARNING: Unknown module: jdk.jvmstat specified to --add-exports
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/netbeans/platform18/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
stephen@bb:~$

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: visualvm 1.3.9-1
ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13
Uname: Linux 4.13.0-19-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: amd64
CurrentDesktop: GNOME-Flashback:GNOME
Date: Sun Dec 17 14:36:30 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-01-05 (346 days ago)
InstallationMedia: It
PackageArchitecture: all
SourcePackage: visualvm
UpgradeStatus: Upgraded to artful on 2017-10-22 (56 days ago)

Revision history for this message
Stephen Crowley (crowlogic) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this and help making Ubuntu better.

I found a corresponding bug report in Debian, so I have attached a bug watch and am marking it as confirmed.

Changed in visualvm (Ubuntu):
status: New → Confirmed
tags: added: bionic
Changed in visualvm (Debian):
status: Unknown → New
Changed in visualvm (Debian):
status: New → Fix Released
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Looks like this is fixed now. The version in the Debian bug report got added to Ubuntu 18.04 in an update. I just tested with visualvm 1.4.2-2~18.04.1 and Java11 which starts without issues and seems to work as expected.

Changed in visualvm (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.