Fix (some) java compile errors.
Fix (some) java compile errors.

shepheb/foam,mdittmer/foam,foam-framework/foam,osric-the-knight/foam,foam-framework/foam,shepheb/foam,jacksonic/foam,jacksonic/foam,mdittmer/foam,osric-the-knight/foam,jlhughes/foam,foam-framework/foam,osric-the-knight/foam,mdittmer/foam,foam-framework/foam,osric-the-knight/foam,jacksonic/foam,jlhughes/foam,jlhughes/foam,jlhughes/foam,foam-framework/foam,shepheb/foam,jacksonic/foam,mdittmer/foam