Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Mac OS X Port

Checked out JDirect at http://developer.apple.com/techpubs/java/pdf/JDirect_MRJ2.1.pdf. JDirect looks like a classic Platform Interface implementation - very much like what SWT has implemented on other platforms.

For as far as I know JDirect, it is a Mac only solution. The preferred way would be to use JNI.

The things I would be interested to know are:
        Is it tied to one VM or does it use JNI under the covers? - How many Java VMs are available for the Mac?

I have Mac OS X 10.1 installed. Here is the output of
`ls -l' in folder /System/Library/Frameworks/JavaVM.framework/Versions

drwxr-xr-x  3 root  wheel  264 Sep 15 05:58 1.2
drwxr-xr-x  3 root  wheel  264 Sep 15 05:58 1.3
drwxr-xr-x  6 root  wheel  264 Sep  6 05:53 1.3.1
drwxr-xr-x  5 root  wheel  264 Sep 11 02:31 A
lrwxr-xr-x  1 root  wheel    1 Sep  6 05:53 Current -> A
lrwxr-xr-x  1 root  wheel    5 Sep  6 05:53 CurrentJDK -> 1.3.1

        Will it give us access to the Aqua API?

Aqua is just how the user interface looks. It doesn't have an API. Cocoa displays its widgets in the Aqua style. Using JNI, we can access any native library installed on Mac OS X.

Ringo



Back to the top