On Aug 9, 2015, at 11:14 PM, Danno Ferrin danno.fer...@oracle.com wrote:
It's not easy, since this is functionality that is deliberately removed in
the name of security. You could copy the .../bin/java file somewhere else
prior to packaging and then copy it back into place after
For now, OS X only, couldn’t you require your users to have the common,
‘browser’, jre installed?
Or, thinking about I guess you could require the jdk to be installed. Then
normal Runtime would work, OS X I’m pretty sure and maybe cross platform.
For Java 9 I thought the jdk/jre separation
You can add a post-image script to your javapackager build to manually add the
java.exe into your application. If you search the output from the javapackager
for “post-image” I think it will tell you what file to create and where to put
it. Here is a post-image file that I use to move java.exe
On Aug 8, 2015, at 5:16 PM, Scott Palmer swpal...@gmail.com wrote:
I’m using the JavaFX gradle plugin to build a very simple application with
the new java packager and I’ve noticed a problem with the embedded JRE, at
least on OS X.
Specifically, the ‘bin’ folder is missing from the
UpdateFX has code that can restart a javapackager packaged process, look
here:
https://github.com/vinumeris/updatefx/blob/master/api/src/main/java/com/vinumeris/updatefx/UpdateFX.java#L60
It's not beautiful but it works. You could extract the code and use it in
your app: UpdateFX is Apache