Hi guys.
I've just installed libnetty-java package on my ubuntu
$ sudo apt-get install libnetty-java
and then try compile this code
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.channel.ExceptionEvent;
import org.jboss.netty.channel.MessageEvent;
import org.jboss.netty.channel.SimpleChannelUpstreamHandler;
...
It throws this error:
javac QuoteOfTheMomentClientHandler.java
QuoteOfTheMomentClientHandler.java:1: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.ChannelHandlerContext;
^
QuoteOfTheMomentClientHandler.java:2: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.ExceptionEvent;
^
QuoteOfTheMomentClientHandler.java:3: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.MessageEvent;
^
QuoteOfTheMomentClientHandler.java:4: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.SimpleChannelUpstreamHandler;
^
4 errors
neo@neo-desktop:~/workspace/java/mynetty1$ javac QuoteOfTheMomentClientHandler.java
QuoteOfTheMomentClientHandler.java:1: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.ChannelHandlerContext;
^
QuoteOfTheMomentClientHandler.java:2: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.ExceptionEvent;
^
QuoteOfTheMomentClientHandler.java:3: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.MessageEvent;
^
QuoteOfTheMomentClientHandler.java:4: package org.jboss.netty.channel does not exist
import org.jboss.netty.channel.SimpleChannelUpstreamHandler;
^
4 errors
How to fix this?
Do I need specify some path to find netty library or install some extra packages?
Thanks in advance!