Java mehtod that returns OS name

Asked by ace.bihi

Hi , I need to know if there is a method that returns the OS name . i know that the enum exists but that method that I need is the one who returns that type of Enum (that returns OS) (please see the link to javadoc : http://sikuli.org/doc/java-x/org/sikuli/script/OS.html ).
thanks for help

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
ace.bihi
Solved:
Last query:
Last reply:
Revision history for this message
ace.bihi (anas-bihi) said :
#1

Sorry for disturbing you guys, i've found the solution:

Use Env.getOS() method.

thanls for help guys !