ervandew / eclim

Expose eclipse features inside of vim.
http://eclim.org
GNU General Public License v3.0
1.04k stars 129 forks source link

Configure file not found #591

Open BigfootN opened 6 years ago

BigfootN commented 6 years ago

Hello,

I am desperately trying to install eclim on archlinux via the eclim.bin installer. Here is the command I ran:

$ eclim_2.7.2.bin --yes --eclipse=/usr/lib/eclipse --vimfiles=~/.local/share/nvim --plugins=jdt,wst
Welcome to the installer for eclim 2.7.2.

Eclim plugins to install:
  Java Development
  Web Development
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-initialize', '-debug'] ... done
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-clean', '-refresh', '-application', 'org.eclipse.equinox.p2.garbagecollector.application'] ... done

Checking for required eclipse dependencies...
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-application', 'org.eclipse.equinox.p2.director', '-repository', 'http://download.eclipse.org/releases/oxygen/', '-list'] ... done

Uninstalling eclim (2.7.2)...
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-application', 'org.eclipse.equinox.p2.director', '-uninstallIU', 'org.eclim.feature.group'] ... done
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-clean', '-refresh', '-application', 'org.eclipse.equinox.p2.garbagecollector.application'] ... done

Installing eclim...
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-application', 'org.eclipse.equinox.p2.director', '-repository', 'file:///tmp/eclim-installer.rNIx/update-site', '-installIU', 'org.eclim.feature.group'] ... done

The configure file could not be found at:
  /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/plugins/org.eclim_2.7.2/nailgun/configure
This probably indicates a bug with the installer.
Please report this issue on github:
  https://github.com/ervandew/eclim/issues

And so, as shown I get this message:

The configure file could not be found at:
  /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/plugins/org.eclim_2.7.2/nailgun/configure
This probably indicates a bug with the installer.
Please report this issue on github:
  https://github.com/ervandew/eclim/issues

And the installer doesn't seem to install anything in the vimfiles path.

Additional information:

OS: Archlinux Neovim: 0.2.3

Eclipse and jdk10-openjdk are well installed.

I am also unable to run :PingEclim, the command is not found.

Thank you very much in advance.

ervandew commented 6 years ago

Does the following path exist?

/home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/plugins/org.eclim_2.7.2

Are there any files in it?

$ ls /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/plugins/org.eclim_2.7.2
BigfootN commented 6 years ago

Thank you for your answer.

Unfortunately, the file doesn't exist.

This is what the ~/.eclipse/org.eclipse.platform.../plugins contains:

