jdk based applications

Michael Hall mik3hall at gmail.com
Fri Aug 24 04:09:59 PDT 2012


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