Possible Duplicate:
How do I set a user environment variable? (permanently, not session)
I use Suse. First I had jdk7 installed, so JAVA_HOME was:
/usr/java/jdk1.7.0_05/
I uninstalled jdk7 and installed jdk6, but I cannot figure out how to change JAVA_HOME. .bashrc and .profile don't contain anything about JAVA_HOME.
Is there another file?