com.google.javascript_0.0.20160315.v20161124-1903.jar
com.google.protobuf_2.4.0.v201105131100.jar
com.ianbrandt.tools.m2e.mdp.core_0.0.4.201409291703.jar
com.objectgeneration.groovy_1.7.0.1
com.objectgeneration.hibernate_core_3.2.1
com.objectgeneration.hsqldb_1.8.0
com.objectgeneration.jpa_3.3.1
org.eclim.wst_2.7.2
org.eclipse.json_1.0.100.v201612232120.jar
org.eclipse.wst.common.project.facet.ui_1.4.601.v201707201954.jar
org.eclipse.wst.css.core_1.1.1000.v201704250120.jar
org.eclipse.wst.css.ui_1.0.1100.v201704250105.jar
org.eclipse.wst.doc.user_1.2.0.v201707252002.jar
org.eclipse.wst.html.core_1.2.102.v201711080031.jar
org.eclipse.wst.html.ui_1.0.1200.v201608060428.jar
org.eclipse.wst.html.ui.infopop_1.0.201.v201707252002.jar
org.eclipse.wst.internet.monitor.core_1.0.600.v201309182039.jar
org.eclipse.wst.internet.monitor.ui_1.0.700.v201309182039.jar
org.eclipse.wst.jsdt.chromium_0.5.200.v201610211901.jar
org.eclipse.wst.jsdt.chromium.debug_0.4.0.v201605131737.jar
org.eclipse.wst.jsdt.chromium.debug.core_0.5.300.v201705091354.jar
org.eclipse.wst.jsdt.chromium.debug.js_0.1.200.v201610211901.jar
org.eclipse.wst.jsdt.chromium.debug.jsdtbridge_0.5.200.v201610211901.jar
org.eclipse.wst.jsdt.chromium.debug.ui_0.6.200.v201701261810.jar
org.eclipse.wst.jsdt.chromium.wipbackend.dev_0.5.200.v201610212001.jar
org.eclipse.wst.jsdt.chromium.wipbackend.protocol_1_0_0.5.200.v201610212001.jar
org.eclipse.wst.jsdt.chromium.wip.eclipse_0.5.200.v201610212001.jar
org.eclipse.wst.jsdt.core_2.0.301.v201710051729.jar
org.eclipse.wst.jsdt.debug.core_3.2.200.v201610211901.jar
org.eclipse.wst.jsdt.debug.crossfire_1.0.500.v201505071819.jar
org.eclipse.wst.jsdt.debug.rhino_1.0.500.v201605251607.jar
org.eclipse.wst.jsdt.debug.rhino.debugger_1.0.600.v201604292217.jar
org.eclipse.wst.jsdt.debug.transport_1.0.300.v201502261613.jar
org.eclipse.wst.jsdt.debug.ui_1.0.600.v201605311817.jar
org.eclipse.wst.jsdt.doc_2.0.200.v201710302345.jar
org.eclipse.wst.jsdt.js.bower_1.0.200.v201610220243.jar
org.eclipse.wst.jsdt.js.cli_1.0.0.v201605192332.jar
org.eclipse.wst.jsdt.js.common_1.0.200.v201610211901.jar
org.eclipse.wst.jsdt.js.grunt_1.0.200.v201610211901.jar
org.eclipse.wst.jsdt.js.gulp_1.0.200.v201610211901.jar
org.eclipse.wst.jsdt.js.node_1.1.100.v201705091354.jar
org.eclipse.wst.jsdt.js.node.common_1.0.0.v201605131737.jar
org.eclipse.wst.jsdt.js.npm_1.0.300.v201711211802.jar
org.eclipse.wst.jsdt.manipulation_1.0.601.v201602241911.jar
org.eclipse.wst.jsdt.support.firefox_1.0.501.v201602241911.jar
org.eclipse.wst.jsdt.support.ie_1.0.601.v201602241911.jar
org.eclipse.wst.jsdt.ui_2.0.301.v201710051729.jar
org.eclipse.wst.jsdt.web.core_1.0.901.v201707142218.jar
org.eclipse.wst.jsdt.web.ui_1.1.0.v201711080031.jar
org.eclipse.wst.json.bower.core_1.0.0.v201605150457.jar
org.eclipse.wst.json.bower.ui_1.0.0.v201605201503.jar
org.eclipse.wst.json.core_1.0.100.v201707252002.jar
org.eclipse.wst.json.eslint.core_1.0.0.v201605150457.jar
org.eclipse.wst.json.eslint.ui_1.0.0.v201605201503.jar
org.eclipse.wst.json.jshint.core_1.0.0.v201605150457.jar
org.eclipse.wst.json.jshint.ui_1.0.0.v201605201503.jar
org.eclipse.wst.json.npm.core_1.0.0.v201605150457.jar
org.eclipse.wst.json.npm.ui_1.0.0.v201605201503.jar
org.eclipse.wst.json.schemaprocessor_1.0.200.v201704192002.jar
org.eclipse.wst.json.ui_1.0.100.v201612232120.jar
org.eclipse.wst.server.core_1.10.0.v201705172051.jar
org.eclipse.wst.server.discovery_1.3.100.v201705102053.jar
org.eclipse.wst.server.ui_1.5.401.v201711152154.jar
org.eclipse.wst.server.ui.doc.user_1.1.600.v201309182117.jar
org.eclipse.wst.server.ui.infopop_1.1.200.v201309182117.jar
org.eclipse.wst.web_1.1.800.v201312041437.jar
org.eclipse.wst.webtools.doc.user_1.0.500.v201208081537.jar
org.eclipse.wst.web.ui_1.1.601.v201602221748.jar
org.eclipse.wst.web.ui.infopop_1.0.300.v200805140206.jar
org.mozilla.javascript_1.7.5.v201504281450.jar

