Marc,

Simple steps, (using command line)
1. Set the classpath with all required jars
2. Run the main program like >java fully.qualified.name.of.class

For ex: >java org.apache.mina.example.echoserver.Main

Using Maven
>mvn clean install (execute this from base dir)
>mvn exec:java -Dexec.mainClass=org.apache.mina.example.echoserver.Main
(execute this command from mina-example dir)

These are valid for 2.0 branch.



On Fri, Apr 26, 2013 at 3:03 AM, Marc Adler <marc.adler...@gmail.com> wrote:

> Hello,
>
> how to run the examples shipped with mina?
> As I'm new to java I'm not sure how to run the examples in the precompiled
> libraries.
>
> Thanks for help
>
> Marc
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Reply via email to