Created
December 13, 2012 16:57
-
-
Save abby-sergz/4277913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -d .bashrc.d ]; then | |
for i in .bashrc.d/*.conf; do | |
if [ -r $i ]; then | |
. $i | |
fi | |
done | |
unset i | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -l Downloads/jdk*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export JAVA_HOME=~/ProgramFiles/jdk-7u10-linux-i586/jdk1.7.0_10/ | |
export JDK_HOME=~/ProgramFiles/jdk-7u10-linux-i586/jdk1.7.0_10/ | |
#export JAVA_OPTS="" | |
PATH=${JAVA_HOME}/bin:${PATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install -d ~/ProgramFiles/jdk-7u10-linux-i586 | |
tar xzf ~/Downloads/jdk-7u10-linux-i586.tar.gz -C ~/ProgramFiles/jdk-7u10-linux-i586 | |
install -d ~/.bashrc.d | |
vim .bashrc.d/java.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment