From owner-freebsd-java@FreeBSD.ORG Tue Jun 8 00:28:04 2004 Return-Path: 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 BBF9D16A4CE for ; Tue, 8 Jun 2004 00:28:04 +0000 (GMT) Received: from nixil.net (nixil.org [161.58.222.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D50F43D46 for ; Tue, 8 Jun 2004 00:28:04 +0000 (GMT) (envelope-from ethan@hkfanatic.com) Received: from [192.168.1.4] (h-66-167-14-158.dnvtco56.dynamic.covad.net [66.167.14.158]) (authenticated bits=0) by nixil.net (8.12.11/8.12.11) with ESMTP id i580Rsfe076232; Mon, 7 Jun 2004 18:27:54 -0600 (MDT) Message-ID: <40C5080A.5080502@hkfanatic.com> Date: Mon, 07 Jun 2004 18:27:54 -0600 From: Ethan Killian User-Agent: Mozilla Thunderbird 0.6 (X11/20040519) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bv@wjv.com References: <40C26132.7070705@indigomoon.ca> <40C4FAA2.2080103@hkfanatic.com> <20040608001115.GB42346@wjv.com> In-Reply-To: <20040608001115.GB42346@wjv.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP authentication, not delayed by milter-greylist-1.2.2 (nixil.net [161.58.222.1]); Mon, 07 Jun 2004 18:27:55 -0600 (MDT) cc: djkuzenko@indigomoon.ca cc: freebsd-java@freebsd.org Subject: Re: jdk 1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 00:28:04 -0000 Bill, I have been working on an Eclipse 3.0 port so I just installed a fresh install of Java today on my 4.10 FreeBSD Box. It did originally crash because I did not run the following first: kldload linprocfs mount -t linprocfs linprocfs /compat/linux/proc Once these are loaded though, I did a 'make clean' and then 'make install' from the /usr/ports/java/jdk14/ directory and it completed. The thing catch is that you will also have to download the j2sdk-1_4_2_04-linux-i586.bin file. This applies to my previous email that I forgot to include. Basically to build the native port, it uses the linux binary to help with the build process. So, first run: kldload linprocfs mount -t linprocfs linprocfs /compat/linux/proc Make sure you have all 4 files (in /usr/ports/distfiles) j2sdk-1_4_2_04-linux-i586.bin <>j2sdk-1_4_2-src-scsl.zip j2sdk-1_4_2-bin-scsl.zip bsd-jdk14-patches-6.tar.gz Run 'make install' from the /usr/ports/java/jdk14/ If you are missing some of the files, it should tell you what you need to get and where to place the file. This port is difficult to get installed because you have to manually fetch the files and register with sun.com to get them. It did work for me today however when I installed this from scratch. If you still get failures paste the error. And I am running a Generic 4.10 kernel on the box I got the jdk14 installed on today. Ethan Killian Bill Vermillion wrote: >On Mon, Jun 07, 2004 at 17:30 , while impersonating an expert on >the internet, Ethan Killian sent this to stdout: > > > >>Don, >> >> > > > >> In case nobody else has replied yet. I have Java 1.4.2 running on my >>FreeBSD 5.2.1 installation. The hardest part that I have found is >>downloading the 3, and sometimes a few other, files. >> >> > > > >> You need to at least have these files: >> >> > > > >>j2sdk-1_4_2-src-scsl.zip >>j2sdk-1_4_2-bin-scsl.zip >>bsd-jdk14-patches-6.tar.gz >> >> > > > >> Check your /usr/ports/distfiles/ to see which you might already >>have. If you are missing any, download them. Generally just >>running 'make install' in the /usr/ports/java/jdk14/ directory >>will tell you if you are still missing any files. Try to run >>'make clean' in that directory before retrying as well. >> >> > > > >> If you get any more errors, please paste the exact error >>message into the email so we can determine what is happening. >> >> > >And this is Bill who had the problem on 4.10. My problem appears >to be that the 4.10 install at least wants an installed java port >and since this was the first attempt it wanded the sun-linux java >port which I got. > >I got a failed system call, and Kris Kennaway said he had seen >other with Linuxcompatibility problems in the 4.10. > >My problem appears to be different than Don's. > >If anyone is intersted in the 4.10 I can run 'script' on the entire >build and send any other info anyone might want. > > > >>_______________________________________________ >>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" >> >> > > >