Ubuntu开发环境下安装Eclipse
来源:互联网 发布:云计算平台建设方案 编辑:程序博客网 时间:2024/04/28 10:49
如果你的系统中还没有安装java,可以参考http://blog.csdn.net/piaocoder/article/details/47114933,我们介绍了如何安装
java,现在我们来介绍如何在Ubuntu下安装Eclipse。
1.下载 Eclipse 最新版
访问官方网站下载 Eclipse 最新版,这个就不多说了,大家自己去下。
http://www.eclipse.org/downloads/?osType=linux&release=undefined
2.解压 Eclipse
使用 Ctrl+Alt+T 打开终端并使用如下命令将 Eclipse 解压到 /opt/ 目录以供全局使用:
cd /opt/ && sudo tar -zxvf ~/下载/eclipse-*.tar.gz
解压完成后,就可以在 /opt/ 目录中看到 Eclipse 了。
3.创建 Eclipse 快捷方式
在终端中执行如下命令
sudo gedit /usr/share/applications/eclipse.desktop
粘贴并保存如下内容
[Desktop Entry]Name=EclipseType=ApplicationExec=/opt/eclipse/eclipseTerminal=falseIcon=/opt/eclipse/icon.xpmComment=Integrated Development EnvironmentNoDisplay=falseCategories=Development;IDE;Name[en]=Eclipse
4.如果在启动Eclipse时,出现如下问题:
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:...
解决方案1:
在Eclipse目录下,执行下列命令:
mkdir jrecd jreln -s jdk目录/bin bin
解决方案2:
在/etc/profile文件中配置环境变量:
export JAVA_HOME=×××(jdk安装的目录) export CLASSPATH=${JAVA_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH
5.Eclipse的 alt+/ 自动补全功能不能用
在Ubuntu环境下,运行Eclipse后发现以前用的相当顺手的自动补全功能的快捷键不能用了。于是翻了很多资料,才得以解决。
解决方案:windows---preferences---General---keys,把在搜索框中搜Word Completion,把该快捷键unbind,然后把content assist
绑定为 alt+/ 的快节键。
1 0
- Ubuntu下安装Android Eclipse开发环境
- Ubuntu下安装Android Eclipse开发环境
- Ubuntu下安装Android Eclipse开发环境
- Ubuntu下安装Android Eclipse开发环境
- Ubuntu下安装Android Eclipse开发环境
- Ubuntu开发环境下安装Eclipse
- Ubuntu下安装配置eclipse开发IDE环境
- Linux(ubuntu)下安装搭建Eclipse开发环境
- Ubuntu下安装eclipse开发环境for Hive(mysql)
- Ubuntu下安装eclipse c/c++开发环境
- ubuntu 下安装eclipse,并搭建c++/c开发环境
- Ubuntu 14.04下安装eclipse搭建C++开发环境
- Ubuntu 14.04下安装eclipse搭建C++开发环境
- Ubuntu 14.04下安装eclipse搭建C++开发环境
- Ubuntu下开发环境安装
- Ubuntu 下安装 Eclipse 安装和搭建Python开发环境 - [ubuntu]
- Ubuntu下Eclipse搭建ARM开发环境
- ubuntu 10.04 下 eclipse 开发环境搭建
- maven mirror
- ORA-00904标识符无效
- cannot found module ejs/jade 但是我确实已经安装了ejs/jade(’/‘带表或者)
- IPUT输入框末端加上单位:元,个。。
- 我的第一个博客
- Ubuntu开发环境下安装Eclipse
- as中依赖管理
- python中的subprocess子进程
- Android手机缓存的位置
- iOS 之 AutoresizesSubviews ——自动尺寸调整行为
- linux posix 通过pthread_join获取线程pthread_exit返回的数据
- ios播放声音和振动
- 使用DOM操作样式表
- AS导入jar包和so库