Search code examples
javanetbeansframeworksnettynio

setting up development environmrnt for netty


I have wrote an application using java NIO but I want implement that using Netty framework because NIO is a low level framework and it's not optimized. I have found a book for learning Netty but my problem is that I don't know how can I setting up development environment for netty and use netty library in my IDE. I downloaded netty jar file and added it to my library but some of classes didn't exist, for example EventLoopGroup. If I could use netty library in netbeans IDE it's better for me. My os is windows 7. Please help me.


Solution

  • You can also try Gradle and add a compile dependency in your build.gradle such as:

    compile 'io.netty:netty-all:4.0.23.Final'

    If you choose not to use Maven or Gradle, ensure you downloaded the netty-all jar, such as netty-all:4.0.23.Final.jar