I am trying to use Hall's echo server class by typing into terminal in the directory where the echoserver.jar sits.
sudo
java -jar echoserver.jar
Error message: Invalid or corrupt jarfile echoserver.jar
I downloaded the echoserver.jar from
Chapter 19 downloads Do I need to remake the .class files as package in netbeans and run them there instead of using the .jar?
I am using Ubuntu Linux 7.10, AMD 64, Netbeans 6.1, java version 1.7.0
Another beginner question: If I am running the echoserver.jar do I need to turn off
tomcat?