1

[ubuntu] where is java_home environment variable stored

view story
linux-howto

http://ubuntuforums.org – I have installed java by these commands: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer sudo update-java-alternatives -s java-7-oracle If I understood properly these commands above garantee that java will update automatically. I have been using Eclipse, STS and Tomcat successfully, then I believe that java is properly installed with its environments. But I want to know where is the java_home environment. I tried: 1)gedit /etc/environment I found: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games (Hardware)