Feature Requests: Browse | Submit New | Admin

[#27852] Use "$JAVA_HOME/bundle/Libraries" instead of "$JAVA_HOME/../Libraries" to locate libjvm.dylib in MacOS

Date:
2010-02-18 14:02
Priority:
3
Submitted By:
Giorgio Gallo (giorgiga)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Use "$JAVA_HOME/bundle/Libraries" instead of "$JAVA_HOME/../Libraries" to locate libjvm.dylib in MacOS

Detailed description
DISCLAIMER: I don't talk ruby very well, so forgive me if the following makes no sense to you

I have JAVA_HOME set to a symbolic link pointing to /Library/Java/Home and it seems (to me) this is causing rjb to be
unable to find libjvm.dylib, since it seems to searches for it in $JAVA_HOME/../Libraries.

The problem seems to disappear after setting JAVA_HOME to /Library/Java/Home directly, so I'm aware this problem only
manifests in my custom setup.

JAVA_HOME directories in Snow Leopard (and Leopard, too) include a symbolic link "bundle" pointing to
"..".

Any canche a future revision on rjb uses this "bundle" link to locate libraries?

Add A Comment: Notepad

Please login


Followup

Message
Date: 2010-02-18 15:16
Sender: arton Tajima

Thanks the comment.
I think your recommendation is reasonable, so I'll fix it at
next weekend.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
summaryUse "$JAVA_HOME/bundle/Libraries" instead of "$JAVA_HOME/../Libraries" to locate libjvm.dylib in MacOS2010-02-18 15:16arton