From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 11:27:34 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 864A916A4CE for ; Mon, 12 Jan 2004 11:27:34 -0800 (PST) Received: from mtiwmhc11.worldnet.att.net (mtiwmhc11.worldnet.att.net [204.127.131.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A842D43D5F for ; Mon, 12 Jan 2004 11:27:28 -0800 (PST) (envelope-from duanewinner@worldnet.att.net) Received: from [10.10.100.68] (unknown[216.113.237.19]) by worldnet.att.net (mtiwmhc11) with SMTP id <2004011219272711100j1jqfe> (Authid: duanewinner); Mon, 12 Jan 2004 19:27:27 +0000 From: Duane Winner To: freebsd-java Content-Type: text/plain; charset= Organization: UTRS, Inc. Message-Id: <1073935779.3795.29.camel@closetotheedge> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 12 Jan 2004 14:29:39 -0500 Content-Transfer-Encoding: 8bit Subject: Installation Questions (JDK on FreeBSD 4.9) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: duanewinner@att.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 19:27:34 -0000 Hello, After many trials and errors, cobbling together out-of-date howto's and banging my head against the wall, I have finally figured out how to get a native JDK1.3.1 w/ patchset 8 installed and running on FreeBSD 4.9. But I'm fairly new to FreeBSD and still don't understand much about Java on FreeBSD and could use some help here. I see that the latest patchset for 1.3.1 is '9', not '8'. How do I compile with patchset 9? It looked like if I just edit the Makefile in /usr/ports/java/jdk13 and change the line "JDK_PATCHSET_VERSION=" to '9', that would do it, but apparently not. What else must I do to it to compile with patchset 9? (I tried w/ NO_CHECKSUM="yes", but that still didn't do it -- I see that distinfo has the MD5 checksums for j2sdk-1_3_1-src.tar.gz and bsd-jdk131-patches-8.tar.gz) And can anybody tell me exactly what the 'real' story and status of JDK on FreeBSD is? Should I even be concerned about patchset 9? Is it stable? Is JDK1.3.1 stable? Can I install JDK1.4 and run it reliably? I had to scour the Internet to find what I needed in order to get what I have installed and running, but in the process, found so much conflicting information that I'm still not clear about things. For instance, eyesbeyond still says that the 1.1.8 is the only official native release, but the I found stuff all over that said that a deal has been struck with Sun and 1.3.1 is good, or even 1.4 -- I don't know. Anyway, any advice, tips or pointers would be greatly appreciated. Here's exactly what I did to get a native build of JDK 1.3.1 on FreeBSD 4.9: JDK 1.3.1 (Native install w/ patchset 8) 1. Copied the following files to /usr/ports/distfiles: j2sdk_1_3_1_09-linux-i586.bin diablo-caffe_1.3.1-0.tar.bz2 bsd-jdk131-patches-8.tar.gz j2sdk-1_3_1-src.tar.gz Installed the Linux JDK: 1. # cd /usr/ports/java/linux-sun-jdk13 2. # make install 3. Tested: #/usr/local/linux-sun-jdk1.3.1/bin/java -version 4. OK - so then typed “make clean” Installed the native JDK: 1. # cd /usr/ports/java/jdk13 2. # make install 3. Tested: #/usr/local/jdk1.3.1/bin/java -version 4. OK, so then typed 'make clean' 5. #pkg_delete linux-sun-jdk-1.3.1.09