Bug#877792: visualvm: Can't start (possible due to java 9)

Vincent Bernat bernat at debian.org
Wed Nov 7 16:21:36 GMT 2018


 ❦  5 octobre 2017 16:30 -0300, "Nelson A. de Oliveira" <naoliv at debian.org>:

> I am unsure if it's happening because I am using openjdk 9, but I can't
> start visualvm:
>
> =====
> $ visualvm
> Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
> 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
> =====

I get the same problem. But I am also unable to start it with Java 8.
Could you try?

visualvm --jdkhome /usr/lib/jvm/java-9-openjdk-amd64
-- 
The surest protection against temptation is cowardice.
		-- Mark Twain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20181107/7e006975/attachment.sig>


More information about the pkg-java-maintainers mailing list