realpath: : No such file or directory
Greg Lewis
glewis at eyesbeyond.com
Wed May 12 15:40:26 UTC 2010
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 at staging.local:~# echo $PATH
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
> root at 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 at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the freebsd-java
mailing list