zoukankan      html  css  js  c++  java
  • Linux CentOS系统上安装Eclipse

    Linux CentOS系统上安装Eclipse

    1. 下载Eclipse软件

    • 下载网址:http://www.eclipse.org/downloads/packages/release/Juno/SR2
    • 下载与操作系统版本对应的Eclipse软件,比如操作系统是64位的,则Eclipse软件也必须是64位的,也就是需要下载:eclipse-cpp-juno-SR2-linux-gtk-x86_64.tar.gz(for C++ Development)。 
      这里写图片描述
    • 如果下载的Eclipse软件版本与操作系统版本对应不上,会导致Eclipse软件无法正常启动并提示错误,具体分以下两种情况: 
      (1)操作系统是是64位的,而下载的Eclipse软件是32位的。 
      这里写图片描述 
      (2)操作系统是是32位的,而下载的Eclipse软件是64位的。
       
      这里写图片描述

    2. 安装Eclipse软件

    2.1 解压Eclipse软件压缩包到指定路径

    • 使用命令: tar -zxvf eclipse-cpp-juno-SR2-linux-gtk-x86_64.tar.gz -C /home/work/program/ 
      这里写图片描述

    2.2 创建桌面快捷方式

    2.2.1 右击桌面,点击“Create Launcher”
    • 这里写图片描述
    2.2.2 打开“Create Launcher”界面->填写软件“名称”->选择“可执行文件的路径”->选择“图标”->“OK”
    • 这里写图片描述

    2.3 启动eclipse进程

    • 双击桌面上的Eclipse图标,启动eclipse进程 
      这里写图片描述

    3. Eclipse软件在CentOS系统上运行时的崩溃问题

    • 崩溃消息: eclipse: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED’ failed.
    • 问题分析:这可能是cario版本中的bug造成的,如果gtk2的版本大于2.24,并且cario的版本小于1.9.4,就会有这种现象。
    • 解决方法:编辑eclipse.ini,添加一个启动参数(即:-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false),这个相当于禁用了carioGraphics。

    4. Eclipse工作空间里的RemoteSystemsTempFiles项目

      • RemoteSystemsTempFiles项目的作用:是用来做远程文件本地缓存使用的,建议不要删除。eclipse有一个“Remote System ExExplorer”的Perspective,里边有FTP、ssh、Linux、Unix、Windows、Telnet等各种远程终端功能,这些功能依赖于“RemoteSystemsTempFiles”。
      • 如果实在想删除,删除办法: 
        (1)打开Windows->Preferences->General->Startup and Shutdown将“RSE UI”的选中状态去掉,关闭Eclipse。 
        (2)打开Eclipse工作空间将“RemoteSystemsTempFiles”项目删除掉后再启动Eclipse程序,就不会再自动生成了。
  • 相关阅读:
    zookeeper使用场景
    zookeeper安装配置
    hadoop 远程调试
    deep learning笔记
    Sentiment Analysis(1)-Dependency Tree-based Sentiment Classification using CRFs with Hidden Variables
    PRML阅读笔记 introduction
    Python 学习笔记(2)
    python nltk 学习笔记(5) Learning to Classify Text
    python nltk 学习笔记(4) Writing Structured Programs
    python nltk 学习笔记(3) processing raw text
  • 原文地址:https://www.cnblogs.com/zhoading/p/8512633.html
Copyright © 2011-2022 走看看