You'd have to write a different ClassServer - rather than ClassFileServer, you'd have something like ClassJarFileServer, that's able to take a JAR file and extract the class files from it and send them to clients. Luckily, Java provides you with a lot of classes to already do operations like this on JAR files.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.