Currently /opt/jvmstat/bin/visualgc uses `which java` to determine the java executable. Java-config-2 breaks this. The attached patch is an attempt to fix that.
Created attachment 100447 [details, diff] jvmstat-javaconfig2.patch Use java-config-2 for detecting of JAVA_HOME
Fixed in Feb 2007