This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I'm getting a ClassNotFoundException to try read object from socket. In Eclipse, I send an object that belongs the package com.messenger.client.User to the Socket. So, I build a jar file to that package.
Now, I going to Terminal Linux e run my server socket with the command javac -cp User.jar Server.java, then java Server
However, appears the following error:
After several attempts, problem was resolved. I compiled the Server with javac Server.java then java -cp User.jar Server.