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.
DarkLightning7
12
Junior Poster in Training
Recommended Answers
Jump to PostNobody 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 JavaSystem.getProperty(p); // where p is "os.name", …
All 2 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
DarkLightning7
12
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.