Re: jpackage EA 6 Build 49 (2019/4/19)

2019-04-23 Thread Kustaa Nyholm
t, it would be worth > trying it again. I will try again. But that is not the actual scenario which was that the resulting .app file did not run on older macOS versions: On 4/3/19, 11:25 PM, Kustaa Nyholm wrote: > "You can't use this version of the application with this version o

Re: jpackage EA 6 Build 49 (2019/4/19)

2019-04-23 Thread Kustaa Nyholm
Hi, thanks for those fixes. What about the compatibility with older macOS version, I think you said you'd file a bug report but I never got the number of that. wbr Kusti > On 22 Apr 2019, at 17.38, Andy Herrick wrote: > > A sixth EA build (Build 49) of jpackage tool is available at > https

Re: jpackaged .app not compatible with macOS sandboxing?

2019-04-12 Thread Kustaa Nyholm
> On 4 Apr 2019, at 16.13, Andy Herrick wrote: > > We will file a bug for this part, and address it soon. > > /Andy > Thanks. Is there a bug report number and where can I monitor the progress please? wbr Kusti

Re: jpackaged .app not compatible with macOS sandboxing?

2019-04-04 Thread Kustaa Nyholm
> On 4 Apr 2019, at 14.47, Kevin Rushforth 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

jpackaged .app not compatible with macOS sandboxing?

2019-04-04 Thread Kustaa Nyholm
I've got an application that I package with jdk13 jpackage. The embedded JDK is 11.0.1+13. As reported by one of my testers on macOS Mojave it is not possible to add it to the list of applications that are allowed to control the computer (in System Preferences / Security & Privacy / Privacy /

Fwd: The application requires 10.13 or later.

2019-04-04 Thread Kustaa Nyholm
Sorry I posted below off-list. > Begin forwarded message: > > From: Kustaa Nyholm > Subject: Re: The application requires 10.13 or later. > Date: 4 April 2019 at 10.00.39 EEST > To: Philip Race > > Thanks Phil for the confirmation that 11 runs on older version, so &

The application requires 10.13 or later.

2019-04-03 Thread Kustaa Nyholm
Hi, last night I released a new version of my app and one of the testers reported he gets a dialog that says: "You can't use this version of the application with this version of OS X. You havew OS X 10.11.6. The application requires 10.13 or later." Now this is a first version of this particula

Robot.mouseMove() in macOS Mojave

2019-04-03 Thread Kustaa Nyholm
Hi, I've got an application where zooming with the scroll wheel on the mouse will also center the mouse on the screen (well window actually). This has worked since day one for some 15 years. The mouse centring is implemented with Robot.mouseMove() method. This morning I received a message from

Re: jpackage windows 32 bit jre

2019-01-25 Thread Kustaa Nyholm
xe \ >> --input empty-dir \ >> --output output \ >> --name jre8 \ >> --runtime-image jre8 \ > > /Andy > > On 1/25/2019 1:09 PM, Kustaa Nyholm wrote: >> I tried and succeeded in using the jpackage from jdk13 (not really) to >> package 32 bit java8 fo

jpackage windows 32 bit jre

2019-01-25 Thread Kustaa Nyholm
I tried and succeeded in using the jpackage from jdk13 (not really) to package 32 bit java8 for Windows. Everything goes nicely at build time and when I double click the .exe an install is performed, however the resulting installed .exe fails with "Failed to find library C:\Program Files\jDraft

Re: jpackage custom resources not found

2019-01-15 Thread Kustaa Nyholm
> On 15 Jan 2019, at 16.11, Andy Herrick wrote: > > You can do this all in one step "${PACKAGER} create-installer dmg " Thank you for you help, I appreciate it. I tested above and it fails with what looks suspiciously same error I was experiencing with javapackager and jpackager, see below

Re: jpackage custom resources not found

2019-01-15 Thread Kustaa Nyholm
> On 15 Jan 2019, at 12.57, Michael Hall wrote: > > Usually the latest jdk with the command would be the one you’d want? Funnily enough, I wanted to quickly test something (jdeps) from the command line, and sure enough it evoked jdk-13 ea which is NOT what I want cause my main goal is to mov

Re: jpackage custom resources not found

2019-01-14 Thread Kustaa Nyholm
> On 15 Jan 2019, at 7.36, Michael Hall wrote: > > FWIW, for OS X I just set this in my .bash_profile Thanks, my preference is to be explicit so that my build don't depend on the environment and changes to it , I've got about 8 x jdk on this machine and I (almost) never use the command lin

Re: jpackage custom resources not found

2019-01-14 Thread Kustaa Nyholm
urces/package/macosx'" > > ( or use a patch relative to the current directory) to say where to load > custom resources from. > > With the first EA you needed to put resources in "./package/macosx". It was > looking for custom resources in "package/&quo

Re: Modular Applications - Regression

2019-01-14 Thread Kustaa Nyholm
I'm very new to modular stuff but I've just experimented with my java6 application that I've been bringing to this century by trying to use jdk11. During these rehearsal I've been using various versions of javapackager, jpackager and jpackage. jpackager (from Java8) seems to build a .app that do

Re: jpackage custom resources not found

2019-01-14 Thread Kustaa Nyholm
gt; With the first EA you needed to put resources in "./package/macosx". It was > looking for custom resources in "package/" relative to the current > working directory, not the input directory (as in javafxpackager) > > /Andy > > On 1/14/2019 5:27 AM, Kus

jpackage custom resources not found

2019-01-14 Thread Kustaa Nyholm
Hi, over the weekend I tried to use the EA jpackage from here: https://jdk.java.net/jpackage/ I invoke it like this: PACKAGER=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/jpackager ${PACKAGER} \ create-image \ --build-root build-jpackager \ --verbose \ --echo-mode \ --add