官网地中:http://www.jetbrains.com/idea/download/index.html
选择对应操作系统的版本。下载后,我的文件名称为: ideaIU-11.1.1.tar.gz
2. 安装
2.0 拷贝到安装位置(安装其实就是解压过程)
2.1 解压
/opt/idea-IU-117.117/bin $ sudo tar -xvf ideaIU-11.1.1.tar.gz
2.2 运行,提示错误
/opt/idea-IU-117.117/bin $ sh idea.sh
错误日志:
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1) OpenJDK Client VM (build 20.0-b12, mixed mode, sharing) WARNING: You are launching the IDE using OpenJDK Java runtime. THIS IS STRICTLY UNSUPPORTED DUE TO KNOWN PERFORMANCE AND GRAPHICS PROBLEMS! NOTE: If you have both Oracle (Sun) JDK and OpenJDK installed please validate either IDEA_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation. See http://ow.ly/6TuKQ for more info on switching default JDK. Press Enter to continue.
貌似用默认的Open jdk不行,切换回Sun的jdk,就重新配置一下。
3. 安装Sun jdk
参看 Linux实战3——安装JDK http://javajiao.iteye.com/blog/1665020
4. 再次运行,成功启动。
$ sh idea.sh