How do I determine what platform I am running on?
I.e Android/Linux/Window/OSX/IOS?
How do I determine what platform I am running on?
I.e Android/Linux/Window/OSX/IOS?
You should Google that. “Java detect os.”
I believe it was that System.getOperatingSystem() or something returns a string and you have to match it then. Googling will take you there
It will be something like
System.getProperty("os.name");
You can also use the built-in method JmeSystem.getPlatform()