Thank you very much in advance.

ervandew commented 6 years ago

Interesting that org.eclim.wst_2.7.2 is in there.

How about the following:

$ ls /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/features

Did you have eclim installed in the past or is this your first attempt?

BigfootN commented 6 years ago

In the command I used : eclim_2.7.2.bin --yes --eclipse=/usr/lib/eclipse --vimfiles=~/.local/share/nvim --plugins=jdt,wst I specified --plugins=jdt,wst, so I suppose it's normal ?

For the other question:

$ ls /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/features
com.ianbrandt.tools.m2e.mdp.feature_0.0.4.201409291703
com.objectgeneration.groovy_feature_1.7.0.1
com.objectgeneration.hibernate_feature_1.3.7
com.objectgeneration.hsqldb_feature_1.3.7
org.eclim_2.7.2
org.eclipse.wst.jsdt.chromium.debug.feature_0.6.0.v201705091354
org.eclipse.wst.jsdt.feature_2.1.1.v201803202007
org.eclipse.wst.jsdt.nodejs.feature_1.1.0.v201803202007
org.eclipse.wst.json_core.feature_1.1.2.v201711071522
org.eclipse.wst.json_ui.feature_1.1.2.v201711071522
org.eclipse.wst.server_core.feature_3.3.700.v201705172051
org.eclipse.wst.server_ui.feature_3.3.700.v201711152154
org.eclipse.wst.server_userdoc.feature_3.3.300.v201405011426
org.eclipse.wst.web_core.feature_3.9.2.v201803221834
org.eclipse.wst.web_ui.feature_3.9.2.v201803221834
org.eclipse.wst.web_userdoc.feature_3.9.2.v201710252304

Thank you for your precious help.

ervandew commented 6 years ago

I specified --plugins=jdt,wst, so I suppose it's normal ?

No, you should still have several plugins: org.eclim, org.eclim.core, org.eclim.jdt, and org.eclim.wst The fact that you only have the last one is very odd.

Unfortunately the eclipse p2 director (what is responsible for managing eclipse features) isn't the best, so the only recommendation I can think of for now would be to manually clean out what was installed:

$ rm -r /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/features/org.eclim*
$ rm -r /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/plugins/org.eclim*

Then attempt to install eclim again.

BigfootN commented 6 years ago

This is what I get:

Welcome to the installer for eclim 2.7.2.

Eclim plugins to install:
  Java Development
  Web Development
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-initialize', '-debug'] ... done
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-clean', '-refresh', '-application', 'org.eclipse.equinox.p2.garbagecollector.application'] ... done

Checking for required eclipse dependencies...
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-application', 'org.eclipse.equinox.p2.director', '-repository', 'http://download.eclipse.org/releases/oxygen/', '-list'] ... done

Installing eclim...
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-application', 'org.eclipse.equinox.p2.director', '-repository', 'file:///tmp/eclim-installer.UL45/update-site', '-installIU', 'org.eclim.feature.group'] ... done

Unable to locate where the eclipse p2 director installed eclim.
This probably indicates a bug with the installer.
Please report this issue on github:
  https://github.com/ervandew/eclim/issues

Thank you very much in advance.

ervandew commented 6 years ago

Eclipse is probably in some invalid state. You can try opening the eclipse gui then going to:

Help (menu) > About Eclipse IDE  (menu) > Installation Details (button) > Installed Software (tab)

and see if eclim shows up there. if so click the row and hit the Uninstall button.

If that doesn't work I'd recommend downloading an eclipse package from eclipse.org and installing eclim against that.

BigfootN commented 6 years ago

Thank you for your help, unfortunately, I have the same message as in the first post.

