I have an installer application I am building in javafx but I can't figure out how to get the operating system it is running on so I can place files in the right locations for each system and so I can customize the interface for each. If anyone has any ideas or knows of a website that I can go to for help that would be great. I already tried oracle I could not find anything on ther but if you find a specific page please let me know. Thanks.
Jump to Post
Nobody else has answered so, despite the fact that I've never actually done this myself, there's nothing to lose by having a go!
The doc says that JavaFX can use Java classes, so in theory you should just be able to call the Java
[ICODE]System.getProperty(p); // where p is "os.name", …