代码之家  ›  专栏  ›  技术社区  ›  Ducaz035

命令行中fedora19上的Eclipse快捷方式

  •  0
  • Ducaz035  · 技术社区  · 12 年前

    我想直接从“输入命令”行运行eclipse。 我试着做了一些事情,导致了一些错误,现在我出现了gnome错误。 在我有eclipse目录之前,现在当我键入“eclipse”时,我什么都没有 alt+f2命令行。

    此外,我现在正在寻找修复gnome的方法,我正在使用eclipse kepler 4.3 This is the link that i tried to implement 我没能做到。 我现在真的需要帮助。

    干杯

    1 回复  |  直到 12 年前
        1
  •  0
  •   Ducaz035    12 年前

    我现在发现了我的错误,

    我试着放nano/usr/bin/eclipse,而不是我自己的目录

    所以现在的解决方案是:

    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 $*