MACOSX_PORT-105 - Create a .jre bundle, suitable for embedding in a .app

David Smith-Uchida dave at igeekinc.com
Mon Jun 20 00:57:52 PDT 2011


I got this working for our application with OpenJDK 1.7 and I'd be happy to write up something for the wiki.  We haven't released to the App Store yet but it looks to be the same method that CyberDuck is using.

However, both our application (Indelible/Data Backup) and Cyberduck are Cocoa apps.  Cyberduck uses Rococoa and we're using a JNI layer that we'll probably be porting over to Rococoa in the near future.  I don't know if a Swing based app will pass muster for UI.

However, Mike, we have a issue with Lion and embedded JRE's that I'd really like to get your attention on.  I submitted a bug for it on Radar, #9564279.

Thanks!
Dave Smith
iGeek, Inc.

On Jun 15, 2011, at 11:37 AM, Mike Swingler wrote:

> It's inside the .app bundle, and yes, it is definitely an OpenJDK derivative.
> 
> You should contact the author for more info. If he would like to share how he bundled it, we've got a stub page at <http://wikis.sun.com/display/OpenJDK/How+to+embed+a+.jre+bundle+in+your+Mac+app> which we can revise once we get a proper .jre bundle in the build.
> 
> Cheers,
> Mike Swingler
> Java Engineering
> Apple Inc.
> 
> On Jun 14, 2011, at 7:28 PM, John Yeary wrote:
> 
>> I was looking for a clue about it using OpenJDK, and I did not find
>> anything. Do you know it uses it for sure?
>> 
>> On Tue, Jun 14, 2011 at 9:37 PM, Mike Swingler <swingler at apple.com> wrote:
>> 
>>> There is already an app that does this by embedding OpenJDK: <
>>> http://cyberduck.ch/appstore>.
>>> 
>>> MACOSX_PORT-105 would make part of the process easier, but you'd also have
>>> to strip out the X11-dependent libraries so you wouldn't be using any other
>>> optionally installed components.
>>> 
>>> Regards,
>>> Mike Swingler
>>> Java Engineering
>>> Apple Inc.
>>> 
>>> On Jun 14, 2011, at 11:55 AM, John Yeary wrote:
>>> 
>>>> That is an interesting and positive observation. Mr. Swingler do you wish to
>>>> comment? I like the idea.
>>>> 
>>>> On Tue, Jun 14, 2011 at 2:04 PM, Joern Huxhorn <jhuxhorn at googlemail.com
>>>> wrote:
>>>> 
>>>>> Would http://java.net/jira/browse/MACOSX_PORT-105 open the door into the
>>>>> Mac AppStore for Java applications?
>>>>> 
>>>>> It certainly seems so to me...



More information about the macosx-port-dev mailing list