Hi you all,

This question has been posed on this mailing list more than a year ago,
but it was only solved by downgrading to jdk 1.1.3. I do not want to do
so, maybe someone has another solution. When trying to compile the Jump
example, I get the following error:

$ java -classpath /usr/lib/jdk1.1/lib/classes.zip:..:. Jump -c -o Hello
Jump  Java(tm) User Module for Pilot  Version 1.0 Beta 4
Copyright (c) 1996,1997 by Greg Hewgill
http://userzweb.lightspeed.net/~gregh/pilot
Please see the file COPYING for distribution rights.

Compiling: Hello.class
AssertionFailedException: Class Hello not found
        at ASSERT.fail(jump.java:67)
        at Klass.Load(jump.java:2921)
        at Jump.main(jump.java:3714)

As a java newbie, I do not understand very much of it, but the offending
code goes like this:

      InputStream cstream = ClassLoader.getSystemResourceAsStream(classname+".class");
      if (cstream == null) {
        ASSERT.fail("Class "+classname+" not found");
      }

as far as I understood this, the program can't open the Hello.class file, but
access right are ok and the directory is in the CLASSPATH...

Maybe someone else has an idea!?

Kind regards,
                Alex

Reply via email to