When i call VirtualMachine.list(), it works fine when i'm on eclipse and with jdk. But as soon as i change to jre, or the i try my app out of eclipse, this method seems to return an empty list each time. I need to be able to run my application anywhere wih just a JRE.
for(VirtualMachineDescriptor jvm : VirtualMachine.list()){
System.out.println("jvm: " + jvm.displayName());
}