Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 11:40:05 +0100 (BST)
From:      Alex Hayward <xelah@xelah.com>
To:        Tanya N kessler <audiocollage@sbcglobal.net>
Cc:        Victor Vacaretu <freebsd@vimore.com>, freebsd-java@freebsd.org
Subject:   Re: Re[2]: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64
Message-ID:  <Pine.LNX.4.58.0510241136220.28049@sphinx.mythic-beasts.com>
In-Reply-To: <20051024002718.86127.qmail@web80801.mail.yahoo.com>
References:  <20051024002718.86127.qmail@web80801.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Oct 2005, Tanya N kessler wrote:

> O.K., I did a totally fresh install of FreeBSD 5.4 on
> AMD64.  Updated CVS with the stable verison 5.x.  Did
> a portupgrade of all src and port.  Built and
> installed a kernel w/COMPAT_LINUX32 support.  Added
> linprocfs to my fstab.  Built and installed
> linux-sun-jdk14.  Then I go to build native jdk15 and
> I still get the same error.  javac is executable by
> user, group, and others.  I'm not sure how to tell if
> the VM loads O.K. from linprocfs.  All I know is that
> I just switched to FreeBSD.  I like a lot, but I can't
> seem to get native java work.  Will someone please
> tell me what I am doing wrong...

[snip]

> > >> fi
> > >> execv(): Bad address
> > >> Error trying to exec
> > /usr/local/linux-sun-jdk1.4.2/bin/javac.
> > >> Check if file exists and permissions are set
> > correctly.

I believe this is something's way of saying 'that command's far too long,
I'm not running that!'. Above the error you'll find an enormous command
displayed. cd in to the right directory (probably
/usr/ports/java/jdk15/work/j2se/make/java/nio, but it'll be displayed
somewhere by gmake) and run this command by hand in your shell. Then go
back to the port and run 'make' again.




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