ADDED: Java version detection for OSX
Merge pull request #700 from Viper-7/master

ADDED: Java version detection for OSX