proper java compiling for darwin, and oops