Call java from main