Clear the Java distributions cache folder
java_clear_distrib_cache(
  cache_path = getOption("rJavaEnv.cache_path"),
  check = TRUE,
  delete_all = FALSE
)A message indicating whether the cache was cleared or not.
The cache directory to clear. Defaults to the user-specific data directory.
Whether to list the contents of the cache directory before clearing it. Defaults to TRUE.
Whether to delete all items without prompting. Defaults to FALSE.