I would like to determine the operating system of the host that my Java program is running programmatically (for example: I would like to be able to load different propertie
The following JavaFX classes have static methods to determine current OS (isWindows(),isLinux()...):
Example:
if (PlatformUtil.isWindows()){ ... }