> 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 packaging, but that 
> would be platform specific.

Wouldn’t this break code signing?

For now, OS X only, couldn’t you require your users to have the common, 
‘browser’, jre installed?

alias javajre="/Library/Internet\ 
Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java"

javajre -version
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b70)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b70, mixed mode) 

Then you could Runtime exec that?

Michael Hall




> 

Reply via email to