Mob 24 b: changes to aid running of groovy from java