Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 09:48:56 +1000
From:      Joe Shevland <J.Shevland@eclipsegroup.com.au>
To:        'Norbert Papke' <npapke@acm.org>, "'java@FreeBSD.ORG'" <java@FreeBSD.ORG>
Subject:   RE: Baffled: Linux JDK 1.3.0 Port
Message-ID:  <C56487636E5CD4119B1E00D0B789098AC96884@MEL-EXCH1>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C56487636E5CD4119B1E00D0B789098AC96884>