If that doesn't work I'd recommend downloading an eclipse package from eclipse.org and installing eclim against that.

So I suppose you mean by installing eclipse, not from the archlinux package ?

I also tried to install the eclim_2.8.0 installer and I got this:

Welcome to the installer for eclim 2.8.0.

Eclim plugins to install:
  Java Development
  Web Development
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-initialize', '-debug'] ... done
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-clean', '-refresh', '-application', 'org.eclipse.equinox.p2.garbagecollector.application'] ... done

Checking for required eclipse dependencies...
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-application', 'org.eclipse.equinox.p2.director', '-repository', 'http://download.eclipse.org/releases/photon/', '-list'] ... done

[*] Upgrade org.eclipse.jdt (3.14.0)
[*] Upgrade org.eclipse.wst.web_ui.feature (3.10.0)
running: ['java', '-Djava.net.useSystemProxies=true', '-jar', '/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar', '-application', 'org.eclipse.equinox.p2.director', '-repository', 'http://download.eclipse.org/releases/photon/', '-installIU', 'org.eclipse.jdt.feature.group'] ... Cannot complete the install because of a conflicting dependency.
 Software being installed: Eclipse Java Development Tools 3.14.0.v20180611-0500 (org.eclipse.jdt.feature.group 3.14.0.v20180611-0500)
 Software currently installed: Eclipse Java Development Tools 3.13.4.v20180330-0919 (org.eclipse.jdt.feature.group 3.13.4.v20180330-0919)
 Only one of the following can be installed at once: 
  Java Annotation Processing Core 3.5.100.v20180322-1206 (org.eclipse.jdt.apt.core 3.5.100.v20180322-1206)
  Java Annotation Processing Core 3.6.0.v20180321-1528 (org.eclipse.jdt.apt.core 3.6.0.v20180321-1528)
 Cannot satisfy dependency:
  From: Eclipse Java Development Tools 3.13.4.v20180330-0919 (org.eclipse.jdt.feature.group 3.13.4.v20180330-0919)
  To: org.eclipse.jdt.apt.core [3.5.100.v20180322-1206]
 Cannot satisfy dependency:
  From: Eclipse Java Development Tools 3.14.0.v20180611-0500 (org.eclipse.jdt.feature.group 3.14.0.v20180611-0500)
  To: org.eclipse.jdt.apt.core [3.6.0.v20180321-1528]
Application failed, log file location: /home/bigfoot/.eclipse/org.eclipse.platform_4.7.3_155965261_linux_gtk_x86_64/configuration/1530821661378.log
abort: command failed.
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
Installing org.eclipse.jdt.feature.group 3.14.0.v20180611-0500.
Installation failed.

Thank you very much in advance.

ervandew commented 6 years ago

I also tried to install the eclim_2.8.0 installer and I got this:

eclim 2.8 requires eclipse 4.8 (photon) which isn't in the arch community repo yet.

So I suppose you mean by installing eclipse, not from the archlinux package ?

yup, from eclipse.org

BigfootN commented 6 years ago

I found out that with vim, and the archlinux eclim package, it works, the eclim commands are well recognized.

So I suppose it must come from neovim ?

ervandew commented 6 years ago

vim vs neovim wouldn't have any affect on installing features/plugins in eclipse. the aur package doesn't use the eclipse p2 director, which is why it doesn't fail.

BigfootN commented 6 years ago

Sorry for the late response.

It still doesn't work. I've tried to manually install eclipse, but still no result.

Thank you very much in advance.

MironAtHome commented 5 years ago

I just had this warning... seems one of the JAR files in same plugin

The authenticity or validity of this software cannot be established. Do you want to continue with the installation?

C:\Users\>.p2\pool\plugins\com.ianbrandt.tools.m2e.mdp.core_0.0.4.201409291703.jar C:\Users\.p2\pool\features\com.ianbrandt.tools.m2e.mdp.feature_0.0.4.201409291703


I guess the question "is that normal" would be besides the point :)