jpackaged .app not compatible with macOS sandboxing?

Kevin Rushforth kevin.rushforth at oracle.com
Thu Apr 4 14:18:38 UTC 2019


On 4/4/2019 5:32 AM, Kustaa Nyholm wrote:

>> On 4 Apr 2019, at 14.47, Kevin Rushforth <kevin.rushforth at oracle.com> wrote:
>>
>> I have seen this problem running robot-based tests on Mojave using a standard JDK, so I don't think this is specific to jpackage. I had to grant permission to control the computer to the terminal used to execute java rather than java itself. You could try that as a workaround.
>>
> As I launch the application by double clicking at the .app where does the terminal come in?

I see. In that case, my suggestion won't help you (although as a test of 
whether this is the issue, you could try launching the app from the 
terminal to see if that makes a difference).

>> Also is this a work around for being able to grant the control to the app or
>> to the phenomenon that the icon and name are wrong in the System Preferences pane
>> where the access is granted?

I meant as a workaround of the problem of not being able to grant access 
to the application. It seems we will need to find a solution to this, so 
I'll file a bug (which may or may not be related to jpacakge).

-- Kevin



More information about the core-libs-dev mailing list