Is it possible to get the VM the program is currently running in? I know there is a VirtualMachine.list()
method but I can't figure out how to find the right one. I can't search for a specific displayName
since it's dynamic.
Is there another way to find the right VM?