Just read the error message:

foodcalc.java:1: error: ';' expected
It says quite clearly, that it expects a semicolon.