From owner-freebsd-java Sun May 7 2:17:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 26D4E37B671 for ; Sun, 7 May 2000 02:17:24 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id SAA51290; Sun, 7 May 2000 18:47:15 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200005070917.SAA51290@ares.trc.adelaide.edu.au> Subject: Re: ClassNotFoundError when running Java2Demo.jar In-Reply-To: <39136B61.2FBAA50C@ipass.net> from "Michael E. Mercer" at "May 5, 2000 08:46:25 pm" To: mmercer@ipass.net Date: Sun, 7 May 2000 18:47:14 +0930 (CST) Cc: "'FreeBSD Java mailing list'" X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Michael, > FreeBSD 4.0-Stable > using patchset 7, unixODBC, dgs, am using the release build, > Note: I am using the release build to bootstrap the build process... > > however this exception is thrown using the release java and the build/freebsd > java... > I have verified that both these classes are in the jre/lib/rt.jar file. > > I would also like to mention that the window size for most applications are too > small, > what I mean is if I just act as if I am resizing the window, then all the inner > components > get resized correctly... Two things I've found recently improve things: 1. Lesstif 0.90.0 fixed some graphics quirks I was noticing with 0.89.9. 2. I'm testing a version of the awt toolkit which changes merged in from the Linux code that appears to lay things out a bit better (particularly in regards to the Java2DDemo, the Anim delay slider isn't all squeezed up and the Memory Monitor and Performance monitor are both visible). > anyways, > > Run the Java2Demo > > java -cp Java2Demo.jar Java2Demo > or > > java -jar Java2Demo.jar > > then goto the MIX tab, > in the java media box ( lower left ) in the Mix1 tab, > hit the play button on the sfx-medley.rmf > This exception is thrown. > > Exception occurred during event dispatching: > java.lang.NoClassDefFoundError: sun/audio/HaeDevice Difficult for me to test, as I haven't yet a machine with a working sound card setup (yet :). I did try it though and got: AudioPlayer exited; audio device may not be accessible. Which is entirely understandable :). I know Kees Jan Koster (take a look at his web page) has had some success playing sounds, although there appear to be some problems with the play back for patchset 7 (which I need to get back to him about :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message