add java executable on OS X, force local when running