From owner-freebsd-java Wed May 9 20:23:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 37C7737B422 for ; Wed, 9 May 2001 20:23:45 -0700 (PDT) (envelope-from cedric@wireless-networks.com) Received: from [63.206.197.250] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4.2) with ESMTP id 629007; Wed, 09 May 2001 20:26:56 -0700 Message-ID: <3AFA0A63.3D1ED647@wireless-networks.com> Date: Wed, 09 May 2001 20:26:28 -0700 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Norbert Papke Cc: westbay , java@FreeBSD.ORG Subject: Re: Baffled: Linux JDK 1.3.0 Port References: <20010509195125.O15988-100000@localhost.telus.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Norbert Papke wrote: > Just to clrarify, this is what happens: > > /usr/home/npapke %ll Hello.class > -rw-r--r-- 1 npapke npapke 416 May 9 19:54 Hello.class > /usr/home/npapke %java -classpath . Hello > Exception in thread "main" java.lang.NoClassDefFoundError: Hello > /usr/home/npapke %cd /tmp > /tmp %cp ~/Hello.class . > /tmp %ll Hello.class > -rw-r--r-- 1 npapke wheel 416 May 9 19:57 Hello.class > /tmp %java -classpath . Hello > Hello World! > > Is it just me, or is this really odd? Do your "Hello" class depends on another class? i.e "class Hello extends Babula" with Babula.class only on /tmp My point is that the I believe NoClassDefFound can be misleading, and indicates that a superclass or dependant class is not found. Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message