Cache directory#
By default, cjdk uses the platform-dependent user cache directory to store downloaded JDKs and other data. The defaults are:
On Windows,
%LOCALAPPDATA%\cjdk\cache, which is usually%USERPROFILE%\AppData\Local\cjdk\cache,On macOS,
~/Library/Caches/cjdk, andOn other platforms,
~/.cache/cjdkor, if defined,$XDG_CACHE_HOME/cjdk.
You can override the default cache directory by setting the environment
variable CJDK_CACHE_DIR.
You can safely delete the cache directory at any time, provided that cjdk and the JDKs installed by it are not in use.