I want to ask newbie question about environment variables in ubuntu
I'm trying to configure maven3 using
/etc/environment. I installed maven manually i.e. unpacked, moved to
My /etc/environment file
JAVA_HOME="/opt/java/jdk1.6.0_31" JRE_HOME="/opt/java/jdk1.6.0_31/jre" MAVEN_HOME="/opt/maven" PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/games:$JAVA_HOME:$JRE_HOME:$MAVEN_HOME/bin"
When I replace in
/opt/maven everything works. If I revert changes -> maven is not installed. Why? I check maven after logout/login.