Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 1998 15:22:01 -0700 (PDT)
From:      Tom Bartol <bartol@salk.edu>
To:        Adrian Colley <Adrian.Colley@East.Sun.COM>
Cc:        ritter@orbysis.com, freebsd-java@FreeBSD.ORG
Subject:   Re: Can't find class blah.class
Message-ID:  <Pine.BSF.3.96.980419151617.9249A-100000@cole.salk.edu>
In-Reply-To: <87532138.fnord546344@three.serpentine.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks for the extremely rapid response (and please excuse my extremely
slow "thankyou").  The problem was indeed an anomalous "package demos;"
statement at the top of the program.  This must have been a vestigial
piece of code left over from the authors' package tree.  Commenting out
this statement fixed the code and it now runs perfectly using:

"java bounce"

as it should.  I now have an excellent java development environment in
which to design my project.  Thanks to Sun and the FreeBSD team for such
a wonderful set of tools!!!

Tom


On Fri, 17 Apr 1998, Adrian Colley wrote:

> tb> java bounce
> tb> Can't find class bounce
> 
> Java will look for "./bounce.class", but if it doesn't contain a
> definition for "bounce" ("some.packagename.bounce" and "Bounce" are
> possible red herrings) it will fail abysmally.
> 
> Sometimes, a missing superclass/interface/declared component class
> will cause a class to fail to load (you should be getting an
> ExceptionInInitializer error, but the provided error message isn't
> helpful).
> 
> All this may be obvious to you; and you might have found a real bug.
> Make sure CLASSPATH is set to "." and use "javap bounce" in the
> correct directory.  If you get the same error, there's probably
> something wrong with the classfile.
> 
>  --adrian.
> RMI Team
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980419151617.9249A-100000>