Handle Oracle Java on OS X
Bugfix for OS X