#gedit /etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
# The default umask is now handled by pam_umask.
# See pam_umask(8) and /etc/login.defs.
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
#export JAVA_HOME=/usr/local/dev/jdk1.7.0_45
export JAVA_HOME=/usr/local/dev/jdk1.8.0
export JRE_HOME=${JAVA_HOME}/jre
export MAVEN_HOME=/usr/local/dev/apache-maven-3.1.1
export ANT_HOME=/usr/local/dev/apache-ant-1.9.2
export CATALIA_HOME=/usr/local/dev/tomcat7.0.42
export ANDROID_HOME=/usr/local/dev/android/sdk
export APACHE_CXF=/usr/local/dev/apache-cxf-2.7.10
export DEX_JAR=/usr/local/dev/android/dex2jar-0.0.9.15
export APKTOOL=/usr/local/dev/android/apktool1.5.0
export JD_JUI=/usr/local/dev/android/jd-gui-0.3.5.linux.i686
export CLASSPATH=.:${JAVA_HOME}/lib:{JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${CATALIA_HOME}/bin:${MAVEN_HOME}/bin:${ANT_HOME}/bin:${APACHE_CXF}/bin:${DEX_JAR}:${APKTOOL}:${JD_JUI}:$PATH
#source /etc/profile
#java -version