Update NonMain.java