With JDK-8351073 we added keys/values below to Info.plist for runtime installers. Such keys/values are missing from embedded runtimes. If embedded runtime contains "bin" folder keys/values below should make such runtime to work as standalone runtime. This should gave application developer ability to run embedded runtime from command line or call it via "java" launcher from application.
<key>NSMicrophoneUsageDescription</key>
<string>The application is requesting access to the microphone.</string>
<key>JavaVM</key>
<dict>
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
<key>JVMPlatformVersion</key>
<string>CF_BUNDLE_VERSION</string>
<key>JVMVendor</key>
<string>CF_BUNDLE_VENDOR</string>
<key>JVMVersion</key>
<string>CF_BUNDLE_VERSION</string>
</dict>
<key>NSMicrophoneUsageDescription</key>
<string>The application is requesting access to the microphone.</string>
<key>JavaVM</key>
<dict>
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
<key>JVMPlatformVersion</key>
<string>CF_BUNDLE_VERSION</string>
<key>JVMVendor</key>
<string>CF_BUNDLE_VENDOR</string>
<key>JVMVersion</key>
<string>CF_BUNDLE_VERSION</string>
</dict>
- relates to
-
JDK-8351073 [macos] jpackage produces invalid Java runtime DMG bundles
-
- Resolved
-