linux 下 eclipse 安装
下载:
官网选择相应安装包下载,我这里下了tar.gz包
安装:
tar xzvf eclipse-inst-linux64.tar.gz
设置环境变量
export JAVA_HOME=/usr/local/jdk1.8.0 export JRE_HOME=$JAVA_HOME/jre export MYSQL_HOME=/usr/local/mysql export ECLIPSE_HOME=/usr/local/eclipse export MAVEN_HOME=/usr/local/maven export PATH=$JAVA_HOME/usr/local/eclipse:$ECLIPSE_HOME:$MAVEN_HOME/bin:$PATH: export PATH=/snap/bin:$PATH export PATH=$PATH:/usr/local/mysql/bin: export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH export CLASSPATH=.:/home/share:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$MYSQL_HOME/lib:$MYSQL_HOME/bin:ECLIPSE_HOME:MAVEN_HOME/lib: export CLASSPATH=.:/snap/bin