X

An Oracle blog about NetBeans Profiler

Problems Adding Remote Hosts in VisualVM on Linux/Solaris

Some problems have been identified in VisualVM when running on Linux or Solaris using OpenJDK or JDK 7. Due to a JDK bug in GTK LaF implementation it's not possible to open the Host customizer in VisualVM 1.2 and newer. This affects the 'Add Remote Host' and 'Host Properties' actions which throw a java.lang.NullPointerException and don't allow to edit and/or add hosts. Details are available in the VisualVM Troubleshooting Guide.

There's an easy workaround to this problem, the VisualVM can be configured to use a different look'n'feel: visualvm --laf Nimbus or visualvm --laf Metal. The LaF to be used can be configured permanently in visualvm/etc/visualvm.conf configuration file. Another possibility is to run the VisualVM using Sun JDK 6.

The problem is now resolved on VisualVM side in development builds and will be available in the next release.

Join the discussion

Comments ( 1 )
  • guest Monday, June 20, 2011

    I'm running VisualVM1.3 on Linux platform with JAVA version of jdk160_23-x64.

    it is able to add 'Host' but doesn't show the process ...


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services