Skip to content
Last Updated
Nov 3, 2026, 03:46

Java Data Cache ​

Dis cat scroll haz not been translated 2 LOLCAT yet!

Teh scroll iz in English. If u wanna help teh cat clowdr translate, chek xmcl-page on GitHub.

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

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

Java Cache JSON Format ​

json5
{
    "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
        },
    ]
}