# Building Elasticsearch with Eclipse

**URL:** https://discuss.elastic.co/t/building-elasticsearch-with-eclipse/155063
**Category:** Elasticsearch
**Created:** [November 1, 2018, 6:43pm UTC](https://discuss.elastic.co/t/building-elasticsearch-with-eclipse/155063 "2018-11-01T18:43:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![keithag](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@keithag](https://discuss.elastic.co/u/keithag)
#### Post date: [November 1, 2018, 6:43pm UTC](https://discuss.elastic.co/t/building-elasticsearch-with-eclipse/155063/1 "2018-11-01T18:43:21Z")

</div>

Hello, I'm trying to build Elasticsearch under Eclipse. I've followed the instructions found in CONTRIBUTING.md:

- I've run ./gradlew eclipse to configure the IDE
- I've increased heap to 2048 in eclipse.ini
- I've got Java 10
- I've tried both Eclipse oxygen and photon

Eclipse is reporting 83 errors and 6653 warnings. There are errors in two Tuple\<\> assignments in IndicesAndAliasesResolverTests.java:

```
public void testNonRemotableRequestDoesNotAllowRemoteIndices() {
    IndicesOptions options = IndicesOptions.fromOptions(true, false, false, false);
    Tuple<TransportRequest, String> tuple = randomFrom(
            new Tuple<>(new CloseIndexRequest("remote:foo").indicesOptions(options), CloseIndexAction.NAME),
            new Tuple<>(new DeleteIndexRequest("remote:foo").indicesOptions(options), DeleteIndexAction.NAME),
            new Tuple<>(new PutMappingRequest("remote:foo").indicesOptions(options), PutMappingAction.NAME)
    );

```

Same errors on Lines 1133-36 and 1145-48,  
Cannot infer type arguments for Tuple\<\> IndicesAndAliasesResolverTests.java /:x-pack:plugin:security/src/test/java/org/elasticsearch/xpack/security/authz line 1134 Java Problem

Then there are 79 more errors in BatsOverVagrantTask.groovy, JarHellTask.groovy, LoggerUsageTask.groovy, VagrantCommandTask.groovy, and more. The errors are all similar:  
Groovy:Abstract method 'org.gradle.process.BaseExecSpec setStandardOutput(java.io.OutputStream)' is not implemented but a method of the same name but different return type is defined: method 'org.gradle.api.tasks.AbstractExecTask setStandardOutput(java.io.OutputStream)' JarHellTask.groovy /:build-tools/src/main/groovy/org/elasticsearch/gradle/precommit line 1 Java Problem

I can build and run the program from the command line using ./gradlew run

Thank you

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 29, 2018, 6:43pm UTC](https://discuss.elastic.co/t/building-elasticsearch-with-eclipse/155063/2 "2018-11-29T18:43:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
