From owner-freebsd-java@FreeBSD.ORG Mon Oct 24 00:27:18 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 A12AE16A41F for ; Mon, 24 Oct 2005 00:27:18 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: from web80801.mail.yahoo.com (web80801.mail.yahoo.com [66.163.170.96]) by mx1.FreeBSD.org (Postfix) with SMTP id 57AFB43D46 for ; Mon, 24 Oct 2005 00:27:18 +0000 (GMT) (envelope-from audiocollage@sbcglobal.net) Received: (qmail 86129 invoked by uid 60001); 24 Oct 2005 00:27:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ps2CdnSYD6PEc4GVsnTgbQNOQba08YvQeqSnVCDE6GehxI8XmlMdwAb/Ao00HieYF7cF03E1prGbDavrOAJb7rFd/2jgMM/B0C5m07WX8plSTqnhpNHukhzFZJgONMe59LqWHWenQEYxtxTYO8NYroYRDItcRUm3XJL0oHj8LLQ= ; Message-ID: <20051024002718.86127.qmail@web80801.mail.yahoo.com> Received: from [68.248.155.172] by web80801.mail.yahoo.com via HTTP; Sun, 23 Oct 2005 17:27:17 PDT Date: Sun, 23 Oct 2005 17:27:17 -0700 (PDT) From: Tanya N kessler To: Victor Vacaretu , freebsd-java@freebsd.org In-Reply-To: <6210433884.20051021170016@vimore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: 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 00:27:18 -0000 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... --- Victor Vacaretu wrote: > Umm, I've set it up OK on my server. > > did you try to execute the javac binary ? > is it wide executable ? > does the VM loads ok from the linprocfs ? > > Victor Vacaretu > > > Hello Tanya, > > Friday, October 21, 2005, 4:56:13 PM, you wrote: > > > I tried to install linux-sun-jdk14, it said it's > already > > installed. I go to make jdk15 and I get the error > seen below. > > > Victor Vacaretu wrote: > > > This has been already discussed in the list. > > > Install first the linux-sun-jdk1.4.2 as this will > be the bootstrapper > > jdk1.5 will be compiled with. > > > Victor Vacaretu > > > Hello Tanya, > > > Friday, October 21, 2005, 3:19:53 PM, you wrote: > > >> Hello, > > >> I've been all over the web trying to find help on > installing > >> JDK15 on a FreeBSD 5.4 AMD64 machine. This is my > last stop before I > >> give up. > > >> Fresh install of FreeBSD w/ports updated. > >> LINUX_COMPAT enabled in kernel with linprocfs set > in fstab. > >> Dowloaded all source, binary, and patches into > /usr/ports/distfiles > > >> I need to know the exact steps to take. When I go > >> /usr/ports/java/jdk15 and type "make" this is > what I get: > > > > >> 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. > >> gmake[3]: *** [.compile.classlist] Error 1 > >> gmake[3]: Leaving directory > >> `/usr/ports/java/jdk15/work/j2se/make/java/java' > >> gmake[2]: *** [all] Error 1 > >> gmake[2]: Leaving directory > >> `/usr/ports/java/jdk15/work/j2se/make/java' > >> gmake[1]: *** [all] Error 1 > >> gmake[1]: Leaving directory > `/usr/ports/java/jdk15/work/j2se/make' > >> gmake: *** [j2se-build] Error 2 > >> *** Error code 2 > > > > >> I was told by someone that I need to install > linux-sun-jdk14, so > >> I went to do that. It said it was already > installed. I've been > >> searching on the web and everyone says this error > is cause csh can > >> not support such a long javac command. Someone > told me that I need > >> the linux-java-bootstrap, but I don't know what > that is. I also > >> tried to build JDK14 and got the same error > above. Can someone > >> please tell me the exact steps to take when > installing Native JDK15 > >> on a fresh install of FreeBSD 5.4 AMD64. > > > > >> Please help a fellow BSD'er in distress, > > > > >> Tom > >> _______________________________________________ > >> freebsd-java@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-java > >> To unsubscribe, send any mail to > >> "freebsd-java-unsubscribe@freebsd.org" > > > > > > > -- > Best regards, > Victor > mailto:freebsd@vimore.com > >