public static int getOS(){
        String os = System.getProperty("os.name").toLowerCase();
        if(os.contains("linux"))return OS_LINUX;
        if(os.contains("lunix"))return OS_LINUX;
        if(os.contains("win"))return OS_WINDOWS;
        if(os.contains("mac"))return OS_APPLE;
        if(os.contains("solaris"))return OS_SOLARIS;
        if(os.contains("sunos"))return OS_SOLARIS;
        return OS_WEIRD;
    }