# Trivial NodeBuilder Java code resulting in "jar hell" error

**URL:** <https://discuss.elastic.co/t/trivial-nodebuilder-java-code-resulting-in-jar-hell-error/34731>\
**Category:** Elasticsearch\
**Created:** [November 16, 2015, 9:00pm UTC](https://discuss.elastic.co/t/trivial-nodebuilder-java-code-resulting-in-jar-hell-error/34731 "2015-11-16T21:00:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![aliteralmind](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@aliteralmind](https://discuss.elastic.co/u/aliteralmind)\
**Post date:** [November 17, 2015, 5:06pm UTC](https://discuss.elastic.co/t/trivial-nodebuilder-java-code-resulting-in-jar-hell-error/34731/3 "2015-11-17T17:06:05Z")

</div>

I saw a jar-hell related bug in another ElasticSearch forum, so I assumed it was a related bug and didn't look carefully enough at the error message.

I've removed ant-javafx.jar from the JDK, and it now works. But it honestly seems like an odd thing to have to do--alter some files from the default installation of the Oracle JDK. But for now, I don't use JavaFX anywhere, so hopefully this won't cause other problems.

Thanks for you help.

---

_[View the full topic](https://discuss.elastic.co/t/trivial-nodebuilder-java-code-resulting-in-jar-hell-error/34731)._
