JDK-8288249 : Release Note: Allow per-user and system wide configuration of a jpackaged app
  • Type: Sub-task
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2022-06-10
  • Updated: 2022-06-10
  • Resolved: 2022-06-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19Resolved
Description
jpackaged applications support both system-wide and per-user configuration.

jpackage application launcher will look up the corresponding .cfg file not only in the application installation directory (the system-wide installation location) but also in user-specific locations. User-specific directories for .cfg file look up are:

Linux
~/.local/${PACKAGE_NAME}
~/.${PACKAGE_NAME}

macOS
~/Library/Application Support/${PACKAGE_NAME}

Windows
%LocalAppData%\%PACKAGE_NAME%
%AppData%\%PACKAGE_NAME%

where ${PACKAGE_NAME} and %PACKAGE_NAME% refer to jpackaged application name.

Comments
[~asemenyuk] please describe a Release Note in this Task Description above
10-06-2022