# DbEnv.get_version_major

`

###

    import com.sleepycat.db.*;

    public static int get_version_major();
    public static int get_version_minor();
    public static int get_version_patch();
    public static String get_version_string();

# Description

These methods return version information about the underlying Berkeley DB software. Berkeley DB is released with a major, minor and patch number, which is returned by DbEnv.get_version_major, DbEnv.get_version_minor and DbEnv.get_version_patch. A verbose version of this information, suitable for display, is returned by DbEnv.get_version_string.

### Class

DbEnv

# See Also

DbEnv.close, DbEnv.open, DbEnv.remove, DbEnv.strerror, DbEnv.get_version_string DbEnv.set_cachesize, DbEnv.set_errcall, DbEnv.set_error_stream, DbEnv.set_errpfx, and DbEnv.set_verbose.`

Copyright Sleepycat Software