我是靠谱客的博主 苹果冰棍,最近开发中收集的这篇文章主要介绍CentOS下面Eclipse 步骤分享,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

CentOS下面Eclipse 步骤分享
2011-09-21 1:02

Install Eclipse SDK 3.7 (Indigo) on Fedora 15/14, CentOS/RHEL 5.6/6

选自 http://www.if-not-true-then-false.com/2010/linux-install-eclipse-on-fedora-centos-red-hat-rhel/

This is guide, howto install latest Eclipse SDK 3.7 (Indigo) on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 15, Fedora 14, Fedora 13, Fedora 12, CentOS 5.6, Red Hat (RHEL) 5.6, Red Hat (RHEL) 6. And even with earlier versions.

Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written primarily in Java and can be used to develop applications in Java and, by means of various plug-ins, other languages including C, C++, COBOL, Python, Perl, PHP, Scala and Ruby (including Ruby on Rails framework).
Install Eclipse SDK 3.7 (Indigo) on Fedora, CentOS, Red Hat (RHEL)
1. Install Sun/Oracle Java JDK 6 on Fedora, CentOS, Red Hat (RHEL)
2. Download Eclipse SDK 3.7 (Indigo)

Download suitable version from www.eclipse.org/downloads. This guide uses Eclipse Classic 3.7 version. Another popular versions are Eclipse IDE for Java EE Developers, Eclipse IDE for Java Developers and Eclipse for PHP Developers. Select also 32-bit or 64-bit version depending on your system.
3. Change root user

su -
## OR ##
sudo -i

4. Extract Eclipse package (example to /opt directory)

## x86 - 32-bit ##
tar -xvzf eclipse-SDK-3.7-linux-gtk.tar.gz -C /opt

## x86_64 - 64-bit ##
tar -xvzf eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz -C /opt

5. Add read permissions to all files

chmod -R +r /opt/eclipse

6. Create Eclipse executable on /usr/bin path

touch /usr/bin/eclipse
chmod 755 /usr/bin/eclipse

## Open eclipse file with your favourite editor ##
nano -w /usr/bin/eclipse

## Paste following content to file ##
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"

$ECLIPSE_HOME/eclipse $*

7. Create Gnome desktop launcher

## Create following file, with our favourite editor ##
/usr/share/applications/eclipse.desktop

## Add following content to file and save ##
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 3.7
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

8. Start Eclipse 3.7

From command line use eclipse command

eclipse

From Desktop menu Gnome 3 Eclipse 3.7
right click->create Launcher->
1,icon->eclipse.ipx
2,type->application
3,command->/usr/local/bin/eclipse
4,comment->eclipse
->ok,it will create a quick link of the application on you desktop.

最后

以上就是苹果冰棍为你收集整理的CentOS下面Eclipse 步骤分享的全部内容,希望文章能够帮你解决CentOS下面Eclipse 步骤分享所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(51)

评论列表共有 0 条评论

立即
投稿
返回
顶部