Info.plist
John Yeary
johnyeary at gmail.com
Wed Apr 13 05:19:48 PDT 2011
I would use OpenJDK since it is not an "official" Oracle build.
On Wed, Apr 13, 2011 at 8:11 AM, Henri Gomez <henri.gomez at gmail.com> wrote:
> I was comparing Info.plist generated by macosx-port and the one
> bundled with Apple latest JDK :
>
> Apple JDK 1.6.0-24 (Update 4)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>CFBundleDevelopmentRegion</key>
> <string>English</string>
> <key>CFBundleExecutable</key>
> <string>libjava.jnilib</string>
> <key>CFBundleGetInfoString</key>
> <string>Java for Mac OS X (1.6.0_24-b07-334)</string>
> <key>CFBundleIdentifier</key>
> <string>com.apple.javajdk.1.6.0_24-b07-334</string>
> <key>CFBundleInfoDictionaryVersion</key>
> <string>6.0</string>
> <key>CFBundleName</key>
> <string>Java SE 6</string>
> <key>CFBundlePackageType</key>
> <string>BNDL</string>
> <key>CFBundleShortVersionString</key>
> <string>13.4.0</string>
> <key>CFBundleSignature</key>
> <string>???</string>
> <key>CFBundleVersion</key>
> <string>13.4.0</string>
> <key>JavaVM</key>
> <dict>
> <key>JVMCapabilities</key>
> <array>
> <string>JNI</string>
> <string>BundledApp</string>
> <string>WebStart</string>
> <string>Applets</string>
> <string>CommandLine</string>
> </array>
> <key>JVMMaximumFrameworkVersion</key>
> <string>13.*.*</string>
> <key>JVMMaximumSystemVersion</key>
> <string>10.6.*</string>
> <key>JVMMinimumFrameworkVersion</key>
> <string>13.2.9</string>
> <key>JVMMinimumSystemVersion</key>
> <string>10.6.0</string>
> <key>JVMPlatformVersion</key>
> <string>1.6</string>
> <key>JVMVendor</key>
> <string>Apple Inc.</string>
> <key>JVMVersion</key>
> <string>1.6.0_24-b07-334</string>
> </dict>
> <key>NSHumanReadableCopyright</key>
> <string>Copyright © 2010 Apple Inc. All rights reserved.</string>
> </dict>
> </plist>
>
> OpenJDK 1.7 (macosx-port)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
> "">http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>CFBundleDevelopmentRegion</key>
> <string>English</string>
> <key>CFBundleExecutable</key>
> <string>libjava.dylib</string>
> <key>CFBundleGetInfoString</key>
> <string>OpenJDK (1.7.0)</string>
> <key>CFBundleIdentifier</key>
> <string>net.java.openjdk</string>
> <key>CFBundleInfoDictionaryVersion</key>
> <string>7.0</string>
> <key>CFBundleName</key>
> <string>OpenJDK 7</string>
> <key>CFBundlePackageType</key>
> <string>BNDL</string>
> <key>CFBundleShortVersionString</key>
> <string>1.0</string>
> <key>CFBundleSignature</key>
> <string>????</string>
> <key>CFBundleVersion</key>
> <string>1.0</string>
> <key>JavaVM</key>
> <dict>
> <key>JVMCapabilities</key>
> <array>
> <string>CommandLine</string>
> </array>
> <key>JVMMinimumFrameworkVersion</key>
> <string>13.2.9</string>
> <key>JVMMinimumSystemVersion</key>
> <string>10.6.0</string>
> <key>JVMPlatformVersion</key>
> <string>1.7</string>
> <key>JVMVendor</key>
> <string>UNDEFINED</string>
> <key>JVMVersion</key>
> <string>1.7.0</string>
> </dict>
> </dict>
> </plist>
>
> JVMVendor is UNDEFINED for now.
> What should be the vendor name ? Oracle ? OpenJDK ?
>
> JVMVersion should it be 1.7_21.0-b07 ?
>
> I was using this one on my bsdport build (with parts replaced at build time
> )
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>CFBundleDevelopmentRegion</key>
> <string>English</string>
> <key>CFBundleExecutable</key>
> <string>libjava.dylib</string>
> <key>CFBundleGetInfoString</key>
> <string>Java 64bits for Mac OS X (1.7_21.0-b07)</string>
> <key>CFBundleIdentifier</key>
> <string>net.openjdk.java.x64_64.jvm.A</string>
> <key>CFBundleInfoDictionaryVersion</key>
> <string>6.0</string>
> <key>CFBundleName</key>
> <string>Java SE 7</string>
> <key>CFBundlePackageType</key>
> <string>BNDL</string>
> <key>CFBundleShortVersionString</key>
> <string>13.3.0</string>
> <key>CFBundleSignature</key>
> <string>???</string>
> <key>CFBundleVersion</key>
> <string>13.3.0</string>
> <key>JavaVM</key>
> <dict>
> <key>JVMCapabilities</key>
> <array>
> <string>CommandLine</string>
> </array>
> <key>JVMPlatformVersion</key>
> <string>1.7</string>
> <key>JVMVendor</key>
> <string>OpenJDK</string>
> <key>JVMVersion</key>
> <string>1.7_21.0-b07</string>
> </dict>
> <key>NSHumanReadableCopyright</key>
> <string>OpenJDK 1.7 64bits</string>
> </dict>
> </plist>
>
--
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
*@jyeary*
"Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits who
neither enjoy much nor suffer much, because they live in the gray twilight
that knows not victory nor defeat."
-- Theodore Roosevelt
More information about the macosx-port-dev
mailing list