Tagged Questions
0
votes
2answers
4k views
How to set environment variable JAVA_HOME that will be saved on exit? [duplicate]
Possible Duplicate:
How do I set a user environment variable? (permanently, not session)
I use Suse. First was installed jdk7, so JAVA_HOME remains like:
/usr/java/jdk1.7.0_05/
After I ...
3
votes
2answers
1k views
Why isn't my environment variable visible from the command line?
I'm trying to run the James SMTP server on Lion (Mac OS X 10.7.2). When I do this:
sudo JAVA_HOME=/Library/Java/Home ./james-2.3.2/bin/run.sh
it works fine.
However, I'd like to make JAVA_HOME an ...
0
votes
3answers
2k views
Why $JAVA_HOME does not persist on a mac?
On my mac os 10.6.6 I'm trying to persist env variable $JAVA_HOME but it doesn't stick!
$ export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Once I restart it won't ...