The example program MigrateVM.java use the deprecated method waitForMe() (line 94).
The example should be changed in:
...
if (task.waitForTask() == Task.SUCCESS) {
...
I would have changed it myself but i cant find the correct way.
With best Regards
Rainer