JVisualVM supports more complex data types like arrays . try using that to connect .
I had similar problem with Jconsole. You might have to use older jdks , as new jdks don't have jvusalvm