Skip to content

Allow specifying AppCDS cache location and use safer default #9701

Closed

Description

@headius

Clone of #9667 for 10.1.

JRuby is frequently installed via a package manager that makes the install location read-only. This prevents the AppCDS cache (and any future caches stored in lib) from being writable, leading to warnings or errors at startup.

We need to provide a standard way to specify the location of the AppCDS jsa cache file. Additionally, this cache should probably default to somewhere under $HOME/.cache as is now common on most *nix platforms.

Activity

  1. added this to the JRuby 10.1.2.0 milestone on Sep 16, 2026
  2. headius commented on Sep 16, 2026

    @headius
    MemberAuthor

    Fixed by #9698 merged from 10.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions