hg: macosx-port/macosx-port/jdk: Exporting the JNI interface via libjli to support BundleApp launching. Automatically picks client or server, or allows client code to specify via a JLI_ specific entrypoint.
Mike Swingler
swingler at apple.com
Mon Sep 26 08:46:44 PDT 2011
Yes, it is still a work in progress, however Eclipse and other bundled apps will have to be re-bundled (or for Eclipse, it's launcher will need to be re-plumbed) to include a .jre or .jdk bundle inside of them.
OpenJDK-based bundles will probably never support any other JVMCapabilities beyond "CommandLine", because the Apple interfaces to each of the other capabilities are...odd, and the focus for apps (as well as the Oracle applet plug-in) is to bundle the .jre or .jdk that they require.
Regards,
Mike Swingler
Java Engineering
Apple Inc.
On Sep 26, 2011, at 6:45 AM, Henri Gomez wrote:
> Is it work in progress ?
>
> I tried without success to use it to launch Eclipse with OpenJDK (by hacking its Info.plist) with
>
> <key>JVMCapabilities</key>
> <array>
> <string>JNI</string>
> <string>BundledApp</string>
> <string>WebStart</string>
> <string>Applets</string>
> <string>CommandLine</string>
> </array>
>
> Got :
>
> JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bundle/Libraries/libserver.dylib
> JavaVM FATAL: Failed to load the jvm library.
>
>
>
>
> 2011/9/26 <swingler at apple.com>
> Changeset: 807d89cfcc7b
> Author: swingler at apple.com
> Date: 2011-09-26 00:18 -0700
> URL: http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/807d89cfcc7b
>
> Exporting the JNI interface via libjli to support BundleApp launching. Automatically picks client or server, or allows client code to specify via a JLI_ specific entrypoint.
>
> ! make/java/jli/mapfile-vers
> ! src/share/bin/java.c
> ! src/share/bin/java.h
> ! src/solaris/bin/java_md.c
>
>
More information about the macosx-port-dev
mailing list