How can I run an Interest Example from the command line? I got the ClassDefNotFoundException:javax.net.SocketFactory when I try to use ANT and this example despite I've got the jnet.jar in my CLASSPATH.
How can I change the CLASSPATH in ANT - i want the jnet.jar to be visible.
I'm not familiar with this example, but you most likely won't need your own classpath. Edit build.xml which ant runs, find the section where the classpath used in the compile target is defined (the bit with lots of jars) and add jnet.jar into here.