Results 1 to 7 of 7

Thread: eclipse not executable

  1. #1

    Default eclipse not executable

    I am using Opensuse 13.1 KDE.

    I just installed the new version of eclipse and have the following problem:

    if try to start it via K-menu it says
    Code:
    KDEInit could not find 'eclipse' executeable
    if i try to start via console it also cant find the command.

    I checked the usr/bib, eclipse is in there but as a directory.
    If I do
    Code:
     /usr/bin/eclipse/./eclipse
    it works.

    Any idea how to fix this?

  2. #2

    Default Re: eclipse not executable

    Quote Originally Posted by JakobAbfalter View Post
    I am using Opensuse 13.1 KDE.

    I just installed the new version of eclipse and have the following problem:

    if try to start it via K-menu it says
    Code:
    KDEInit could not find 'eclipse' executeable
    if i try to start via console it also cant find the command.

    I checked the usr/bib, eclipse is in there but as a directory.
    If I do
    Code:
     /usr/bin/eclipse/./eclipse
    it works.

    Any idea how to fix this?
    Well, apparently the executable is /usr/bin/eclipse/eclipse.
    Which doesn't make sense.

    How exactly did you install it?

  3. #3

    Default Re: eclipse not executable

    Quote Originally Posted by wolfi323 View Post
    Well, apparently the executable is /usr/bin/eclipse/eclipse.
    Which doesn't make sense.

    How exactly did you install it?
    http://software.opensuse.org/package/eclipse

    I used the top 64bit RPM

  4. #4

    Default Re: eclipse not executable

    Quote Originally Posted by JakobAbfalter View Post
    You mean the one from home:Mailaender?

    AFAICS, this should install the executable to /usr/bin/eclipse, _not_ /usr/bin/eclipse/eclipse.
    Maybe you had a directory /usr/bin/eclipse/ right from the start?

    Try to remove this, and reinstall eclipse:
    Code:
    sudo rm -r /usr/bin/eclipse
    sudo zypper in -f eclipse
    This does only work if you added the repo of course.

    If not, please ask again for help, with information what you really exactly did to install it.

  5. #5

    Default Re: eclipse not executable

    Quote Originally Posted by wolfi323 View Post
    You mean the one from home:Mailaender?

    AFAICS, this should install the executable to /usr/bin/eclipse, _not_ /usr/bin/eclipse/eclipse.
    Maybe you had a directory /usr/bin/eclipse/ right from the start?

    Try to remove this, and reinstall eclipse:
    Code:
    sudo rm -r /usr/bin/eclipse
    sudo zypper in -f eclipse
    This does only work if you added the repo of course.

    If not, please ask again for help, with information what you really exactly did to install it.
    I did exactly what you said 2 times, I also double checked i really removed the directory in the bin before i did a new install, still everytime I install it, its in eclipse/eclipse

  6. #6
    Join Date
    Dec 2008
    Location
    Norway
    Posts
    550

    Default Re: eclipse not executable

    Simply download eclipse from www.eclipse.org
    Unpack it under your home directory. It will then be unpacked under /home/user/eclipse
    Or if you want eclipse for multiple users then unpack it elsewhere, like under /opt or /usr

    Run command file
    /home/user/eclipse/eclipse
    Or create a KDE/GNOME menu entry for this command.

    Bare in mind you need Java installed and its executables reachable.

  7. #7

    Default Re: eclipse not executable

    Quote Originally Posted by JakobAbfalter View Post
    I did exactly what you said 2 times, I also double checked i really removed the directory in the bin before i did a new install, still everytime I install it, its in eclipse/eclipse
    This would be a bug in the package, but if I download the one from home:Mailaender and open it with Ark, I only see /usr/bin/eclipse in it, no /usr/bin/eclipse/eclipse.

    I tried to install it now, and it is /usr/bin/eclipse indeed.
    Well, actually /usr/bin/eclipse is a symlink to /usr/lib64/eclipse/eclipse:
    Code:
    # ls -l /usr/bin/eclipse
    lrwxrwxrwx 1 root root 24 11. Apr 11:44 /usr/bin/eclipse -> ../lib64/eclipse/eclipse
    So the problem actually is that /usr/lib64/eclipse/eclipse is a directory:
    Code:
    ll -l /usr/lib64/eclipse
    insgesamt 163
    -rw-r--r--  1 root root 113656 24. Feb 11:31 artifacts.xml
    drwxr-xr-x  5 root root    224 11. Apr 11:44 configuration
    drwxr-xr-x  2 root root     48 24. Feb 11:31 dropins
    drwxr-xr-x  9 root root    472 11. Apr 11:44 eclipse
    -rw-r--r--  1 root root    446 24. Feb 11:31 eclipse.ini
    drwxr-xr-x 33 root root   2128 11. Apr 11:44 features
    -rw-r--r--  2 root root   9022  9. Okt 2013  icon.xpm
    drwxr-xr-x  4 root root    144 11. Apr 11:44 p2
    drwxr-xr-x 11 root root  33304 11. Apr 11:46 plugins
    It contains the same stuff that should be in /usr/lib64/eclipse/.
    Code:
    ls -l /usr/lib64/eclipse/eclipse
    insgesamt 239
    drwxr-xr-x  2 root root    176 11. Apr 11:44 about_files
    -rw-r--r--  1 root root  18732 17. Jän 17:30 about.html
    -rw-r--r--  1 root root 113671 24. Feb 11:32 artifacts.xml
    drwxr-xr-x  5 root root    224 11. Apr 11:44 configuration
    drwxr-xr-x  2 root root     48 24. Feb 11:32 dropins
    -rwxr-xr-x  1 root root  20592 27. Mär 18:23 eclipse
    -rw-r--r--  1 root root    449 24. Feb 11:33 eclipse.ini
    -rw-r--r--  3 root root  16536 12. Feb 14:03 epl-v10.html
    drwxr-xr-x 33 root root   2128 11. Apr 11:44 features
    -rw-r--r--  2 root root   9022  9. Okt 2013  icon.xpm
    -rw-r--r-- 61 root root   9230  2. Mai 2013  notice.html
    drwxr-xr-x  4 root root    144 11. Apr 11:44 p2
    drwxr-xr-x 11 root root  33328 11. Apr 11:46 plugins
    drwxr-xr-x  2 root root     88 11. Apr 11:44 readme
    You should maybe contact the repo maintainer and inform him of the issue.
    You can find out his email address by running "rpm -q --changelog eclipse".



    PS: The other package from home:marec2000 doesn't seem to have this issue, so you might try to install that one.
    Last edited by wolfi323; 11-Apr-2014 at 03:06.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •