java.library.path fix for MacOS X (7145798) (original) (raw)
Mike Swingler swingler at apple.com
Sat Feb 18 14:09:51 PST 2012
- Previous message: java.library.path fix for MacOS X (7145798)
- Next message: java.library.path fix for MacOS X (7145798)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oh. Well, the name just seems a little odd to me, since there isn't actually a Java "VM" in there, per-se. Obviously the one hardcode path for the native library path will have to be changed too (or be derived from the same #define).
That's why I had originally left the directory "Java" and changed the key to "JVMInfo", since it was info to be consumed by the JVM (technically the launcher). Perhaps key should be "JavaAppLauncher" to be clear about who the information is being handed off to.
I just prefer to be pedantically accurate with the labels of these things, Mike Swingler Apple Inc.
On Feb 18, 2012, at 12:03 PM, Greg Brown wrote:
Actually, I changed the directory to JavaVM as well, for consistency with the plist entry. Is there any technical reason not to do that? It did not appear to cause any problems during my testing. G
On Feb 18, 2012, at 12:01 PM, Michael Hall <mik3hall at gmail.com> wrote:
On Feb 18, 2012, at 10:42 AM, Mike Swingler wrote: The bundle directory has not been changed to "JavaVM", only the Info.plist key for the dictionary that describes all the Java options. Nothing should be attempting to assemble an (app)/Contents/JavaVM directory. After you asked Greg to change the plist key he posted a updated demo that now shows.... ls /Volumes/SwingSet2/SwingSet2.app/Contents Info.plist MacOS PlugIns JavaVM PkgInfo Resources JavaVM. Something extra got picked up with the plist change maybe? But after you mentioning that I did try just changing the directory manually to 'Java' but that doesn't seem to show launching at all and has this in console... 2/18/12 10:52:08 AM JavaAppLauncher[611] Could not enumerate Java directory contents.: ( _0 CoreFoundation 0x00007fff83904784 exceptionPreprocess + 180 1 libobjc.A.dylib 0x00007fff82739f03 objcexceptionthrow + 45 2 CoreFoundation 0x00007fff839045a7 +[NSException raise:format:arguments:] + 103 3 CoreFoundation 0x00007fff83904534 +[NSException raise:format:] + 148 4 JavaAppLauncher 0x00000001a4b17bd6 launch + 1078 5 JavaAppLauncher 0x00000001a4b17676 main + 102 6 JavaAppLauncher 0x00000001a4b17604 start + 52 )
- Previous message: java.library.path fix for MacOS X (7145798)
- Next message: java.library.path fix for MacOS X (7145798)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]