摘要:
刚安了JDK7,就发现eclipse不能启动了。log如下:!SESSION 2012-05-14 22:52:02.394 -----------------------------------------------eclipse.buildId=I20110613-1736java.version=1.7.0_04java.vendor=Oracle CorporationBootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_USCommand-line arguments: -os linux -ws gtk -arch x8. 阅读全文
摘要:
一. 下载JDK下载地址在这里http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html二. 解压安装sudo tar zxvf ./jdk-7u4-linux-i586.tar.gz -C /usr/lib/jvmcd /usr/lib/jvmsudo mv jdk1.7.0_04/ java-7-sun三. 配置环境变量vi ~/.bashrc 添加:export JAVA_HOME=/usr/lib/jvm/java-7-sunexport JRE_HOME=${JAVA_H 阅读全文