• opensue安装eclipse进行python开发


    date :20140214

    auth:jin

    1.install jdk

    zypper insgtall java-1_7_0-openjdk 

    2.环境

    linux-gzy1:~ # env |grep JAVA
    JAVA_BINDIR=/usr/lib64/jvm/jre/bin
    JAVA_HOME=/usr/lib64/jvm/jre
    JAVA_ROOT=/usr/lib64/jvm/jre

    手动装

    用root权限在/usr目录下建立java文件夹,然后将jdk1.7.0_45文件夹及下面的东西全部移动到/usr/java/下。 配置java环境 vi /etc/profile 添加以下内容到文件尾部 JAVA_HOME=/usr/java/jdk1.7.0_45

    JRE_HOME=/usr/java/jre1.7.0_45

    PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

    CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib

    export JAVA_HOME JRE_HOME PATH CLASSPATH

     source profile

    3。eclipse

    下载Eclipse Standard 4.3.2

    http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR1/eclipse-standard-kepler-SR1-linux-gtk-x86_64.tar.gz&mirror_id=1183

    http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR2/eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz&mirror_id=1185

     解压

    MyOpenSUSE:/home/jin/Downloads # tar -zxvf eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz -C /usr/local/

    参考资料解压到 /usr/lib我解压到 /usr/local/ 不知道加载库有没有影响

    软链
    ln -s /usr/local/eclipse/eclipse /usr/bin/

    图标
    vim /usr/share/applications/eclipse.desktop
    [Desktop Entry]
    X-SuSE-translate=true
    Categories=Development;
    Encoding=UTF-8
    Name=eclipse
    Comment=IDE c/c++
    TryExec=eclipse
    Exec=/usr/local/eclipse/eclipse
    Icon=/usr/local/eclipse/icon.xpm
    Terminal=false
    StartupNotify=true
    Type=Application

    在应用最近安装就可以看到了

    后续安装添加Pydev插件  Pydev- http://pydev.org/updates/

    http://pydev.org/nightly/

    另外一个地址http://pydev.sf.net/updates

    http://pydev.sourceforge.net/updates

    http://pydev.org/download.html

    http://sourceforge.net/projects/pydev/files/pydev/

    好像被墙了 本地安装

    将下载的PyDev解压

    PyDev解压后一般包含Plugins和Feature文件夹,将PyDev解压后的文件夹拷贝到Eclipse解压后的目录下即可,完成后再启动Eclipse,可以在Eclipse菜单Help->About Eclipse SDK->Installation Detail看到PyDev组件的安装。

    unzip PyDev 3.4.1.zip

    MyOpenSUSE:/home/jin/Downloads # cp -a features/* /usr/local/eclipse/features/
    MyOpenSUSE:/home/jin/Downloads # cp -a plugins/* /usr/local/eclipse/plugins/

    参考

    http://www.cnblogs.com/linzhenjie/articles/2639113.html

  • 相关阅读:
    KingPaper初探Java之初学者编码遇到的问题
    KingPaper初探redis之redis数据类型解析(String类型)
    KingPaper初探Java之面向对象对象的声名和实例化(一)
    KingPaper初探百度应用之百度地图API
    MYSQL之用户授权
    nginx入门到精通目录
    nginx入门篇负载均衡策略
    nginx入门篇功能特性
    开博啦
    ubuntu14.04下pycharm的安装及破解
  • 原文地址:https://www.cnblogs.com/diege/p/3549637.html
Copyright © 2020-2023  润新知