$HOME/.MacOSX/environment.plist
<?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>JAVA_HOME</key>
<string>/Library/Java/Home</string>
<key>DYLD_LIBRARY_PATH</key>
<string>/usr/local/xuggler/lib</string>
<key>XUGGLE_HOME</key>
<string>/usr/local/xuggler</string>
</dict>
</plist>
Release 3.4 is in /usr/local/xuggler. Launching eclipse from finder /
opt/eclipse/Eclipse.app. java.lang.UnsatisfiedLinkError when trying
to run unit tests.
Next thing I tried is to define the variables from the command line
and then run eclipse from the command line where the variables should
just transition in.
export XUGGLE_HOME=/usr/local/xuggler
export DYLD_LIBRARY_PATH=$XUGGLE_HOME/lib:$DYLD_LIBRARY_PATH
export PATH=$XUGGLE_HOME/bin:$PATH
alias start-eclipse='open /opt/eclipse/Eclipse.app'
start-eclipse
Just to confirm correct esports, typing from command line: export
returns this:
declare -x XUGGLE_HOME="/usr/local/xuggler"
declare -x PATH="/usr/local/xuggler/bin:/opt/local/bin:/opt/local/
sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/
davidpeterson/bin:SOLR_HOME/example"
declare -x CC="clang"
declare -x CXX="clang++"
declare -x DYLD_LIBRARY_PATH="/usr/local/xuggler/lib"
Sigh.