jdk based applications

Joe McGlynn joe.mcglynn at oracle.com
Mon Aug 27 06:02:04 PDT 2012


Of course, the recommended way is to use the "JavaFX Ant Packager" tasks (regardless of whether your app is FX-based or not).

http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm#BCGIBBCI

We're in the process of making improvements to this tool, so feedback is welcomed.

-- 
On Aug 24, 2012, at 4:09 AM, Michael Hall <mik3hall at gmail.com> wrote:

> Is the only way to have a normal jdk based desktop application to embed the jdk?
> I would assume there wouldn't be anything to prevent an application runtime exec'ing java to use the jdk? I haven't tested yet but figure that would give you the default 'command line' jvm which would be the jdk one if I understand correctly what I've seen.
> Currently I had a (non-embedded) application dependency for tools.jar. So I did a /usr/libexec/java_home runtime exec to locate the jdk and the jar.
> But the application actually has other jdk dependencies. 
> Are there actually different jdk distribution restrictions to be concerned with so that there is this much separation between the two? Or why do we seem to be ending up with the rather arbitrary rule that you can't have non-embedded jdk based applications?
> 
> Michael Hall
> 
> trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz
> 
> HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe
> 
> AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter
> 
> 
> 
> 



More information about the macosx-port-dev mailing list