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.

Henri Gomez henri.gomez at gmail.com
Mon Sep 26 06:45:57 PDT 2011


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