public static int getMinorVersion(String version, String prefix) {
        String s = version.substring(prefix.length());
        int major = Integer.parseInt(s);
        s = s.substring((int) (Math.log10(major) + 2));
        return Integer.parseInt(s);
    }
Maps OpenCL error token values to their String representations. 
        Taken directly from org.lwjgl.opencl.Util
jme3-lwjgl/src/main/java/com/jme3/opencl/lwjgl/Utils.java