From owner-freebsd-java Thu May 10 0:50:30 2001 Delivered-To: freebsd-java@freebsd.org Received: from khan.acc.umu.se (khan.acc.umu.se [130.239.18.139]) by hub.freebsd.org (Postfix) with ESMTP id 65E7B37B423 for ; Thu, 10 May 2001 00:50:26 -0700 (PDT) (envelope-from markush@acc.umu.se) Received: from shaka.acc.umu.se (markush@shaka.acc.umu.se [130.239.18.148]) by khan.acc.umu.se (8.11.2/8.11.2) with ESMTP id f4A7oOe13345; Thu, 10 May 2001 09:50:24 +0200 (MEST) Received: (from markush@localhost) by shaka.acc.umu.se (8.11.2/8.11.2) id f4A7oOX20384; Thu, 10 May 2001 09:50:24 +0200 (MEST) Date: Thu, 10 May 2001 09:50:23 +0200 From: Markus Holmberg To: Norbert Papke Cc: java@FreeBSD.ORG Subject: Re: Baffled: Linux JDK 1.3.0 Port Message-ID: <20010510095023.A20275@acc.umu.se> References: <20010509160211.Q14705-100000@localhost.telus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3-current-20000511i In-Reply-To: <20010509160211.Q14705-100000@localhost.telus.net>; from npapke@acm.org on Wed, May 09, 2001 at 04:39:01PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Norbert, You are not the only one to experience this. I have also experienced this (and found it very odd), but never got down to investigate closer. For me, it's the same but reverse! /tmp <- NoClassDefFoundError /home <- works! I suspect it is the Linux emulation behaving strange. Regards, Markus. On Wed, May 09, 2001 at 04:39:01PM -0700, Norbert Papke wrote: > 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 -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message