getting handle from a compiled java program