change to java app