From owner-freebsd-java Tue May 22 12:21:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 4545137B422 for ; Tue, 22 May 2001 12:21:55 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f4MJKD614737; Tue, 22 May 2001 21:20:13 +0200 (CEST) (envelope-from ernst) Date: Tue, 22 May 2001 21:20:13 +0200 From: Ernst de Haan To: "Koster, K.J." Cc: "'FreeBSD Java mailing list'" Subject: Re: Linux JDK path problems (with workaround) Message-ID: <20010522212013.A14725@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E452205FD9BF6@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9BF6@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, May 22, 2001 at 01:34:02PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey Kees Jan and all, I had this problem about a year ago. I traced the problem back to the fact that the system property user.home contained garbage. This is *probably* a Linuxulator problem, since I've had the same problem with different Linux JDK's. It's in my experience a weird problem that doesn't expose itself all the time. Ernst Koster, K.J. wrote: > Dear All, > > When I use Ant (from the ports) I get the problem that Ant is unable to open > the build file. From the output it is clear that there is something with the > path. This is with Linux JDK 1.3.0 and Linux JDK 1.2.2. Of course, our > native port works fine. :-) > > % touch build.xml > % ant > Buildfile: build.xml > > BUILD FAILED > > java.io.FileNotFoundException: iÉ/build.xml (No such file or directory) > ^^- note this > --- Nested Exception --- > java.io.FileNotFoundException: iÉ/build.xml (No such file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:64) > > ...etc. > > The workaround is to execute a "cd `pwd`" before invoking ant. Don't ask me > why this works. Thus, I run "cd `pwd`; ant" and it works fine. > > I can only seem to reproduce the problem on NFS mount points. Executing "ant > -debug" reveals that there is a problem with the path properties to the JDK > when it is executed on NFS mount points. > > Are there known problems between FreeBSD NFS and our Linuxulator? > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message