# 7.6.0 with AdoptOpenJDK 13

**URL:** <https://discuss.elastic.co/t/7-6-0-with-adoptopenjdk-13/220053>\
**Category:** Elasticsearch\
**Created:** [February 19, 2020, 7:29pm UTC](https://discuss.elastic.co/t/7-6-0-with-adoptopenjdk-13/220053 "2020-02-19T19:29:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nealef](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@nealef](https://discuss.elastic.co/u/nealef)\
**Post date:** [February 19, 2020, 7:29pm UTC](https://discuss.elastic.co/t/7-6-0-with-adoptopenjdk-13/220053/1 "2020-02-19T19:29:35Z")

</div>

I built elasticsearch-oss 7.6.0 cleanly using AdoptOpenJDK 13. However, when I start it I get:

```auto
org.elasticsearch.transport.BindTransportException: Failed to bind to [9300-9400]
        at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:389) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
        at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:355) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
:
:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.nio.ch.Net
        at sun.nio.ch.ServerSocketChannelImpl.<init>(ServerSocketChannelImpl.java:101) ~[?:?]
        at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:56) ~[?:?]
        at io.netty.channel.socket.nio.NioServerSocketChannel.newSocket(NioServerSocketChannel.java:62) ~[?:?]
        at io.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:75) ~[?:?]
        at org.elasticsearch.transport.CopyBytesServerSocketChannel.<init>(CopyBytesServerSocketChannel.java:48) ~[?:?]
        at jdk.internal.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:481) ~[?:?]
        at io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:44) ~[?:?]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:298) ~[?:?]
        at io.netty.bootstrap.AbstractBootstrap.doBind(AbstractBootstrap.java:260) ~[?:?]
        at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:256) ~[?:?]
        at org.elasticsearch.transport.netty4.Netty4Transport.bind(Netty4Transport.java:300) ~[?:?]
        at org.elasticsearch.transport.netty4.Netty4Transport.bind(Netty4Transport.java:81) ~[?:?]
        at org.elasticsearch.transport.TcpTransport.lambda$bindToPort$7(TcpTransport.java:379) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
        at org.elasticsearch.common.transport.PortsRange.iterate(PortsRange.java:70) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]
        at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:377) ~[elasticsearch-7.6.0-SNAPSHOT.jar:7.6.0-SNAPSHOT]

```

netty appears to have been built on 24 Oct 2019. I am not sure if there is a problem with the level of java it was built with and that on which it is running (yes I know write once run anywhere). The only reason I suggest this is a search on this type of message has that as a symptom (not for this instance specifically).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 20, 2020, 8:20am UTC](https://discuss.elastic.co/t/7-6-0-with-adoptopenjdk-13/220053/2 "2020-02-20T08:20:34Z")

</div>

can you open a github issue in the elasticsearch repo for this please? IIRC then 7.6 should work with adoptopenjdk 13...

Please provide the full start up logs, as it contains some important logging information. Thank you!

---

<div class="post-metadata">

**Author:** ![nealef](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@nealef](https://discuss.elastic.co/u/nealef)\
**Post date:** [February 21, 2020, 10:19pm UTC](https://discuss.elastic.co/t/7-6-0-with-adoptopenjdk-13/220053/3 "2020-02-21T22:19:17Z")

</div>

Will do. I am just double-checking to make sure I hadn't introduced any errors.

---

<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:** [March 20, 2020, 10:19pm UTC](https://discuss.elastic.co/t/7-6-0-with-adoptopenjdk-13/220053/4 "2020-03-20T22:19:20Z")

</div>

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