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 java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Compiled Code)
 at java.security.SecureClassLoader.defineClass(Compiled Code)
 at java.net.URLClassLoader.defineClass(Compiled Code)
 at java.net.URLClassLoader.access$1(Compiled Code)
 at java.net.URLClassLoader$1.run(Compiled Code)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Compiled Code)
 at java.lang.ClassLoader.loadClass(Compiled Code)
 at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
 at java.lang.ClassLoader.loadClass(Compiled Code)

begin:vcard 
n:Grepps;Paul
tel;home:(703) 327-0768
x-mozilla-html:TRUE
org:Lightningcast Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principal Engineer
x-mozilla-cpt:;0
fn:Paul Grepps
end:vcard

Reply via email to