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