I need to check if osx version <10.5 inside java is this possible?
Try
System.getProperty("os.name")
and / or
System.getProperty("os.version")
It returns a string
HERE , you can find more information about System.getProperties
Use System.getProperty .
System.getProperty("os.version");
The list of valid arguments for the function can be found here.
, System getProperties . . "Os.version"
OS X, : 10.5.1
System.getProperty("os.name"), , OS X