From owner-freebsd-java Wed May 9 16:53:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from mel-exch1.eclipsegroup.com.au (061.120.134.203.zzz.iprimus.net.au [203.134.120.61]) by hub.freebsd.org (Postfix) with ESMTP id 363A137B423 for ; Wed, 9 May 2001 16:53:20 -0700 (PDT) (envelope-from J.Shevland@eclipsegroup.com.au) Message-ID: From: Joe Shevland To: 'Norbert Papke' , "'java@FreeBSD.ORG'" Subject: RE: Baffled: Linux JDK 1.3.0 Port Date: Thu, 10 May 2001 09:48:56 +1000 MIME-Version: 1.0 Content-Type: text/plain Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This may be quite wrong, but are you including '.' in the classpath? But I guess if you're trying the same thing from /tmp, this isn't right. Maybe: java -verbose[:class|gc|jni] ... may provide some more output about the classpath being used etc. ? Regards, Joe > -----Original Message----- > From: owner-freebsd-java@FreeBSD.ORG > [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Norbert Papke > Sent: Thursday, 10 May 2001 9:39 AM > To: java@FreeBSD.ORG > Subject: Baffled: Linux JDK 1.3.0 Port > > > I am running into some strange behavior with the Linux JDK > 1.3.0 port. I > am really hoping that somebody could set me straight on what > is going on. > > If a build a java app (even a simple "Hello world") and try > to run it from > my home directory I inevitably get the following error: > > % java Hello > Exception in thread "main" java.lang.NoClassDefFoundError: Hello > > However, the exact same class file executed from /tmp works perfectly. > To eliminate directory pathname lengths, I've tried the same in > subdirectories under /tmp (several long names). Still works. > > I've tried different user directories and I get the same error. > > I've set and unset CLASSPATH in I don't know how many different ways > without any impact. > > Does anybody have any idea what may be going on? I think I > am losing my > mind ... > > Not sure if this is important but I am running a very recent > 4.3 Stable > build. > > Cheers, > > -- Norbert Papke. > npapke@acm.org > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message