Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting OpenJDK to OS X



Having worked on the port of Java 1.3 through 1.5 to *BSD, I can tell you that the port of the VM itself should not be a big deal. The major problem I see will be porting AWT/Swing to Cocoa since the "standard" bindings are X11 and Win32 so nothing exists to help you there. If Apple could be convinced to contribute that part, you'd be pretty close I think.

I haven't actually looked at what's been released in the OpenJDK tree yet so this is only slightly informed speculation.

scott

Message: 5
Date: Wed, 17 Oct 2007 12:56:26 PDT
From: Bill Janssen <email@hidden>
Subject: Re: Java and Apple
To: Bug <email@hidden>
Cc: Java-Dev Mailing List <email@hidden>
Message-ID: <07Oct17.125634pdt."57996"@synergy1.parc.xerox.com>

It may be the new play, but I have 2 million lines of Java code that
ain't gonna convert themselves!

Could you download OpenJDK, and compile it from source, and free yourself from dependence on Apple's business needs, whims and secrecy?

Hmmm, maybe not -- I see that OpenJDK needs *another* Java 6 compiler
to bootstrap the process.  So someone with Java 6 would have to do
this and post an OpenJDK dmg to bootstrap the process.

Bill



Message: 8
Date: Wed, 17 Oct 2007 22:06:01 +0200
From: Florian Bomers <email@hidden>
Subject: Re: Java and Apple
To: Bill Janssen <email@hidden>
Cc: Java-Dev Mailing List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1

as nice as the idea sounds, I wonder why nobody has done it?

Seriously, compiling the JDK is not something you do quickly
(even if you get everything set up, it will take hours, depending
on the processor/RAM/etc.).

And, almost forgot: you'd also need to port tens or hundreds of
thousands of OS specific lines of C and C++ code...

Getting the bootstrap compiled would be the smallest problem...

Florian


Message: 11 Date: Wed, 17 Oct 2007 14:24:41 PDT From: Bill Janssen <email@hidden> Subject: porting OpenJDK to OS X To: Florian Bomers <email@hidden> Cc: Java-Dev Mailing List <email@hidden> Message-ID: <07Oct17.142444pdt."57996"@synergy1.parc.xerox.com>

Seriously, compiling the JDK is not something you do quickly
(even if you get everything set up, it will take hours, depending
on the processor/RAM/etc.).

Sure, it might take a long weekend. But once you post the result, everyone will be able to use it.

And, almost forgot: you'd also need to port tens or hundreds of
thousands of OS specific lines of C and C++ code...

Yeah, I wonder how big a job that would be?

Bill



------------------------------

Message: 12
Date: Wed, 17 Oct 2007 23:58:38 +0200
From: Brendon McLean <email@hidden>
Subject: Re: porting OpenJDK to OS X
To: Java-Dev Mailing List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


Yeah, I wonder how big a job that would be?

Bill

I'm guessing about 4 man-years. It's a total thumb-suck but I bet you I'm right.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.