# Compile Problems

**URL:** https://discuss.elastic.co/t/compile-problems/5482
**Category:** Elasticsearch
**Created:** [September 30, 2011, 3:00am UTC](https://discuss.elastic.co/t/compile-problems/5482 "2011-09-30T03:00:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![FreeDaemon](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@FreeDaemon](https://discuss.elastic.co/u/FreeDaemon)
#### Post date: [September 30, 2011, 3:00am UTC](https://discuss.elastic.co/t/compile-problems/5482/1 "2011-09-30T03:00:04Z")

</div>

I can't seem to compile ElasticSearch from source.  
"elasticsearch:javadoc" seems to be the problem. I've tried 1) version  
0.17.0 and 2) the latest clone of the Github source. I'm trying to  
compile on Fedora 13. Here is the version info for Java

* * *

## java version "1.6.0\_22" OpenJDK Runtime Environment (IcedTea6 1.10.3) (fedora-59.1.10.3.fc15- x86\_64) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

## Here is the output of gradlew

:elasticsearch:jar  
:test-testng:javadoc  
:elasticsearch:javadoc

FAILURE: Build failed with an exception.

- What went wrong:  
Execution failed for task ':elasticsearch:javadoc'.  
Cause: Javadoc generation failed.  
Cause: Command '/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86\_64/bin/  
javadoc' finished with (non-zero) exit value 137.

* * *

The --stacktrace, --info, or --debug options don't give any useful  
information either.

I am able to build on OS X 10.7.1 with java version:

* * *

## java version "1.6.0\_26" Java(TM) SE Runtime Environment (build 1.6.0\_26-b03-383-11A511) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)

I do get warnings in the javadoc part, but at least the build doesn't  
fail like on Fedora 13. Any pointers? Thanks!

---

<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: [July 6, 2017, 3:53am UTC](https://discuss.elastic.co/t/compile-problems/5482/2 "2017-07-06T03:53:19Z")

</div>


