Skip to content

Java Data Cache

XMCL caches all found java in a JSON file, which is saved in the xmcl data directory.

xmcl data directory
└─ java.json # java cache file

Java Cache JSON Format

    "all": [
            // Path of the executable file
            "path": "path/to/java",
            // Cached version
            "version": "11.0.6",
            // Major version number
            "majorVersion": 11,
            // Whether it is accessible and executable
            "valid": true

Released under the MIT License.