From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 10:40:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDB9716A41F for ; Mon, 24 Oct 2005 10:40:09 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from wumpus.mythic-beasts.com (wumpus.mythic-beasts.com [212.69.37.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608CB43D45 for ; Mon, 24 Oct 2005 10:40:09 +0000 (GMT) (envelope-from xelah@sphinx.mythic-beasts.com) Received: from sphinx.mythic-beasts.com ([212.69.37.6]) by wumpus.mythic-beasts.com with esmtp (Exim 4.44) id 1ETzkL-0003nQ-T1; Mon, 24 Oct 2005 11:40:05 +0100 Received: from xelah (helo=localhost) by sphinx.mythic-beasts.com with local-esmtp (Exim 4.51) id 1ETzkL-00026y-7G; Mon, 24 Oct 2005 11:40:05 +0100 Date: Mon, 24 Oct 2005 11:40:05 +0100 (BST) From: Alex Hayward X-X-Sender: xelah@sphinx.mythic-beasts.com To: Tanya N kessler In-Reply-To: <20051024002718.86127.qmail@web80801.mail.yahoo.com> Message-ID: References: <20051024002718.86127.qmail@web80801.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Alex Hayward Cc: Victor Vacaretu , freebsd-java@freebsd.org Subject: Re: Re[2]: Help: Install JDK 1.5 on FreeBSD 5.4 AMD64 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: Mon, 24 Oct 2005 10:40:09 -0000 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.