I am trying to run rmic command on my server class and get the message
error: Invalid class file format in .\SBServer.class. The major.minor version ' 49.0' is too recent for this tool to understand. error: Class SBServer not found. 2 errors
I am running the command from the directory the class is in. Please help.
Looks to me like SBServer was compiled with one version of Java, and rmic is run using another version. Try to do both with the same JVM and see what happens.
yup, you're trying to use a classfile compiled with a 1.5 compiler using a 1.4 (or earlier) rmic. That's not going to work, just as you can't run that 1.5 classfile with earlier JVMs.