Skip to main content

JDIC on Mac - WebkitBrowser needs com.apple.eawt?

1 reply [Last post]
davea
Offline
Joined: 2008-08-02

Hi

I'm trying to port an application using JDIC Browser class to Mac. I am trying to build on a PC, ready to try it on someone else's Mac, but it appears that a class using WebKitBrowser will not compile without com.apple.eawt being available. I have failed to find anywhere offering a jarfile download of this package - possibly I am using the wrong words in my search? Anyone know how I can get hold of this? Do I need to build it into my application, like say log4j, or is it part of the standard jre on the Mac?

Or is this totally the wrong approach?

Dave

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
davea
Offline
Joined: 2008-08-02

OK, for the record I can now answer my own question.

Registered with the Apple Developer site http://connect.apple.com/

Downloaded Java for Mac OS X 10.4 from http://developer.apple.com/java/download/

This is a dmg file. I converted it to iso using dmgextractor http://hem.bredband.net/catacombae/dmgx.html

I then followed the 2nd and 3rd stages of the excellent instructions at http://sillydog.org/forum/sdt_8775.php (I had problems with dmg2iso, used dmgextractor instead for stage1).

I now had a file called Archive.pax.gz which I had to unzip twice (double wrapped for freshness?). First unpack produced Archive.pax, second produced a totally unpacked directory tree containing

..\System\Library\Frameworks\JavaVM.framework\Versions\1.5.0\Classes\ui.jar which is the file I required.