run java class from cpp code