[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Where to find setup for env variable?



Hi,

I have setup somewhere the JAVA_HOME environment variable, but don't
know where?

$ env

JAVA_HOME=/home/csanyipal/Programozas/JAVA/SunJava/jdk1.6.0_10

This was my previous setup for JAVA_HOME.

I search in the following files for this setup:
~/.bash_profile
~/.bashrc
~/.gnomerc

/etc/gdm/PostLogin/Default
/etc/profile

but find nothing.
Now, in these files but not in '/etc/gdm/PostLogin/Default' I have
setup JAVA_HOME:
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
export PATH=$PATH:/usr/lib/jvm/java-6-openjdk/jre/bin

In the file '/etc/gdm/PostLogin/Default' I haven't setup JAVA_HOME.

How can I find where is the setup that cause env to show the
following?
JAVA_HOME=/home/csanyipal/Programozas/JAVA/SunJava/jdk1.6.0_10

Any advices will be appreciated!

--
Regards, Paul Chany
You can freely correct me in my English.
http://csanyi-pal.info


Reply to: