View Single Post
malakh

 
Member Since: Oct 03, 2009
Posts: 4
malakh is on a distinguished road

malakh is offline
Hey guys -

I am trying to access an environment variable that i created with Java (System.getProperty()), but it is always coming back as not existing. I have tried adding it to the .profile:

Code:
export CAPTUREDBHOST=localhost
And that doesn't work. I have also tried adding it to the ~/.MacOS/environment.plist:

Code:
<?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>CAPTUREDBHOST</key>
	<string>localhost</string>
</dict>
</plist>
And that isn't working either. What am I missing?
QUOTE Thanks