select the java file from file panel and right click, when the pop-up menu come out, select "make" and click it.