nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/LibUtils.java
public static String getOsName() {
        OSType osType = calculateOS();
        switch (osType) {
            case APPLE:
                return "macosx";
            case LINUX:
                return "linux";
            case SUN:
                return "sun";
            case WINDOWS:
                return "windows";
        }
        return "";
    }
public static String getOsName() {
        OSType osType = calculateOS();
        switch (osType) {
            case APPLE:
                return "macosx";
            case LINUX:
                return "linux";
            case SUN:
                return "sun";
            case WINDOWS:
                return "windows";
        }
        return "";
    }
public static String getOsName ( ) { OSType osType = calculateOS ( ) ; switch ( osType ) { case APPLE : return "macosx" ; case LINUX : return "linux" ; case SUN : return "sun" ; case WINDOWS : return "windows" ; } return "" ; }
Get the name of the os
for libary discovery on the classpath
@return
Get the name of the os for libary discovery on the classpath