More work on java vm