os.name posix(mac)/nt(win)plantform.system() Darwin(mac)/Linux/Windows/Javasys.plantform win32(windows)/linux(Liunx)/cygwin(Windows/Cygwin)/darwin(MAC)