Re: RMI and ClassFormatException

1999-10-28 Thread Uncle George
Is the pgm avail on-line ? gat Paul Grepps wrote: > Hello, > > I'm trying the WeatherServer RMI example out of the "Just Java 2" book > and I'm getting the following exception. > I -- To UNSUBSCRIBE, email to [EMAIL PROTECTE

Re: RMI and ClassFormatException

1999-10-27 Thread Chris Abbey
bad magic number means that the first 4 bytes of the delivered class file did not match 0xcafebabe. check that whatever server is handling the URL (i.e. a webserver) is sending it as binary, and that it isn't returning something like this: "404: file not found" ;) At 15:37 10/27/99 -0400, Paul Gr

RMI and ClassFormatException

1999-10-27 Thread Paul Grepps
Hello, I'm trying the WeatherServer RMI example out of the "Just Java 2" book and I'm getting the following exception. I am using Blackdown's JDK1.2 and the jre under that distribution under RedHat 6.1. Exception in thread "main" java.lang.ClassFormatError: weather/RMIdemo (Bad magic number) at