From owner-freebsd-java@FreeBSD.ORG Wed May 12 15:30:45 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B607B106564A for ; Wed, 12 May 2010 15:30:45 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [38.99.187.35]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1018FC08 for ; Wed, 12 May 2010 15:30:45 +0000 (UTC) Received: from [172.16.10.199] (unknown [172.16.10.199]) by mail.intertainservices.com (Postfix) with ESMTPA id 6BE8D5644E; Wed, 12 May 2010 11:30:44 -0400 (EDT) Message-ID: <4BEAC9A0.4050105@intertainservices.com> Date: Wed, 12 May 2010 11:30:40 -0400 From: Mike Jakubik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> In-Reply-To: <20100512152515.GA75759@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: 6BE8D5644E.A1540 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Cc: glewis@FreeBSD.org Subject: Re: realpath: : No such file or directory X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 15:30:45 -0000 On 5/12/2010 11:25 AM, Greg Lewis wrote: > On Wed, May 12, 2010 at 11:13:31AM -0400, Mike Jakubik wrote: > >> Has anyone noticed the following error message with an up to date >> 8-STABLE? It started happening for me when i updated to stable. >> >> Thanks. >> >> --- >> # java -version >> realpath: : No such file or directory >> openjdk version "1.6.0" >> OpenJDK Runtime Environment (build 1.6.0-b17) >> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) >> > The javavm port uses realpath, so if java is /usr/local/bin/java, then > you're using javavm. Is either /bin not in your path or do you not have > a /bin/realpath? > > Yes, it seems that this is a problem with the javavmwrapper. I havent changed my PATH or deleted realpath. root@staging.local:~# echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin root@staging.local:~# /bin/realpath usage: realpath [-q] path [...]