Created
January 5, 2015 06:54
-
-
Save alexandre/c406be51813807dcc644 to your computer and use it in GitHub Desktop.
Oracle Jdk Slackware64 14.1
This file contains hidden or 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
| $ tar -xzvf jdk*linux-*.tar.gz | |
| $ rm jdk*linux.tar.gz | |
| # mkdir /opt/java | |
| # mv jdk.... /opt/java/ | |
| # cd /opt/java | |
| # ln -s jdk1.7.0_03 jdk | |
| # vim /etc/profile | |
| export JAVA_HOME="/opt/java/jdk" | |
| export CLASSPATH="$JAVA_HOME/lib":$CLASSPATH | |
| export PATH="$JAVA_HOME/bin":$PATH | |
| export MANPATH="$JAVA_HOME/man":$MANPATH | |
| # ln -s /opt/java/jdk/bin/java /usr/local/bin/ | |
| # ln -s /opt/java/jdk/bin/javac /usr/local/bin/ | |
| # ln -s /usr/lib64/mozilla/plugins /usr/<lib/lib64>/firefox*/plugins | |
| # ln -s /opt/java/jdk/jre/lib/<i386/amd64>/libnpjp2.so /usr/<lib/lib64>/firefox/plugins/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment