Java isolates using classloader isolation or spawned child VMs.