Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 08:40:24 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Mike Jakubik <mike.jakubik@intertainservices.com>
Cc:        glewis@FreeBSD.org, freebsd-java@FreeBSD.org
Subject:   Re: realpath: : No such file or directory
Message-ID:  <20100512154024.GB75759@misty.eyesbeyond.com>
In-Reply-To: <4BEAC9A0.4050105@intertainservices.com>
References:  <4BEAC59B.9040105@intertainservices.com> <20100512152515.GA75759@misty.eyesbeyond.com> <4BEAC9A0.4050105@intertainservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 12, 2010 at 11:30:40AM -0400, Mike Jakubik wrote:
> 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 [...]

Sorry, too early to be replying to email.  I bet what the problem is
that you have a JVM listed in /usr/local/etc/javavms that doesn't actually
exist.  javamvm runs realpath on the VMs listed there.

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



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