分类: LINUX
2013-01-18 19:38:21
原文地址:在redhat中安装eclipse 作者:futter521
CODE: jdk-1_5_0_06-linux-i586-rpm.bin eclipse-SDK-3.1.2-linux-gtk.tar |
CODE: #cd /usr/local/jdk #chmod +x jdk-1_5_0_06-linux-i586-rpm.bin #./jdk-1_5_0_06-linux-i586-rpm.bin Sun Microsystems, Inc. Binary Code License Agreement ... more-- Do you agree to the above license terms? [yes or no] |
CODE: #rpm -ivh jdk-1_5_0_06-linux-i586.rpm |
CODE: export JAVA_HOME=/usr/java/jdk1.5.0_06 export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH export CLASSPATH=.:/usr/java/jdk1.5.0_06/lib:/usr/java/jdk1.5.0_06/jre/lib:$CLASSPATH |
CODE: #tar xvf eclipse-SDK-3.1.2-linux-gtk.tar |
CODE: #cd /usr/local/bin #vi elipse.sh |
CODE: export JAVA_HOME=/usr/java/jdk1.5.0_06 export CLASSPATH=/usr/java/jdk1.5.0_06/lib /usr/local/eclipse/eclipse/eclipse -vm /usr/java/jdk1.5.0_06/bin/java -data ~/workspace & |
CODE: #chmod +x eclipse.sh |