From owner-freebsd-java@FreeBSD.ORG Sun Sep 4 05:50:08 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 5195B16A41F for ; Sun, 4 Sep 2005 05:50:08 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id C481543D46 for ; Sun, 4 Sep 2005 05:50:07 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j845o6HZ014936 for ; Sat, 3 Sep 2005 23:50:06 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j845o56t014935 for freebsd-java@FreeBSD.org; Sat, 3 Sep 2005 23:50:05 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 3 Sep 2005 23:50:05 -0600 From: Greg Lewis To: freebsd-java@FreeBSD.org Message-ID: <20050904055005.GA14907@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sun, 04 Sep 2005 05:50:08 -0000 On behalf of the BSD Java Porting team, I'm pleased to announce the availability of patchset 2 "Tasmanian" for JDK 1.5, based on the JDK 1.5.0 SCSL source code. This fix includes a number of bug fixes from team members and contributors, and should be a more solid release. It also contains support for the browser plugin and Java web start (on i386), which the initial patchset didn't. The following platforms are supported by this release: FreeBSD {4,5,6}.x/i386 FreeBSD {5,6}.x/amd64 NetBSD 2.x/i386 OpenBSD 3.7/i386 The patchset can be downloaded at: http://www.eyesbeyond.com/freebsddom/java/jdk15.html An update for the java/jdk15 port will follow fairly shortly. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Sep 4 11:45:56 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 AE5FB16A41F for ; Sun, 4 Sep 2005 11:45:56 +0000 (GMT) (envelope-from rjs@fdy2.demon.co.uk) Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [80.177.11.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 567EB43D45 for ; Sun, 4 Sep 2005 11:45:56 +0000 (GMT) (envelope-from rjs@fdy2.demon.co.uk) Received: by fdy2.demon.co.uk (Postfix, from userid 100) id 30035E4E; Sun, 4 Sep 2005 12:41:41 +0100 (BST) From: Robert Swindells To: glewis@eyesbeyond.com In-reply-to: <20050904055005.GA14907@misty.eyesbeyond.com> (message from Greg Lewis on Sat, 3 Sep 2005 23:50:05 -0600) Message-Id: <20050904114141.30035E4E@fdy2.demon.co.uk> Date: Sun, 4 Sep 2005 12:41:41 +0100 (BST) Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sun, 04 Sep 2005 11:45:56 -0000 Greg Lewis wrote: >On behalf of the BSD Java Porting team, I'm pleased to announce the >availability of patchset 2 "Tasmanian" for JDK 1.5, based on the >JDK 1.5.0 SCSL source code. [snip] >The following platforms are supported by this release: > FreeBSD {4,5,6}.x/i386 > FreeBSD {5,6}.x/amd64 > NetBSD 2.x/i386 > OpenBSD 3.7/i386 I would remove NetBSD from the list until someone provides some more NetBSD specific build instructions. The build fails with: ERROR: You do not have access to valid Mozilla header files. Please check your access to /usr/pkg/include/firefox/java/bool.h and/or check your value of ALT_MOZILLA_PATH, ALT_MOZILLA_HEADERS_PATH, Exiting because of the above error(s). This is the correct location for bool.h. Robert Swindells From owner-freebsd-java@FreeBSD.ORG Sun Sep 4 13:49:02 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 BB18616A41F for ; Sun, 4 Sep 2005 13:49:02 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id C42FB43D46 for ; Sun, 4 Sep 2005 13:49:01 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j84Dmu1H022494; Sun, 4 Sep 2005 07:48:57 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j84DmuDu022493; Sun, 4 Sep 2005 07:48:56 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 4 Sep 2005 07:48:55 -0600 From: Greg Lewis To: Robert Swindells Message-ID: <20050904134855.GA22476@misty.eyesbeyond.com> References: <20050904055005.GA14907@misty.eyesbeyond.com> <20050904114141.30035E4E@fdy2.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050904114141.30035E4E@fdy2.demon.co.uk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sun, 04 Sep 2005 13:49:02 -0000 On Sun, Sep 04, 2005 at 12:41:41PM +0100, Robert Swindells wrote: > Greg Lewis wrote: > >On behalf of the BSD Java Porting team, I'm pleased to announce the > >availability of patchset 2 "Tasmanian" for JDK 1.5, based on the > >JDK 1.5.0 SCSL source code. > > [snip] > > >The following platforms are supported by this release: > > > FreeBSD {4,5,6}.x/i386 > > FreeBSD {5,6}.x/amd64 > > NetBSD 2.x/i386 > > OpenBSD 3.7/i386 > > I would remove NetBSD from the list until someone provides some more > NetBSD specific build instructions. > > The build fails with: > > ERROR: You do not have access to valid Mozilla header files. > Please check your access to > /usr/pkg/include/firefox/java/bool.h > and/or check your value of ALT_MOZILLA_PATH, ALT_MOZILLA_HEADERS_PATH, > > Exiting because of the above error(s). > > This is the correct location for bool.h. Try setting DONT_BUILD_DEPLOY=YES. That will avoid building the plugin and Java Web Start. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Sep 4 14:21:01 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 56B3916A41F for ; Sun, 4 Sep 2005 14:21:01 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCDAB43D49 for ; Sun, 4 Sep 2005 14:21:00 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.4/8.13.4/NETPLEX) with ESMTP id j84EKlYm019486; Sun, 4 Sep 2005 10:20:47 -0400 (EDT) Date: Sun, 4 Sep 2005 10:20:32 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Greg Lewis In-Reply-To: <20050904055005.GA14907@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2005 14:21:01 -0000 On Sat, 3 Sep 2005, Greg Lewis wrote: > > On behalf of the BSD Java Porting team, I'm pleased to announce the > availability of patchset 2 "Tasmanian" for JDK 1.5, based on the > JDK 1.5.0 SCSL source code. > > This fix includes a number of bug fixes from team members and contributors, > and should be a more solid release. It also contains support for the > browser plugin and Java web start (on i386), which the initial patchset > didn't. > > The following platforms are supported by this release: > > FreeBSD {4,5,6}.x/i386 > FreeBSD {5,6}.x/amd64 No FreeBSD-7? -- DE From owner-freebsd-java@FreeBSD.ORG Sun Sep 4 14:29:43 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 4A44316A41F; Sun, 4 Sep 2005 14:29:43 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E6C543D5E; Sun, 4 Sep 2005 14:29:37 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j84ETZPf022805; Sun, 4 Sep 2005 08:29:36 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j84ETZYR022804; Sun, 4 Sep 2005 08:29:35 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 4 Sep 2005 08:29:35 -0600 From: Greg Lewis To: Daniel Eischen Message-ID: <20050904142935.GE22476@misty.eyesbeyond.com> References: <20050904055005.GA14907@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sun, 04 Sep 2005 14:29:43 -0000 On Sun, Sep 04, 2005 at 10:20:32AM -0400, Daniel Eischen wrote: > On Sat, 3 Sep 2005, Greg Lewis wrote: > > > > > On behalf of the BSD Java Porting team, I'm pleased to announce the > > availability of patchset 2 "Tasmanian" for JDK 1.5, based on the > > JDK 1.5.0 SCSL source code. > > > > This fix includes a number of bug fixes from team members and contributors, > > and should be a more solid release. It also contains support for the > > browser plugin and Java web start (on i386), which the initial patchset > > didn't. > > > > The following platforms are supported by this release: > > > > FreeBSD {4,5,6}.x/i386 > > FreeBSD {5,6}.x/amd64 > > No FreeBSD-7? I don't know. Probably :). -CURRENT is always tricky as its a moving target. I suspect it would work at the moment though since its pretty close to 6.x. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Sep 4 18:32:15 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 98E9B16A41F for ; Sun, 4 Sep 2005 18:32:15 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1281E43D45 for ; Sun, 4 Sep 2005 18:32:14 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j84IW4AS063545; Sun, 4 Sep 2005 12:32:07 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j84IVx9s063544; Sun, 4 Sep 2005 12:31:59 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 4 Sep 2005 12:31:58 -0600 From: Greg Lewis To: Robert Swindells Message-ID: <20050904183158.GA55536@misty.eyesbeyond.com> References: <20050904055005.GA14907@misty.eyesbeyond.com> <20050904114141.30035E4E@fdy2.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050904114141.30035E4E@fdy2.demon.co.uk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sun, 04 Sep 2005 18:32:15 -0000 On Sun, Sep 04, 2005 at 12:41:41PM +0100, Robert Swindells wrote: > I would remove NetBSD from the list until someone provides some more > NetBSD specific build instructions. > > The build fails with: > > ERROR: You do not have access to valid Mozilla header files. > Please check your access to > /usr/pkg/include/firefox/java/bool.h > and/or check your value of ALT_MOZILLA_PATH, ALT_MOZILLA_HEADERS_PATH, > > Exiting because of the above error(s). > > This is the correct location for bool.h. Another thing, do you actually have ALT_MOZILLA_HEADERS_PATH set? If not, can you try setting it to /usr/pkg/include and see if that produces anything different? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sun Sep 4 19:52:21 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 BDA6D16A41F for ; Sun, 4 Sep 2005 19:52:21 +0000 (GMT) (envelope-from rjs@fdy2.demon.co.uk) Received: from fdy2.demon.co.uk (fdy2.demon.co.uk [80.177.11.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6014443D45 for ; Sun, 4 Sep 2005 19:52:21 +0000 (GMT) (envelope-from rjs@fdy2.demon.co.uk) Received: by fdy2.demon.co.uk (Postfix, from userid 100) id 8F8CDE75; Sun, 4 Sep 2005 20:48:06 +0100 (BST) From: Robert Swindells To: glewis@eyesbeyond.com In-reply-to: <20050904183158.GA55536@misty.eyesbeyond.com> (message from Greg Lewis on Sun, 4 Sep 2005 12:31:58 -0600) Message-Id: <20050904194806.8F8CDE75@fdy2.demon.co.uk> Date: Sun, 4 Sep 2005 20:48:06 +0100 (BST) Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sun, 04 Sep 2005 19:52:21 -0000 Greg Lewis wrote: >On Sun, Sep 04, 2005 at 12:41:41PM +0100, Robert Swindells wrote: >> I would remove NetBSD from the list until someone provides some more >> NetBSD specific build instructions. >> >> The build fails with: >> >> ERROR: You do not have access to valid Mozilla header files. >> Please check your access to >> /usr/pkg/include/firefox/java/bool.h >> and/or check your value of ALT_MOZILLA_PATH, ALT_MOZILLA_HEADERS_PATH, >> >> Exiting because of the above error(s). >> >> This is the correct location for bool.h. >Another thing, do you actually have ALT_MOZILLA_HEADERS_PATH set? I did have it set. I had not set ALT_MOZILLA_PATH to anything though. It is building now I have set DONT_BUILD_DEPLOY. I needed to increase the datasize limit to 384M. I had a couple of problems with generated java files getting corrupted by the following Hotspot warning: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location Error occurred during initialization of VM I will run the build again to get the problem files. Robert Swindells From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 04:23:41 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 265D216A41F for ; Mon, 5 Sep 2005 04:23:41 +0000 (GMT) (envelope-from brent@svalin.rcfile.org) Received: from ms-smtp-04-eri0.southeast.rr.com (ms-smtp-04-lbl.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id A038443D45 for ; Mon, 5 Sep 2005 04:23:39 +0000 (GMT) (envelope-from brent@svalin.rcfile.org) Received: from svalin.rcfile.org (cpe-069-134-146-135.nc.res.rr.com [69.134.146.135]) by ms-smtp-04-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id j854NX1u025563 for ; Mon, 5 Sep 2005 00:23:34 -0400 (EDT) Received: from svalin.rcfile.org (localhost [127.0.0.1]) by svalin.rcfile.org (8.13.3/8.13.1) with ESMTP id j854NZTm052813 for ; Mon, 5 Sep 2005 00:23:35 -0400 (EDT) (envelope-from brent@svalin.rcfile.org) Received: (from brent@localhost) by svalin.rcfile.org (8.13.3/8.13.1/Submit) id j854NZ3x052812 for freebsd-java@freebsd.org; Mon, 5 Sep 2005 00:23:35 -0400 (EDT) (envelope-from brent) Date: Mon, 5 Sep 2005 00:23:35 -0400 From: Brent Verner To: freebsd-java@freebsd.org Message-ID: <20050905042335.GB48708@rcfile.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline X-muttrc: $Id: .muttrc,v 1.10 2003/02/08 08:35:24 brent Exp $ X-uname: FreeBSD 5.4-STABLE #18: Thu Aug 11 20:47:55 EDT 2005 root@svalin.rcfile.org:/usr/obj/usr/src/sys/MINI User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on svalin.rcfile.org X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: interest in OpenNMS port? 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, 05 Sep 2005 04:23:41 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I recently installed ONMS on FBSD (5.4) using the native 1.4.2 jdk. It required a minor patch to ONMS, for which I've submitted a patch to the ONMS developers. I'm hoping there are some other users out there interested in running ONMS so we can get a bit better test coverage. Specifically, I'd like to know if the patch works with the linux-jdks (I don't have a linux-jdk to test). Also, is there a port committer/maintainer interested in working with me to get ONMS added to ports? Quick Instructions (I don't have the bandwidth to write a full how-to at the moment, but I'll try to help out with any specific issues you might have in following their instructions): 1) Apply the attached patch (fbsd.diff) to ONMS (1.2.4) source. 2) Put the attached build.properties in your source directory. NB: You might want to change the install.dir property unless you've created an opennms user (and home dir). 3) Follow the instructions on the www.opennms.org site :-) thanks. Brent --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fbsd.diff" ? fbsd.diff Index: build.xml =================================================================== RCS file: /cvsroot/opennms/opennms/build.xml,v retrieving revision 1.148 diff -u -r1.148 build.xml --- build.xml 23 Aug 2005 22:48:30 -0000 1.148 +++ build.xml 5 Sep 2005 04:03:15 -0000 @@ -1327,6 +1327,7 @@ + Index: src/services/org/opennms/protocols/icmp/IcmpSocket.c =================================================================== RCS file: /cvsroot/opennms/opennms/src/services/org/opennms/protocols/icmp/IcmpSocket.c,v retrieving revision 1.22 diff -u -r1.22 IcmpSocket.c --- src/services/org/opennms/protocols/icmp/IcmpSocket.c 29 Mar 2005 23:16:18 -0000 1.22 +++ src/services/org/opennms/protocols/icmp/IcmpSocket.c 5 Sep 2005 04:03:20 -0000 @@ -70,6 +70,7 @@ #include #if defined(__FreeBSD__) +#include "byteswap.h" #include #endif --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="build.properties" install.dir: /home/opennms build.postgresql.include.dir: /usr/local/include/postgresql/server install.postgresql.dir: /home/opennms/lib/postgresql build.rrdtool.include.dir: /usr/local/include build.rrdtool.lib.dir: /usr/local/lib build.rrdtool.bin: /usr/local/bin/rrdtool --lrZ03NoBR/3+SXJZ-- From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 06:15:16 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 CF10316A41F for ; Mon, 5 Sep 2005 06:15:16 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: from web50106.mail.yahoo.com (web50106.mail.yahoo.com [206.190.38.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 4617343D45 for ; Mon, 5 Sep 2005 06:15:16 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: (qmail 63097 invoked by uid 60001); 5 Sep 2005 06:15:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sZdZksDLO5L3sIEMrTL/0nRoQDxb/87XypFicilmKXejAYKczKKuEtw6XG9Gsz+wuH2/ufHplIjZQ9+QIv1nAnZRQ5MMgP+4npEhcQx7y4wlwxuT1Fl0P2F9AfCPYBiiZGip4q/ePuTvR0/EyP/usaDM/pT/PTk5yT5TMbyNiN4= ; Message-ID: <20050905061515.63095.qmail@web50106.mail.yahoo.com> Received: from [203.200.51.98] by web50106.mail.yahoo.com via HTTP; Sun, 04 Sep 2005 23:15:15 PDT Date: Sun, 4 Sep 2005 23:15:15 -0700 (PDT) From: Arvind Nahata To: Greg Lewis In-Reply-To: <20050823163153.GC9125@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: Compiling and installing JDK 1.4 on FreeBSD 5.4 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, 05 Sep 2005 06:15:16 -0000 I have downloaded the JDK 1.4 source code from Sun's site and Patchset 7 for JDK 1.4 from eyesbeyond.com I am unable to find the way to now compile and deploy the JDK on my FreeBSD 5.4 installation. Your help will be much appreciated. Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 07:16:00 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 AF3DF16A41F for ; Mon, 5 Sep 2005 07:16:00 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 630B143D45 for ; Mon, 5 Sep 2005 07:15:58 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j857FgID022603; Mon, 5 Sep 2005 10:15:42 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.159] (pc159.ebs.gr [10.1.1.159]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j857Fi2Z083042; Mon, 5 Sep 2005 10:15:44 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <431BF09B.2010308@ebs.gr> Date: Mon, 05 Sep 2005 10:15:39 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Arvind Nahata References: <20050905061515.63095.qmail@web50106.mail.yahoo.com> In-Reply-To: <20050905061515.63095.qmail@web50106.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Compiling and installing JDK 1.4 on FreeBSD 5.4 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, 05 Sep 2005 07:16:00 -0000 Arvind Nahata wrote: > I have downloaded the JDK 1.4 source code from Sun's > site and Patchset 7 for JDK 1.4 from eyesbeyond.com > > I am unable to find the way to now compile and deploy > the JDK on my FreeBSD 5.4 installation. > > Your help will be much appreciated. > > Thanks! It is very simple: # cd /usr/ports/java/jdk14 # make install Provided that you have the source archives in /usr/ports/distfiles and you have enabled linux compatibility mode, of course. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 11:02:08 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 94B2116A426 for ; Mon, 5 Sep 2005 11:02:08 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6081543D46 for ; Mon, 5 Sep 2005 11:02:08 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j85B28Rp076922 for ; Mon, 5 Sep 2005 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j85B27bH076916 for freebsd-java@freebsd.org; Mon, 5 Sep 2005 11:02:07 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Sep 2005 11:02:07 GMT Message-Id: <200509051102.j85B27bH076916@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 05 Sep 2005 11:02:08 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2004/12/06] ports/74760 java java/javavmwrapper messes up amavisd-new o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 o [2005/05/17] java/81176 java Java Webstart does not work f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing f [2005/07/14] ports/83434 java tomcat ports give the wrong ownership to o [2005/08/01] java/84422 java Timezone Handling does not work with Free 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters 4 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 11:40:22 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 9223416A41F for ; Mon, 5 Sep 2005 11:40:22 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 8104843D48 for ; Mon, 5 Sep 2005 11:40:20 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 26209 invoked from network); 5 Sep 2005 11:32:17 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 5 Sep 2005 11:32:17 -0000 Received: (qmail 6329 invoked by uid 89); 5 Sep 2005 11:32:12 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (82.76.1.117) by 0 with SMTP; 5 Sep 2005 11:32:12 -0000 Received: from buh.cameradicommercio.ro (localhost [127.0.0.1]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 2BB2861AA; Mon, 5 Sep 2005 14:32:11 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP; Mon, 5 Sep 2005 14:32:11 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id 7B29A17C; Mon, 5 Sep 2005 14:32:10 +0300 (EEST) Date: Mon, 5 Sep 2005 14:32:07 +0300 From: Ion-Mihai Tetcu To: Dan Nelson Message-ID: <20050905143207.6dbc5710@it.buh.cameradicommercio.ro> In-Reply-To: <20050826205909.GA15820@dan.emsphone.com> References: <43062A01.5000208@phreaker.net> <20050821125806.4b06a022@it.buh.tecnik93.com> <20050826205909.GA15820@dan.emsphone.com> X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AV-Checked: on buh by ClamAV using ClamSMTP Cc: goatse@phreaker.net, freebsd-java@freebsd.org Subject: Re: is azureus finally okay? 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, 05 Sep 2005 11:40:22 -0000 On Fri, 26 Aug 2005 15:59:10 -0500 Dan Nelson wrote: > In the last episode (Aug 21), Ion-Mihai Tetcu said: > > > Right now azureus won't compile because of the new eclipse version. > > I'm not sure why azureus requires eclipse at all. I have a homemade > port at http://dan.allantgroup.com/FreeBSD/swt-dan.tar.gz that builds > a standalone libswt, and I just use the jar file provided on the > azureus web site. There are no source patches in the current azureus > port, so it doesn't really make any sense to have to recompile it. I'm getting this with jdk-1.5.0p1_3 and mozilla-1.7.11,2 on 6-BETA3 from 02.09.32005; : In file included from /usr/X11R6/include/mozilla/nsEmbedString.h:43, from xpcom.cpp:35: /usr/X11R6/include/mozilla/nsStringAPI.h:640: error: redefinition of `class nsAString' /usr/X11R6/include/mozilla/string/nsTAString.h:104: error: previous definition of `class nsAString' /usr/X11R6/include/mozilla/nsStringAPI.h:722: error: redefinition of `class nsACString' /usr/X11R6/include/mozilla/string/nsTAString.h:104: error: previous definition of `class nsACString' /usr/X11R6/include/mozilla/nsStringAPI.h: In constructor `nsStringContainer::nsStringContainer()': /usr/X11R6/include/mozilla/nsStringAPI.h:820: error: no matching function for call to `nsAString::nsAString()' /usr/X11R6/include/mozilla/string/nsTAString.h:464: note: candidates are: nsAString::nsAString(const nsAString&) /usr/X11R6/include/mozilla/string/nsTAString.h:405: note: nsAString::nsAString(PRUint32) /usr/X11R6/include/mozilla/string/nsTAString.h:392: note: nsAString::nsAString(PRUnichar*, PRUint32, PRUint32) /usr/X11R6/include/mozilla/string/nsTAString.h:355: note: nsAString::nsAString(const nsSubstringTuple&) /usr/X11R6/include/mozilla/nsStringAPI.h: In constructor `nsCStringContainer::nsCStringContainer()': /usr/X11R6/include/mozilla/nsStringAPI.h:831: error: no matching function for call to `nsACString::nsACString()' /usr/X11R6/include/mozilla/string/nsTAString.h:464: note: candidates are: nsACString::nsACString(const nsACString&) /usr/X11R6/include/mozilla/string/nsTAString.h:405: note: nsACString::nsACString(PRUint32) /usr/X11R6/include/mozilla/string/nsTAString.h:392: note: nsACString::nsACString(char*, PRUint32, PRUint32) /usr/X11R6/include/mozilla/string/nsTAString.h:355: note: nsACString::nsACString(const nsCSubstringTuple&) gmake: *** [xpcom.o] Error 1 *** Error code 2 Stop in /usr/ports/java/swt-dan. -- IOnut Unregistered ;) FreeBSD "user" From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 13:22:48 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 5BFD216A41F for ; Mon, 5 Sep 2005 13:22:48 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0051E43D45 for ; Mon, 5 Sep 2005 13:22:47 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so578295nzd for ; Mon, 05 Sep 2005 06:22:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=O5tvzmvjiFyYY3eVrAcWlHMtjGYtVGXWe4LsCP/8iBBFWl/BQlwsqeg5rgjiwn1L2KMYPwQvfig2hMyCKDm0NBkPrNZvvL2HAKg0nGUdMd/VKNaqgnORiVKaqcpOctoKPRmQQP8fxWkmkYpKDSqLG+JemF5JmO7DTg/5Dstog7A= Received: by 10.37.18.59 with SMTP id v59mr4682872nzi; Mon, 05 Sep 2005 06:22:47 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Mon, 5 Sep 2005 06:22:47 -0700 (PDT) Message-ID: Date: Mon, 5 Sep 2005 21:22:47 +0800 From: Jiawei Ye To: java Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Patch for JDK15 parallelized builds X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: leafy7382@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 13:22:48 -0000 --- Makefile.orig Mon Sep 5 20:41:49 2005 +++ Makefile Mon Sep 5 21:18:48 2005 @@ -99,6 +99,10 @@ MAKE_ENV+=3D DONT_ENABLE_IPV6=3D"YES" .endif +.if defined(HOTSPOT_BUILD_JOBS) +MAKE_ENV+=3D HOTSPOT_BUILD_JOBS=3D${HOTSPOT_BUILD_JOBS} +.endif + ALL_TARGET=3D all PLIST_FILES=3D jdk${JDK_VERSION}/jre/.systemPrefs/.system.lock \ This really speeds up hotspot builds on multiple CPU machines. Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 13:57:37 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 B34BC16A41F for ; Mon, 5 Sep 2005 13:57:37 +0000 (GMT) (envelope-from ale@unixmania.net) Received: from mid-1.inet.it (mid-1.inet.it [213.92.5.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA16143D48 for ; Mon, 5 Sep 2005 13:57:36 +0000 (GMT) (envelope-from ale@unixmania.net) Received: from 81-174-26-112.f5.ngi.it [::ffff:81.174.26.112] by mid-1.inet.it via I-SMTP-5.2.3-521 id ::ffff:81.174.26.112+AOSkpwnEP5U; Mon, 05 Sep 2005 15:57:35 +0200 Received: by libero.sunshine.ale (Postfix, from userid 1001) id 272F75FCF; Mon, 5 Sep 2005 15:57:24 +0200 (CEST) Date: Mon, 5 Sep 2005 15:57:24 +0200 From: Alessandro de Manzano To: Greg Lewis Message-ID: <20050905155724.A9284@libero.sunshine.ale> References: <20050904055005.GA14907@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20050904055005.GA14907@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sat, Sep 03, 2005 at 11:50:05PM -0600 X-Operating-System: FreeBSD 4.9-RELEASE-p3 Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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, 05 Sep 2005 13:57:37 -0000 On Sat, Sep 03, 2005 at 11:50:05PM -0600, Greg Lewis wrote: > The patchset can be downloaded at: > > http://www.eyesbeyond.com/freebsddom/java/jdk15.html Great! :-) The native jdk15-pl1 works fine on my 5.4-R IBM i386 box, at least for me :) A little question, if I may: What's the recommended procedure to update to jdk15-pl2 ? Using portupgrade ? or are there some needed tricks ? :-) (I'm not very familiar with portupgrade...) Many thanks anyway! :) -- bye! Ale From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 14:56:55 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 6892916A41F for ; Mon, 5 Sep 2005 14:56:55 +0000 (GMT) (envelope-from freebsd@pbnet.dk) Received: from benny.care4all.dk (cpe.atm2-0-52453.0x50a4a22a.esnxx3.customer.tele.dk [80.164.162.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D6843D48 for ; Mon, 5 Sep 2005 14:56:54 +0000 (GMT) (envelope-from freebsd@pbnet.dk) Received: from localhost (localhost [127.0.0.1]) by benny.care4all.dk (Postfix) with ESMTP id E361BD529 for ; Mon, 5 Sep 2005 16:56:52 +0200 (CEST) Received: from benny.care4all.dk ([127.0.0.1]) by localhost (benny [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26916-03 for ; Mon, 5 Sep 2005 16:56:52 +0200 (CEST) Received: from [172.19.10.164] (x1-6-00-80-c8-03-a6-d7.k438.webspeed.dk [83.89.23.114]) by benny.care4all.dk (Postfix) with ESMTP id 41C15D4FC for ; Mon, 5 Sep 2005 16:56:52 +0200 (CEST) Message-ID: <431C5CAF.3080202@pbnet.dk> Date: Mon, 05 Sep 2005 16:56:47 +0200 From: =?UTF-8?B?UG91bCBNw7hsbGVyIEhhbnNlbg==?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at care4all.dk Subject: Setting system default java 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, 05 Sep 2005 14:56:55 -0000 I have just installed jdk15 on FreeBSD 5.3, until now I have been using jdk14. How do I set the jdk15 as system default ? There are some symlinks in /usr/local/bin which I haven't made manually. So I have probably been running some command setting it up, but what command ? Thanks, Poul From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 15:00:41 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 4B01F16A41F for ; Mon, 5 Sep 2005 15:00:41 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9FBF43D46 for ; Mon, 5 Sep 2005 15:00:40 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j85F0c7i099967; Mon, 5 Sep 2005 09:00:38 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j85F0bjv099966; Mon, 5 Sep 2005 09:00:37 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 5 Sep 2005 09:00:36 -0600 From: Greg Lewis To: Alessandro de Manzano Message-ID: <20050905150036.GA99942@misty.eyesbeyond.com> References: <20050904055005.GA14907@misty.eyesbeyond.com> <20050905155724.A9284@libero.sunshine.ale> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050905155724.A9284@libero.sunshine.ale> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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, 05 Sep 2005 15:00:41 -0000 On Mon, Sep 05, 2005 at 03:57:24PM +0200, Alessandro de Manzano wrote: > On Sat, Sep 03, 2005 at 11:50:05PM -0600, Greg Lewis wrote: > > The patchset can be downloaded at: > > > > http://www.eyesbeyond.com/freebsddom/java/jdk15.html > > Great! :-) > > The native jdk15-pl1 works fine on my 5.4-R IBM i386 box, at least for me :) > > A little question, if I may: > What's the recommended procedure to update to jdk15-pl2 ? > Using portupgrade ? or are there some needed tricks ? :-) > (I'm not very familiar with portupgrade...) > > Many thanks anyway! :) Once the update for the jdk15 port has been committed then portupgrade will indeed be the right way :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 15:00:54 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 4267B16A41F for ; Mon, 5 Sep 2005 15:00:54 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1327443D4C for ; Mon, 5 Sep 2005 15:00:52 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j85Eqc2n002069; Mon, 5 Sep 2005 17:52:38 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j85EqccW002065; Mon, 5 Sep 2005 17:52:38 +0300 Date: Mon, 5 Sep 2005 17:52:38 +0300 (EEST) From: Achilleus Mantzios To: =?UTF-8?B?UG91bCBNw7hsbGVyIEhhbnNlbg==?= In-Reply-To: <431C5CAF.3080202@pbnet.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: Setting system default java 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, 05 Sep 2005 15:00:54 -0000 O Poul Møller Hansen Ýãñáøå óôéò Sep 5, 2005 : > I have just installed jdk15 on FreeBSD 5.3, > until now I have been using jdk14. > > How do I set the jdk15 as system default ? > There are some symlinks in /usr/local/bin which I haven't made manually. > So I have probably been running some command setting it up, but what > command ? Install javavmwrapper in /usr/ports/java/javavmwrapper then edit /usr/local/etc/javavms > > > Thanks, Poul > _______________________________________________ > 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" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 15:07:08 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 3D32616A41F for ; Mon, 5 Sep 2005 15:07:08 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41FFD43D55 for ; Mon, 5 Sep 2005 15:07:06 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j85Ewr2n002083; Mon, 5 Sep 2005 17:58:53 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j85EwrGK002079; Mon, 5 Sep 2005 17:58:53 +0300 Date: Mon, 5 Sep 2005 17:58:53 +0300 (EEST) From: Achilleus Mantzios To: =?UTF-8?B?UG91bCBNw7hsbGVyIEhhbnNlbg==?= In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: Setting system default java 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, 05 Sep 2005 15:07:08 -0000 O Achilleus Mantzios Ýãñáøå óôéò Sep 5, 2005 : > O Poul Møller Hansen Ýãñáøå óôéò Sep 5, 2005 : > > > I have just installed jdk15 on FreeBSD 5.3, > > until now I have been using jdk14. > > > > How do I set the jdk15 as system default ? > > There are some symlinks in /usr/local/bin which I haven't made manually. > > So I have probably been running some command setting it up, but what > > command ? > > then edit /usr/local/etc/javavms Ooopss, or better man javavm > > > > > > > Thanks, Poul > > _______________________________________________ > > 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" > > > > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 15:13:54 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 E04FA16A4A9 for ; Mon, 5 Sep 2005 15:13:53 +0000 (GMT) (envelope-from freebsd@pbnet.dk) Received: from benny.care4all.dk (cpe.atm2-0-52453.0x50a4a22a.esnxx3.customer.tele.dk [80.164.162.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 643BB43D48 for ; Mon, 5 Sep 2005 15:13:53 +0000 (GMT) (envelope-from freebsd@pbnet.dk) Received: from localhost (localhost [127.0.0.1]) by benny.care4all.dk (Postfix) with ESMTP id 5FD8AD4FC; Mon, 5 Sep 2005 17:13:52 +0200 (CEST) Received: from benny.care4all.dk ([127.0.0.1]) by localhost (benny [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26926-04; Mon, 5 Sep 2005 17:13:51 +0200 (CEST) Received: from [172.19.10.164] (x1-6-00-80-c8-03-a6-d7.k438.webspeed.dk [83.89.23.114]) by benny.care4all.dk (Postfix) with ESMTP id B5AC4CD12; Mon, 5 Sep 2005 17:13:51 +0200 (CEST) Message-ID: <431C60AB.6000709@pbnet.dk> Date: Mon, 05 Sep 2005 17:13:47 +0200 From: =?UTF-8?B?UG91bCBNw7hsbGVyIEhhbnNlbg==?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Achilleus Mantzios References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at care4all.dk Cc: freebsd-java@freebsd.org Subject: Re: Setting system default java 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, 05 Sep 2005 15:13:54 -0000 >> >>then edit /usr/local/etc/javavms > > > Ooopss, or better > man javavm > This is in /usr/local/etc/javavms. I suppose that is just a list of installed vm's --- /usr/local/jdk1.5.0/bin/java # FREEBSD-JDK1.5.0 /usr/local/jdk1.4.2/bin/java # FREEBSD-JDK1.4.2 /usr/local/linux-sun-jdk1.4.2/bin/java I have no man page for javavm and it's a synonym for java what should I change ? Poul From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 15:28:46 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 1F7EB16A41F for ; Mon, 5 Sep 2005 15:28:46 +0000 (GMT) (envelope-from ale@unixmania.net) Received: from fe-6c.inet.it (fe-6c.inet.it [213.92.5.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 459F743D46 for ; Mon, 5 Sep 2005 15:28:44 +0000 (GMT) (envelope-from ale@unixmania.net) Received: from 81-174-26-112.f5.ngi.it [::ffff:81.174.26.112] by fe-6c.inet.it via I-SMTP-5.2.3-521 id ::ffff:81.174.26.112+H5R24nX0pOV; Mon, 05 Sep 2005 17:28:43 +0200 Received: by libero.sunshine.ale (Postfix, from userid 1001) id A35C45FCF; Mon, 5 Sep 2005 17:28:32 +0200 (CEST) Date: Mon, 5 Sep 2005 17:28:32 +0200 From: Alessandro de Manzano To: Greg Lewis Message-ID: <20050905172832.B10106@libero.sunshine.ale> References: <20050904055005.GA14907@misty.eyesbeyond.com> <20050905155724.A9284@libero.sunshine.ale> <20050905150036.GA99942@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20050905150036.GA99942@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Mon, Sep 05, 2005 at 09:00:36AM -0600 X-Operating-System: FreeBSD 4.9-RELEASE-p3 Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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, 05 Sep 2005 15:28:46 -0000 On Mon, Sep 05, 2005 at 09:00:36AM -0600, Greg Lewis wrote: > > What's the recommended procedure to update to jdk15-pl2 ? > > Using portupgrade ? or are there some needed tricks ? :-) > > (I'm not very familiar with portupgrade...) > > Once the update for the jdk15 port has been committed then portupgrade will > indeed be the right way :). Fine, so it's time for me to get quite familiar with portupgrade... ;-)) Many thanks! :) -- bye! Ale ale@unixmania.net From owner-freebsd-java@FreeBSD.ORG Mon Sep 5 16:39: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 04B9F16A41F for ; Mon, 5 Sep 2005 16:39:09 +0000 (GMT) (envelope-from freebsd@pbnet.dk) Received: from benny.care4all.dk (cpe.atm2-0-52453.0x50a4a22a.esnxx3.customer.tele.dk [80.164.162.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2AEA43D5A for ; Mon, 5 Sep 2005 16:39:05 +0000 (GMT) (envelope-from freebsd@pbnet.dk) Received: from localhost (localhost [127.0.0.1]) by benny.care4all.dk (Postfix) with ESMTP id 97735D4B4; Mon, 5 Sep 2005 18:39:02 +0200 (CEST) Received: from benny.care4all.dk ([127.0.0.1]) by localhost (benny [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26916-09; Mon, 5 Sep 2005 18:39:02 +0200 (CEST) Received: from [172.19.10.164] (x1-6-00-80-c8-03-a6-d7.k438.webspeed.dk [83.89.23.114]) by benny.care4all.dk (Postfix) with ESMTP id DAFEAD024; Mon, 5 Sep 2005 18:39:01 +0200 (CEST) Message-ID: <431C74A1.3050509@pbnet.dk> Date: Mon, 05 Sep 2005 18:38:57 +0200 From: =?UTF-8?B?UG91bCBNw7hsbGVyIEhhbnNlbg==?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?UTF-8?B?UG91bCBNw7hsbGVyIEhhbnNlbg==?= References: <431C60AB.6000709@pbnet.dk> In-Reply-To: <431C60AB.6000709@pbnet.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at care4all.dk Cc: freebsd-java@freebsd.org Subject: Re: Setting system default java 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, 05 Sep 2005 16:39:09 -0000 >>> >>> then edit /usr/local/etc/javavms >> >> >> >> Ooopss, or better >> man javavm >> I found the javavmwrapper port, but couldn't set the default. After removing the version 1.4.2, the 1.5 was the default. Poul From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 01:17:17 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 278D816A41F for ; Tue, 6 Sep 2005 01:17:17 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE99943D45 for ; Tue, 6 Sep 2005 01:17:16 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so645711nzd for ; Mon, 05 Sep 2005 18:17:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ECKDNTSmNxjyi63NF2lsVvySlO4c9nl0A/ujYyD1XeIiFcEmkIBKMKsKp/eCJtTueawOL3IGj2UZPxJZiOARziwB8lTSR1zs4tpeOVoQUu9Ig+N8sWhiv3AdKYsoq5ekbhPnpW41DEAfQ94nKohayAJoMggNmxlicwBrAuU2vw8= Received: by 10.36.138.18 with SMTP id l18mr5219246nzd; Mon, 05 Sep 2005 18:17:16 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Mon, 5 Sep 2005 18:17:15 -0700 (PDT) Message-ID: Date: Tue, 6 Sep 2005 09:17:16 +0800 From: Jiawei Ye To: java Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Dumping a shared archive is not supported on the server VM X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: leafy7382@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 01:17:17 -0000 Here is what I got when trying to install java/jdk15 =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Checking if java/jdk15 already installed /bin/mkdir -p /usr/local/jdk1.5.0 cd /usr/ports/java/jdk15/work/control/make/../build/bsd-i586/j2sdk-image && /usr/bin/find . | /usr/bin/cpio -pdmu -R root:wheel /usr/local/jdk1.5.0 205649 blocks Error occurred during initialization of VM Dumping a shared archive is not supported on the Server JVM. *** Error code 1 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. I did not run into this problem before when trying to install jdk15. Is there anything wrong with my build environment? Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 03:30:45 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 2F13916A41F for ; Tue, 6 Sep 2005 03:30:45 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84DAE43D45 for ; Tue, 6 Sep 2005 03:30:43 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j863Ug7n028180; Tue, 6 Sep 2005 05:30:42 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j863Uf5P028179; Tue, 6 Sep 2005 05:30:41 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Tue, 6 Sep 2005 05:30:41 +0200 From: Herve Quiroz To: Achilleus Mantzios Message-ID: <20050906033041.GB27963@arabica.esil.univ-mrs.fr> Mail-Followup-To: Achilleus Mantzios , Poul =?iso-8859-1?Q?M=F8ller?= Hansen , freebsd-java@freebsd.org References: <431C5CAF.3080202@pbnet.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org, Poul =?iso-8859-1?Q?M=F8ller?= Hansen Subject: Re: Setting system default java 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: Tue, 06 Sep 2005 03:30:45 -0000 On Mon, Sep 05, 2005 at 05:52:38PM +0300, Achilleus Mantzios wrote: > O Poul M??ller Hansen ?????? ???? Sep 5, 2005 : > > > I have just installed jdk15 on FreeBSD 5.3, > > until now I have been using jdk14. > > > > How do I set the jdk15 as system default ? > > There are some symlinks in /usr/local/bin which I haven't made manually. > > So I have probably been running some command setting it up, but what > > command ? > > Install javavmwrapper in /usr/ports/java/javavmwrapper > then edit /usr/local/etc/javavms There are several ways to achieve this, and editing /usr/local/etc/javavms is not a practice I would recommend, given the file is automatically generated when you install or deinstall ports. You may set the following in /etc/make.conf: JAVA_PREFERRED_PORTS= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 Or you may define JAVA_VERSION=1.5 in your environement. You may also just define JAVA_HOME=/usr/local/jdk1.5.0 in your environement. The main point of the first approach is the fact that the setting is system-wide, whereas the other ones are user-specific. Herve From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 05:56:15 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 3C0FB16A41F for ; Tue, 6 Sep 2005 05:56:15 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: from web50110.mail.yahoo.com (web50110.mail.yahoo.com [206.190.38.38]) by mx1.FreeBSD.org (Postfix) with SMTP id ABAA143D45 for ; Tue, 6 Sep 2005 05:56:12 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: (qmail 74882 invoked by uid 60001); 6 Sep 2005 05:56:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OE51fn1oaX2a9J6sjP4MWiXAwVbalfoEqdqkirLbx2AHQmMzSgMXGlR+vAvSOhPHP+nQ7M1hvOy5s4r0iZH4kgOuvabznnkuLNkNaytDxji8c75WQwHjuAICv4JbaE79rhb4VSwCQvGoldWgzrfYiaE99ChvMlI+kkKvaGJdpzs= ; Message-ID: <20050906055612.74880.qmail@web50110.mail.yahoo.com> Received: from [203.200.51.98] by web50110.mail.yahoo.com via HTTP; Mon, 05 Sep 2005 22:56:12 PDT Date: Mon, 5 Sep 2005 22:56:12 -0700 (PDT) From: Arvind Nahata To: freebsd-java@freebsd.org In-Reply-To: <20050905061515.63095.qmail@web50106.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Arvind Nahata Subject: JDK 1.4 on FreeBSD 5.4 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: Tue, 06 Sep 2005 05:56:15 -0000 Hi, Can someone please point me to the steps to downloading, installing and using JDK 1.4 on FreeBSD 5.4? I have been trying to do the same in vain and am reaching some deadline for it. Any help, document, will be appreciated. I read on the site that because of licensing issues, a binary cannot be shipped and one has to compile/build one's own JDK. But steps to achieve the same aren't visibly available. Please help! Thanks! ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 06:46:57 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 4AEC616A41F for ; Tue, 6 Sep 2005 06:46:57 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4940D43D49 for ; Tue, 6 Sep 2005 06:46:56 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j866ci2n003983; Tue, 6 Sep 2005 09:38:44 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j866cij7003979; Tue, 6 Sep 2005 09:38:44 +0300 Date: Tue, 6 Sep 2005 09:38:44 +0300 (EEST) From: Achilleus Mantzios To: Arvind Nahata In-Reply-To: <20050906055612.74880.qmail@web50110.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 on FreeBSD 5.4 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: Tue, 06 Sep 2005 06:46:57 -0000 O Arvind Nahata Ýãñáøå óôéò Sep 5, 2005 : > Hi, > > Can someone please point me to the steps to > downloading, installing and using JDK 1.4 on FreeBSD > 5.4? > > I have been trying to do the same in vain and am > reaching some deadline for it. > > Any help, document, will be appreciated. > > I read on the site that because of licensing issues, a > binary cannot be shipped and one has to compile/build > one's own JDK. But steps to achieve the same aren't > visibly available. cd /usr/ports/jdk14 make install Do exactly as the instructions from the above command say to you. Also useful tip: make sure you have a kernel compiled with linprocfs, linux support. if not kldload the above 2 modules. Also: do a mount -t linprocfs on /usr/compat/linux/proc > > Please help! > > Thanks! > > > > > ______________________________________________________ > Click here to donate to the Hurricane Katrina relief effort. > http://store.yahoo.com/redcross-donate3/ > _______________________________________________ > 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" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 06:48:40 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 5247516A41F for ; Tue, 6 Sep 2005 06:48:40 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4FA343D45 for ; Tue, 6 Sep 2005 06:48:39 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 86FD156428; Tue, 6 Sep 2005 18:48:37 +1200 (NZST) Date: Tue, 6 Sep 2005 18:48:37 +1200 From: Jonathan Chen To: Arvind Nahata Message-ID: <20050906064837.GA67958@osiris.chen.org.nz> References: <20050905061515.63095.qmail@web50106.mail.yahoo.com> <20050906055612.74880.qmail@web50110.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050906055612.74880.qmail@web50110.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 on FreeBSD 5.4 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: Tue, 06 Sep 2005 06:48:40 -0000 On Mon, Sep 05, 2005 at 10:56:12PM -0700, Arvind Nahata wrote: > Hi, > > Can someone please point me to the steps to > downloading, installing and using JDK 1.4 on FreeBSD > 5.4? it's in the ports. This means that you should make sure your ports tree is up-to-date with cvsup, and then: # cd /usr/ports/java/jdk14 # make You may have to do the previous command a couple of times, but once the build completes, you can then do a: # make install clean At which point, I suggest you then remove the linux-jdk, linuxalator ports which may have been installed as well. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%? From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 06:52:31 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 BEC3516A41F for ; Tue, 6 Sep 2005 06:52:31 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: from web50102.mail.yahoo.com (web50102.mail.yahoo.com [206.190.38.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 3388A43D46 for ; Tue, 6 Sep 2005 06:52:30 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: (qmail 7458 invoked by uid 60001); 6 Sep 2005 06:52:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Q56FRipDbsj+uwzfkMFXRd2Om1mDgiEgcamJwJSRXv/5gcf/hsPQzozP65lD+lz+noHzRIjN6ZzJUVAqrD2PunVzE/6hh7rwlYlvosTEWYkhmCzIzeSrhqH3amYmnQO3gjUgzlhkdxfprei2oE85jZNZxn9tsIjD2c5jt1maJPU= ; Message-ID: <20050906065230.7456.qmail@web50102.mail.yahoo.com> Received: from [203.200.51.98] by web50102.mail.yahoo.com via HTTP; Mon, 05 Sep 2005 23:52:30 PDT Date: Mon, 5 Sep 2005 23:52:30 -0700 (PDT) From: Arvind Nahata To: Jonathan Chen In-Reply-To: <20050906064837.GA67958@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 on FreeBSD 5.4 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: Tue, 06 Sep 2005 06:52:31 -0000 Thanks for your quick response Jonathan! Unfortunately, the FreeBSD installation that I have doesn't have a /usr/ports directory itself. Any clues on - 1. Why dosen't my installation have a ports directory? 2. How can I get one and the ports/java/jdk14 directories, content? Thanks in advance! --- Jonathan Chen wrote: > On Mon, Sep 05, 2005 at 10:56:12PM -0700, Arvind > Nahata wrote: > > Hi, > > > > Can someone please point me to the steps to > > downloading, installing and using JDK 1.4 on > FreeBSD > > 5.4? > > it's in the ports. This means that you should make > sure your ports tree > is up-to-date with cvsup, and then: > > # cd /usr/ports/java/jdk14 > # make > > > You may have to do the previous command a couple of > times, but once the > build completes, you can then do a: > > # make install clean > > At which point, I suggest you then remove the > linux-jdk, linuxalator ports > which may have been installed as well. > > Cheers. > -- > Jonathan Chen > ---------------------------------------------------------------------- > If you're right 90% of the time, why quibble about > the remaining 3%? > ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 07:10:07 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 750AE16A41F for ; Tue, 6 Sep 2005 07:10:07 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E9EB43D46 for ; Tue, 6 Sep 2005 07:10:06 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so674498nzd for ; Tue, 06 Sep 2005 00:10:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bjsMj4+ajpvDOrMJxy8olZBPzCikNcgb6Kdsy6Lhk4PnzBCoZe8tm2YKoq8sq8gBCyeJ2FnineGhh5ZasOOFVkNU9PTdJSu5tFwOsepOtRflE7T9YcMw6gtbqQJRjHzh73ElfXxJpn9b8gQTqC5WIxXFibLJTz8rgsfs+9dCbis= Received: by 10.36.84.7 with SMTP id h7mr5349993nzb; Tue, 06 Sep 2005 00:10:06 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Tue, 6 Sep 2005 00:10:06 -0700 (PDT) Message-ID: Date: Tue, 6 Sep 2005 15:10:06 +0800 From: Jiawei Ye To: Arvind Nahata In-Reply-To: <20050906065230.7456.qmail@web50102.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050906064837.GA67958@osiris.chen.org.nz> <20050906065230.7456.qmail@web50102.mail.yahoo.com> Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 on FreeBSD 5.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: leafy7382@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 07:10:07 -0000 On 9/6/05, Arvind Nahata wrote: > Thanks for your quick response Jonathan! >=20 > Unfortunately, the FreeBSD installation that I have > doesn't have a /usr/ports directory itself. >=20 > Any clues on - > 1. Why dosen't my installation have a ports directory? > 2. How can I get one and the ports/java/jdk14 > directories, content? >=20 > Thanks in advance! It really depends on how you installed your FreeBSD. Usually the installation includes the ports collections. You can read about the ports here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Cheers, Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 07:33:10 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 8456E16A41F for ; Tue, 6 Sep 2005 07:33:10 +0000 (GMT) (envelope-from dwebman@telus.net) Received: from priv-edtnes51.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC4F43D46 for ; Tue, 6 Sep 2005 07:33:09 +0000 (GMT) (envelope-from dwebman@telus.net) Received: from [10.0.10.6] (really [154.20.242.227]) by priv-edtnes51.telusplanet.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050906073309.SZXT14902.priv-edtnes51.telusplanet.net@[10.0.10.6]> for ; Tue, 6 Sep 2005 01:33:09 -0600 From: Dave Webster To: freebsd-java@freebsd.org Content-Type: text/plain Date: Tue, 06 Sep 2005 00:31:20 -0700 Message-Id: <1125991880.23966.25.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: "Linking vm error" when building java 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: Tue, 06 Sep 2005 07:33:10 -0000 I get the following error when running gmake to install JDK to FreeBSD. Linking vm... /usr/bin/ld: cannot find -lkse gmake[3]: *** [libjvm.so] Error 1 gmake[3]: Leaving directory `/usr/java/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/java/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/usr/java/control/build/bsd-i586/hotspot-i586/tmp' gmake: *** [product] Error 2 I'm using FreeBSD 5.4 i386. I've followed the instructions from www.eyebeyond.com as given in the "BUILD" file from the bsd-jdk14-patches-7.tar download from their site. I've linux compatability and have ported x11/linux-XFree86-libs, x11-toolkits/OpenMotif 2.2.3_2 and java/javavmwrapper. When trying to port java/linux-sun-jdk14 I was directed to the Sun site and downloaded and tarred j2sdk-1_4_2_08-linux-i586.bin to /usr/ports/distfiles and ran make again on /usr/ports/java/jdk14. The instructions from BUILD were followed as in: Here is a typical set up for your build environment: unsetenv LANG unsetenv JAVA_HOME unsetenv CLASSPATH setenv ALT_MOTIF_DIR /usr/X11R6 setenv DEV_ONLY YES In additional, with the recommended ports, one would use setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.4.2 although this latter setenv statement was written as: setenv ALT_BOOTDIR /usr/ports/disfiles/j2sdk1.4.2_08 because the path given in the BUILD documentation didn't have the linux-sun-jdk1.4.2 directory so this was my best guess. I put the files: bsd-jdk14-patches-7.tar j2sdk-1_4_2-bin-scsl.zip j2sdk-1_4_2-src-scsl.zip in /usr/java/ unzipped and tarred them. I've mounted linprocfs using: /sbin/mount -t linprocfs linprocfs /compat/linux/proc with an entry in my /etc/fstab file for good measure. I've run: patch -p0 < jdk14.patches in /usr/java/ and then cd control/make and ran gmake Everything was going along great until the error message. Does anyone have any suggestions? Dave From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 07:40:15 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 2292516A41F for ; Tue, 6 Sep 2005 07:40:15 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A4B43D46 for ; Tue, 6 Sep 2005 07:40:14 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so677091nzd for ; Tue, 06 Sep 2005 00:40:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KQ1hpVtoyb48y4BMPuF3NBIbbAL6xBwmYMyfX78T0ZsSLt3jyuV7Q13SpijDa9gPX6Wic/PpHVaveTDYv3KTvQKZgRZW87KUVMpK97qJh24GZzp6qk9jmJ35b5wD6DrG4193eANfwPmq8K7rf4mf7HHXycmWFabFxLzICKwsyMg= Received: by 10.36.101.13 with SMTP id y13mr5328802nzb; Tue, 06 Sep 2005 00:40:14 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Tue, 6 Sep 2005 00:40:14 -0700 (PDT) Message-ID: Date: Tue, 6 Sep 2005 15:40:14 +0800 From: Jiawei Ye To: Dave Webster In-Reply-To: <1125991880.23966.25.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1125991880.23966.25.camel@localhost> Cc: freebsd-java@freebsd.org Subject: Re: "Linking vm error" when building java X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: leafy7382@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 07:40:15 -0000 On 9/6/05, Dave Webster wrote: > I get the following error when running gmake to install JDK to FreeBSD. Use The Ports, Luke~ That said, since you have nearly all the prerequisites, simple 'cd /usr/ports/java/jdk14 && make install clean". Follow the printouts on the screen if any problem arises. Good luck. Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 12:13:33 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 EFEC316A41F for ; Tue, 6 Sep 2005 12:13:33 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: from web50111.mail.yahoo.com (web50111.mail.yahoo.com [206.190.39.137]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D68243D46 for ; Tue, 6 Sep 2005 12:13:33 +0000 (GMT) (envelope-from arvindnahata@yahoo.com) Received: (qmail 83919 invoked by uid 60001); 6 Sep 2005 12:13:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Hts6vk09Z4NpjdPsQAK7kwF2MpkXZedsgwRt3ispaYYjZ3c1sbCDrBNVo1RcyBTzR0Iq2dmEyvEFAZrQpsTgcUVFqzPIjz3rgI/AXsEBdHeyZ77GIaBJr+6s39LDFqtOQEzZZyeLUejEx3Wn6TEddjB1fvRq8/lkFMvp1qvZCq0= ; Message-ID: <20050906121332.83917.qmail@web50111.mail.yahoo.com> Received: from [203.200.51.98] by web50111.mail.yahoo.com via HTTP; Tue, 06 Sep 2005 05:13:32 PDT Date: Tue, 6 Sep 2005 05:13:32 -0700 (PDT) From: Arvind Nahata To: freebsd-java@freebsd.org In-Reply-To: <20050906064837.GA67958@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Arvind Nahata Subject: Can we distribute JRE 1.4 on FreeBSD 5.4 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: Tue, 06 Sep 2005 12:13:34 -0000 Hi, I now have a ports/java/jdk14 and am installing the JDK on FreeBSD 5.4 Once I have the JDK up, I will be able to create my application (system monitoring using JNI). To distribute the application on other platforms, I ship the JRE, how do I go about it on FreeBSD 5.4? Can we ship a JRE? If yes, where do I get it from? Please note that I will need a JRE 1.4. Thanks in advance! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-java@FreeBSD.ORG Tue Sep 6 15:41:33 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 074FA16A41F for ; Tue, 6 Sep 2005 15:41:33 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7023543D48 for ; Tue, 6 Sep 2005 15:41:32 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j86FfUVg060951; Tue, 6 Sep 2005 09:41:31 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j86FfUeU060950; Tue, 6 Sep 2005 09:41:30 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 6 Sep 2005 09:41:29 -0600 From: Greg Lewis To: Dave Webster Message-ID: <20050906154129.GA60848@misty.eyesbeyond.com> References: <1125991880.23966.25.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1125991880.23966.25.camel@localhost> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: "Linking vm error" when building java 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: Tue, 06 Sep 2005 15:41:33 -0000 Dave, On Tue, Sep 06, 2005 at 12:31:20AM -0700, Dave Webster wrote: > I get the following error when running gmake to install JDK to FreeBSD. [snip] > Everything was going along great until the error message. > Does anyone have any suggestions? Its really a lot easier to do this through the ports system. Just cd /usr/ports/java/jdk14 && make install Then follow the instructions. You will need Linux emulation enabled and linprocfs mounted. The manual build is really only for people who are prepared to investigate and fix problems themselves (or who are masochists like me). That said, your problem is that back when the last 1.4.2 patchset was released -lkse was seen as the correct linkage for the threading libraries on FreeBSD 5.x. If you replace it with -pthread it will probably work. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Sep 7 17:18:11 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 CEA8E16A41F for ; Wed, 7 Sep 2005 17:18:11 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3607343D48 for ; Wed, 7 Sep 2005 17:18:10 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j87HI8aC061211; Wed, 7 Sep 2005 11:18:09 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j87HI7PH061210; Wed, 7 Sep 2005 11:18:07 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 7 Sep 2005 11:18:07 -0600 From: Greg Lewis To: Arvind Nahata Message-ID: <20050907171807.GA61023@misty.eyesbeyond.com> References: <20050906064837.GA67958@osiris.chen.org.nz> <20050906121332.83917.qmail@web50111.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050906121332.83917.qmail@web50111.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: Can we distribute JRE 1.4 on FreeBSD 5.4 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: Wed, 07 Sep 2005 17:18:11 -0000 On Tue, Sep 06, 2005 at 05:13:32AM -0700, Arvind Nahata wrote: > I now have a ports/java/jdk14 and am installing the > JDK on FreeBSD 5.4 > > Once I have the JDK up, I will be able to create my > application (system monitoring using JNI). > > To distribute the application on other platforms, I > ship the JRE, how do I go about it on FreeBSD 5.4? > > Can we ship a JRE? If yes, where do I get it from? > Please note that I will need a JRE 1.4. Only a lawyer can answer this question for you. You can't get it from anywhere currently, you would need to build it. Please read the license you agreed to when you downloaded the source code. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Sep 8 06:44:41 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 108FA16A41F for ; Thu, 8 Sep 2005 06:44:41 +0000 (GMT) (envelope-from java.public@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A764A43D58 for ; Thu, 8 Sep 2005 06:44:39 +0000 (GMT) (envelope-from java.public@gmail.com) Received: by rproxy.gmail.com with SMTP id 34so290410rns for ; Wed, 07 Sep 2005 23:44:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=QiICGJvfBJyUIxwCgD13G7y3neBWMdXwgmkkjr5Qtg1Y3k/s1D7hdbMV5u3O+6QDlOCrgl2UwHLA4BQb+g6JuOvuVbOGwETLPMbz7yN2pRSWI1rRP2N/WhAA1nyGI+6sJmJHjoHKqBNMN81Mcq3OvCmfY4uxuSmRU6bcSfA2wCc= Received: by 10.38.8.26 with SMTP id 26mr86rnh; Wed, 07 Sep 2005 23:44:35 -0700 (PDT) Received: by 10.38.8.8 with HTTP; Wed, 7 Sep 2005 23:44:35 -0700 (PDT) Message-ID: Date: Thu, 8 Sep 2005 08:44:35 +0200 From: Java News To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD / Eclipse 3.1 / WTP 0.7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: java.public@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 06:44:41 -0000 Hello, As port of Eclipse 3.1 is already available, I was trying to install Eclips= e=20 WTP 0.7 to improve my work with JSPs and Servlets. I installed first: GEF,= =20 EMF, and Java EMF Model Runtime: JEM-SDK-1.1.zip (this is the problem) from= =20 WTP site, but I have still error saying that there is no such plugin as=20 org.eclipse.jem.util - I checked plugins directory and there is such plugin= =20 installed, in manage configuration it is shown as disabled - that's probabl= y=20 mean that this version is incompatible with FreeBSD. Is there anybody who installed WTP with success on Free, and can share=20 his/her knowledge on this topic? Anybody work on porting JEM and WTP to=20 FreeBSD? Best Regards, Lee From owner-freebsd-java@FreeBSD.ORG Thu Sep 8 15:01:43 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 C974116A41F for ; Thu, 8 Sep 2005 15:01:43 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AF9543D46 for ; Thu, 8 Sep 2005 15:01:42 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j88F1cWR022552; Thu, 8 Sep 2005 09:01:38 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j88F1btK022551; Thu, 8 Sep 2005 09:01:37 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 8 Sep 2005 09:01:37 -0600 From: Greg Lewis To: Robert Swindells Message-ID: <20050908150137.GB22080@misty.eyesbeyond.com> References: <20050904183158.GA55536@misty.eyesbeyond.com> <20050904194806.8F8CDE75@fdy2.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050904194806.8F8CDE75@fdy2.demon.co.uk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Thu, 08 Sep 2005 15:01:43 -0000 On Sun, Sep 04, 2005 at 08:48:06PM +0100, Robert Swindells wrote: > Greg Lewis wrote: > >On Sun, Sep 04, 2005 at 12:41:41PM +0100, Robert Swindells wrote: > >> I would remove NetBSD from the list until someone provides some more > >> NetBSD specific build instructions. > >> > >> The build fails with: > >> > >> ERROR: You do not have access to valid Mozilla header files. > >> Please check your access to > >> /usr/pkg/include/firefox/java/bool.h > >> and/or check your value of ALT_MOZILLA_PATH, ALT_MOZILLA_HEADERS_PATH, > >> > >> Exiting because of the above error(s). > >> > >> This is the correct location for bool.h. > > >Another thing, do you actually have ALT_MOZILLA_HEADERS_PATH set? > > I did have it set. I had not set ALT_MOZILLA_PATH to anything though. Weird. This should be fairly simple to track down though since these checkes are just done in shell scripts. > It is building now I have set DONT_BUILD_DEPLOY. > > I needed to increase the datasize limit to 384M. > > I had a couple of problems with generated java files getting corrupted > by the following Hotspot warning: > > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location > Error occurred during initialization of VM On FreeBSD, this is caused by not having linprocfs mounted. I don't know if that is the case on NetBSD. > I will run the build again to get the problem files. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Sep 8 21:37:48 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 7299916A41F for ; Thu, 8 Sep 2005 21:37:48 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E63C43D45 for ; Thu, 8 Sep 2005 21:37:47 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 08 Sep 2005 21:37:45 -0000 Received: from unknown (EHLO klamath) [212.204.44.203] by mail.gmx.net (mp008) with SMTP; 08 Sep 2005 23:37:45 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: java.public@gmail.com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BoQZzZQzRXOs0Ezx2UP/" Date: Thu, 08 Sep 2005 23:37:41 +0200 Message-Id: <1126215462.973.5.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.3.8 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD / Eclipse 3.1 / WTP 0.7 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: Thu, 08 Sep 2005 21:37:48 -0000 --=-BoQZzZQzRXOs0Ezx2UP/ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, it worked for me, but I do remember some issues with JEM. I needed to use the update manager multiple times until it got all updates selected and WTP installation was possible. > I checked plugins directory and there is such plugin=20 > installed, in manage configuration it is shown as disabled - that's proba= bly=20 > mean that this version is incompatible with FreeBSD. What happens if you enable it? Regards, Andreas --=-BoQZzZQzRXOs0Ezx2UP/ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDIK8lYucd7Ow1ygwRAtxMAKCMXxlQ7eyzgGA5i8AMybarm6fnIACfTbtY X/1nV1Bp4ltMQhffzAHz+0Y= =R7LO -----END PGP SIGNATURE----- --=-BoQZzZQzRXOs0Ezx2UP/-- From owner-freebsd-java@FreeBSD.ORG Fri Sep 9 12:33:28 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 8D44A16A41F for ; Fri, 9 Sep 2005 12:33:28 +0000 (GMT) (envelope-from auryn@zirakzigil.org) Received: from aurynhome1sv1.zirakzigil.org (mail.zirakzigil.org [82.63.178.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CDB543D46 for ; Fri, 9 Sep 2005 12:33:26 +0000 (GMT) (envelope-from auryn@zirakzigil.org) Received: (qmail 76383 invoked by uid 98); 9 Sep 2005 12:33:25 -0000 Received: from 81.92.45.146 by aurynhome1sv1.zirakzigil.org (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.86.2/989. uvscan: v4.4.00/v4545. Clear:RC:0(81.92.45.146):. Processed in 0.572982 secs); 09 Sep 2005 12:33:25 -0000 X-Qmail-Scanner-Mail-From: auryn@zirakzigil.org via aurynhome1sv1.zirakzigil.org X-Qmail-Scanner: 1.25 (Clear:RC:0(81.92.45.146):. Processed in 0.572982 secs) Received: from unknown (HELO zirakzigil.org) (auryn@zirakzigil.org@81.92.45.146) by 0 with SMTP; 9 Sep 2005 12:33:24 -0000 Message-ID: <43218109.50809@zirakzigil.org> Date: Fri, 09 Sep 2005 14:33:13 +0200 From: Giulio Ferro User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: jdk ps2 port 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: Fri, 09 Sep 2005 12:33:28 -0000 Maybe this is already been discussed, but when will the patchset 2 for jdk15 port be available? Thanks. From owner-freebsd-java@FreeBSD.ORG Fri Sep 9 12:59:05 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 1EC3516A41F for ; Fri, 9 Sep 2005 12:59:05 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D10643D46 for ; Fri, 9 Sep 2005 12:59:03 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j89Cx1ID040177; Fri, 9 Sep 2005 15:59:01 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j89Cx3cW089861; Fri, 9 Sep 2005 15:59:04 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <43218710.1000509@ebs.gr> Date: Fri, 09 Sep 2005 15:58:56 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Kohn References: <1126215462.973.5.camel@klamath.syndrom23.de> In-Reply-To: <1126215462.973.5.camel@klamath.syndrom23.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org, java.public@gmail.com Subject: Re: FreeBSD / Eclipse 3.1 / WTP 0.7 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: Fri, 09 Sep 2005 12:59:05 -0000 Andreas Kohn wrote: > Hi, > > it worked for me, but I do remember some issues with JEM. I needed to > use the update manager multiple times until it got all updates selected > and WTP installation was possible. > > >>I checked plugins directory and there is such plugin >>installed, in manage configuration it is shown as disabled - that's probably >>mean that this version is incompatible with FreeBSD. > > What happens if you enable it? > > Regards, > Andreas It works for me too. I just had to enable it after updating. If you get any error messages after enabling it, post the relevant details from the eclipse log file. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Sep 9 14:17:06 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 124E416A41F for ; Fri, 9 Sep 2005 14:17:06 +0000 (GMT) (envelope-from mlusetti@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18B5A43D46 for ; Fri, 9 Sep 2005 14:17:04 +0000 (GMT) (envelope-from mlusetti@gmail.com) Received: by xproxy.gmail.com with SMTP id h32so614375wxd for ; Fri, 09 Sep 2005 07:17:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YdRp5qF+3Uqi6wb1w9zFuukMeGPP1l9mkAZr+U1kqnew+1Plltn2aW9XU2EHx1XcQqe/FFKVjc5bl+9r2Vhfy8pjUskgZbWzxixdwqGkejgSskrBv2frONuRbjar0F13nQqIgXB3LgZFjYKUFV1JEIBkHxSiVTWl0mGIngEGXHc= Received: by 10.70.57.12 with SMTP id f12mr6858wxa; Fri, 09 Sep 2005 07:17:04 -0700 (PDT) Received: by 10.70.56.11 with HTTP; Fri, 9 Sep 2005 07:17:04 -0700 (PDT) Message-ID: Date: Fri, 9 Sep 2005 16:17:04 +0200 From: Massimo Lusetti To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Could i build jdk package and "distribute" on my own machine ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mlusetti@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 14:17:06 -0000 I mean to distribute as: install with pkg_add on others machine which i control, not to redistribute to others. Is this fine with licenses issues ? --=20 Massimo From owner-freebsd-java@FreeBSD.ORG Fri Sep 9 16:58:36 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 7441D16A41F for ; Fri, 9 Sep 2005 16:58:36 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8836743D58 for ; Fri, 9 Sep 2005 16:58:34 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j89GwW6X016151 for ; Fri, 9 Sep 2005 10:58:33 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j89GwWhN016150 for freebsd-java@FreeBSD.org; Fri, 9 Sep 2005 10:58:32 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 9 Sep 2005 10:58:32 -0600 From: Greg Lewis To: freebsd-java@FreeBSD.org Message-ID: <20050909165832.GA16137@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: Patches to update jdk15 to patchset 2 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: Fri, 09 Sep 2005 16:58:36 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline All, Here is the current patch I am testing. Please give it a try and provide some feedback. Unfortunately it disables the shared class data archive since that is causing problems for me on 4.x and isn't support on 5.4/amd64 (my other testing machine). If you have a 5.x or 6.x i386 machine then please try to test that and let me know if it should be put back in under those restrictions. I was sure it was working before, but it isn't now. This also fixes a bug with the packing list when the debug stuff is included. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ps2.diff" Index: Makefile =================================================================== RCS file: /var/fcvs/ports/java/jdk15/Makefile,v retrieving revision 1.92 diff -u -r1.92 Makefile --- Makefile 4 Sep 2005 14:31:31 -0000 1.92 +++ Makefile 9 Sep 2005 04:23:41 -0000 @@ -7,40 +7,52 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 3 CATEGORIES= java devel -MASTER_SITES= http://www.kde.org.ua/data/java/:koi8u -# http://www.sun.com/software/java2/download.html +MASTER_SITES= # http://www.sun.com/software/communitysource/j2se/java2/download.xml # http://www.eyesbeyond.com/freebsddom/java/jdk15.html SCSL_SRCFILE= jdk-${JDK_VERSION:S/./_/g}-src-scsl.zip SCSL_BINFILE= jdk-${JDK_VERSION:S/./_/g}-bin-scsl.zip PATCHSETFILE= bsd-jdk15-patches-${JDK_PATCHSET_VERSION}.tar.bz2 -ENCODINGS= java_koi8u.tgz:koi8u -DISTFILES= ${SCSL_SRCFILE} ${SCSL_BINFILE} ${PATCHSETFILE} ${ENCODINGS} +DISTFILES= ${SCSL_SRCFILE} ${SCSL_BINFILE} ${PATCHSETFILE} MAINTAINER= phantom@FreeBSD.org COMMENT= Java Development Kit 1.5.0 -# XXX: iconv dependency? EXTRACT_DEPENDS=zip:${PORTSDIR}/archivers/zip BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \ zip:${PORTSDIR}/archivers/zip \ ${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper +.if defined(WITHOUT_WEB) +MAKE_ENV+= DONT_BUILD_DEPLOY="YES" +.else +.if defined(WITH_MOZILLA) && ${WITH_MOZILLA} == "firefox" +BUILD_DEPENDS+= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox +RUN_DEPENDS+= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox +MAKE_ENV+= BROWSER=firefox +.else +BUILD_DEPENDS+= ${X11BASE}/libdata/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/mozilla +RUN_DEPENDS+= ${X11BASE}/libdata/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/mozilla +MAKE_ENV+= BROWSER=mozilla +.endif +USE_ICONV= yes +MAKE_ENV+= ALT_MOZILLA_HEADERS_PATH="${X11BASE}/include" +.endif + PKGINSTALL= ${WRKDIR}/pkg-install WRKSRC= ${WRKDIR}/control/make JDK_VERSION= 1.5.0 -JDK_PATCHSET_VERSION= 1 +JDK_PATCHSET_VERSION= 2 LATEST_LINK= jdk15 SUN_LINUX_JDK_VERSION= 1.4.2 .if !defined(WITH_LINUX_BOOTSTRAP) -NATIVE_BOOTSTRAP_JDKS= ${LOCALBASE}/jdk1.4.2 \ - ${LOCALBASE}/jdk1.5.0 +NATIVE_BOOTSTRAP_JDKS= ${LOCALBASE}/jdk1.5.0 \ + ${LOCALBASE}/jdk1.4.2 .endif LINUX_BOOTSTRAP_JDKS= ${LOCALBASE}/linux-sun-jdk1.4.2 @@ -83,7 +95,7 @@ RESTRICTED= "Redistribution of pre-compiled binaries is not permitted" NO_CDROM= "Redistribution of pre-compiled binaries is not permitted" -MAKE_ENV= ALT_BOOTDIR="${JDK14DIR}" \ +MAKE_ENV+= ALT_BOOTDIR="${JDK14DIR}" \ ALT_MOTIF_DIR="${X11BASE}" \ SYS_CFLAGS="${CFLAGS}" \ LANG="C" \ @@ -91,10 +103,7 @@ CLASSPATH="" \ LD_LIBRARY_PATH="" \ MAKEFLAGS="" \ - SKIP_COMPARE_IMAGES="YES" \ - DONT_BUILD_DOCS="YES" \ - DONT_BUILD_DEPLOY="YES" \ - DONT_BUILD_INSTALL="YES" + SKIP_COMPARE_IMAGES="YES" .if !defined(WITH_IPV6) MAKE_ENV+= DONT_ENABLE_IPV6="YES" .endif @@ -102,8 +111,7 @@ ALL_TARGET= all PLIST_FILES= jdk${JDK_VERSION}/jre/.systemPrefs/.system.lock \ - jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile \ - jdk${JDK_VERSION}/jre/lib/${ARCH}/client/classes.jsa + jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile PLIST_DIRS= jdk${JDK_VERSION}/jre/.systemPrefs .if (${ARCH} == amd64) @@ -169,7 +177,7 @@ pre-fetch: @${ECHO_MSG} @${ECHO_MSG} "IMPORTANT: To build JDK 1.5.0 port, you should have at least" - @${ECHO_MSG} "1.7Gb of free disk space in build area!" + @${ECHO_MSG} "2.5Gb of free disk space in build area!" @${ECHO_MSG} .if defined(WITH_LINUX_BOOTSTRAP) @${ECHO_MSG} "IMPORTANT: To build JDK 1.5.0 port, you should have linux emulation" @@ -184,18 +192,18 @@ @${ECHO_MSG} @${ECHO_MSG} " WITH_IPV6 - enable JDK IPv6 support" @${ECHO_MSG} + @${ECHO_MSG} " WITHOUT_WEB - don't build the browser plugin" + @${ECHO_MSG} " or Java Web Start" + @${ECHO_MSG} pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "WARNING: " - @${ECHO_MSG} "WARNING: This is ALPHA quality software, and suitable for testing ONLY!" + @${ECHO_MSG} "WARNING: This is BETA quality software!" + @${ECHO_MSG} "WARNING: Use in a production environment is at your own risk." @${ECHO_MSG} "WARNING: " @${ECHO_MSG} -post-extract: - ${TAR} -C ${WRKSRC:H:H}/j2se/src/share/classes/sun/io/ -xzvpf ${DISTDIR}/java_koi8u.tgz '*.java' - ${LN} -s ${FILESDIR}/KOI8_U.java ${WRKSRC:H:H}/j2se/src/share/classes/sun/nio/cs/ - pre-patch: @cd ${WRKDIR} && \ ${BZIP2_CMD} -dc ${DISTDIR}/${PATCHSETFILE} | ${TAR} -xf - && \ @@ -277,7 +285,7 @@ cd ${JDKIMAGEDIR_G} && ${FIND} . \ | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION} @${FIND} -s ${JDKIMAGEDIR_G} -not -type d | \ - ${SED} -ne 's#^${JDKIMAGEDIR}#jdk${JDK_VERSION}#p' >> ${TMPPLIST} + ${SED} -ne 's#^${JDKIMAGEDIR_G}#jdk${JDK_VERSION}#p' >> ${TMPPLIST} .endif @${FIND} -s -d ${PREFIX}/jdk${JDK_VERSION} -type d | \ ${SED} -ne 's#^${PREFIX}/#@dirrm #p' >> ${TMPPLIST} Index: distinfo =================================================================== RCS file: /var/fcvs/ports/java/jdk15/distinfo,v retrieving revision 1.15 diff -u -r1.15 distinfo --- distinfo 28 Jul 2005 13:36:16 -0000 1.15 +++ distinfo 8 Sep 2005 17:51:40 -0000 @@ -2,7 +2,5 @@ SIZE (jdk-1_5_0-src-scsl.zip) = 58338869 MD5 (jdk-1_5_0-bin-scsl.zip) = 3c3b2c079628141fa28f5f0f1cde5bf0 SIZE (jdk-1_5_0-bin-scsl.zip) = 2219433 -MD5 (bsd-jdk15-patches-1.tar.bz2) = 13f8027f86106f2cee68aa702afd63f5 -SIZE (bsd-jdk15-patches-1.tar.bz2) = 618044 -MD5 (java_koi8u.tgz) = a483f4ceaad6dff3614ff37135bd35cf -SIZE (java_koi8u.tgz) = 7296 +MD5 (bsd-jdk15-patches-2.tar.bz2) = fb002d290db6fababba3e81e121d8dbd +SIZE (bsd-jdk15-patches-2.tar.bz2) = 639356 Index: files/KOI8_U.java =================================================================== RCS file: files/KOI8_U.java diff -N files/KOI8_U.java --- files/KOI8_U.java 1 Aug 2005 16:44:07 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,330 +0,0 @@ -/* - * @(#)KOI8_U.java 1.0 05/07/19 - * - * Created by Mikhail Teterin using Volodymir Lysivka's work for - * earlier Java releases (patching charsets.jar or i18n.jar) and - * the KOI8_R.java bearing the below copyright: - * - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. - * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. - */ - -package sun.nio.cs; - -import java.nio.ByteBuffer; -import java.nio.CharBuffer; -import java.nio.charset.Charset; -import java.nio.charset.CharsetDecoder; -import java.nio.charset.CharsetEncoder; -import java.nio.charset.CharacterCodingException; -import java.nio.charset.MalformedInputException; -import java.nio.charset.UnmappableCharacterException; -import sun.nio.cs.StandardCharsets; -import sun.nio.cs.SingleByteDecoder; -import sun.nio.cs.SingleByteEncoder; - - -public class KOI8_U - extends Charset - implements HistoricallyNamedCharset -{ - - public KOI8_U() { - super("KOI8-U", StandardCharsets.aliases_KOI8_U); - } - - public String historicalName() { - return "KOI8_U"; - } - - public boolean contains(Charset cs) { - return ((cs.name().equals("US-ASCII")) - || (cs instanceof KOI8_U)); - } - - public CharsetDecoder newDecoder() { - return new Decoder(this); - } - - public CharsetEncoder newEncoder() { - return new Encoder(this); - } - - - /** - * These accessors are temporarily supplied while sun.io - * converters co-exist with the sun.nio.cs.{ext} charset coders - * These facilitate sharing of conversion tables between the - * two co-existing implementations. When sun.io converters - * are made extinct these will be unncessary and should be removed - */ - - public String getDecoderSingleByteMappings() { - return Decoder.byteToCharTable; - - } - - public short[] getEncoderIndex1() { - return Encoder.index1; - - } - public String getEncoderIndex2() { - return Encoder.index2; - - } - - private static class Decoder extends SingleByteDecoder { - - public Decoder(Charset cs) { - super(cs, byteToCharTable); - } - - private final static String byteToCharTable = - - "\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524" + // 0x80 - 0x87 - "\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590" + // 0x88 - 0x8F - "\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248" + // 0x90 - 0x97 - "\u2264\u2265\u00A0\u2321\u00B0\u00B2\u00B7\u00F7" + // 0x98 - 0x9F - "\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457" + // 0xA0 - 0xA7 - "\u2557\u2558\u2559\u255A\u255B\u0491\u045E\u255E" + // 0xA8 - 0xAF - "\u255F\u2560\u2561\u0401\u0404\u2563\u0406\u0407" + // 0xB0 - 0xB7 - "\u2566\u2567\u2568\u2569\u256A\u0490\u040E\u00A9" + // 0xB8 - 0xBF - "\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433" + // 0xC0 - 0xC7 - "\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E" + // 0xC8 - 0xCF - "\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432" + // 0xD0 - 0xD7 - "\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A" + // 0xD8 - 0xDF - "\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413" + // 0xE0 - 0xE7 - "\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E" + // 0xE8 - 0xEF - "\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412" + // 0xF0 - 0xF7 - "\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A" + // 0xF8 - 0xFF - "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007" + // 0x00 - 0x07 - "\b\t\n\u000B\f\r\u000E\u000F" + // 0x08 - 0x0F - "\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017" + // 0x10 - 0x17 - "\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" + // 0x18 - 0x1F - "\u0020\u0021\"\u0023\u0024\u0025\u0026\'" + // 0x20 - 0x27 - "\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F" + // 0x28 - 0x2F - "\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037" + // 0x30 - 0x37 - "\u0038\u0039\u003A\u003B\u003C\u003D\u003E\u003F" + // 0x38 - 0x3F - "\u0040\u0041\u0042\u0043\u0044\u0045\u0046\u0047" + // 0x40 - 0x47 - "\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F" + // 0x48 - 0x4F - "\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057" + // 0x50 - 0x57 - "\u0058\u0059\u005A\u005B\\\u005D\u005E\u005F" + // 0x58 - 0x5F - "\u0060\u0061\u0062\u0063\u0064\u0065\u0066\u0067" + // 0x60 - 0x67 - "\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F" + // 0x68 - 0x6F - "\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077" + // 0x70 - 0x77 - "\u0078\u0079\u007A\u007B\u007C\u007D\u007E\u007F"; // 0x78 - 0x7F - } - - private static class Encoder extends SingleByteEncoder { - - public Encoder(Charset cs) { - super(cs, index1, index2, 0xFF00, 0x00FF, 8); - } - - private final static String index2 = - - "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007" + - "\b\t\n\u000B\f\r\u000E\u000F" + - "\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017" + - "\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" + - "\u0020\u0021\"\u0023\u0024\u0025\u0026\'" + - "\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F" + - "\u0030\u0031\u0032\u0033\u0034\u0035\u0036\u0037" + - "\u0038\u0039\u003A\u003B\u003C\u003D\u003E\u003F" + - "\u0040\u0041\u0042\u0043\u0044\u0045\u0046\u0047" + - "\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F" + - "\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057" + - "\u0058\u0059\u005A\u005B\\\u005D\u005E\u005F" + - "\u0060\u0061\u0062\u0063\u0064\u0065\u0066\u0067" + - "\u0068\u0069\u006A\u006B\u006C\u006D\u006E\u006F" + - "\u0070\u0071\u0072\u0073\u0074\u0075\u0076\u0077" + - "\u0078\u0079\u007A\u007B\u007C\u007D\u007E\u007F" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u009A\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u00BF\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u009C\u0000\u009D\u0000\u0000\u0000\u0000\u009E" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u009F" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u00B3\u0000\u0000\u00B4\u0000\u00B6\u00B7\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u00BE\u0000\u00E1" + - "\u00E2\u00F7\u00E7\u00E4\u00E5\u00F6\u00FA\u00E9" + - "\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F2" + - "\u00F3\u00F4\u00F5\u00E6\u00E8\u00E3\u00FE\u00FB" + - "\u00FD\u00FF\u00F9\u00F8\u00FC\u00E0\u00F1\u00C1" + - "\u00C2\u00D7\u00C7\u00C4\u00C5\u00D6\u00DA\u00C9" + - "\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D2" + - "\u00D3\u00D4\u00D5\u00C6\u00C8\u00C3\u00DE\u00DB" + - "\u00DD\u00DF\u00D9\u00D8\u00DC\u00C0\u00D1\u0000" + - "\u00A3\u0000\u0000\u00A4\u0000\u00A6\u00A7\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u00AE\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00BD" + - "\u00AD\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0095" + - "\u0096\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0097\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0098\u0099\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0093\u009B" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0080\u0000" + - "\u0081\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0082\u0000\u0000\u0000\u0083\u0000" + - "\u0000\u0000\u0084\u0000\u0000\u0000\u0085\u0000" + - "\u0000\u0000\u0086\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0087\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0088\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0089\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u008A\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u00A0\u00A1" + - "\u00A2\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA" + - "\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2" + - "\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB" + - "\u00BC\u00BD\u00BE\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u008B\u0000" + - "\u0000\u0000\u008C\u0000\u0000\u0000\u008D\u0000" + - "\u0000\u0000\u008E\u0000\u0000\u0000\u008F\u0090" + - "\u0091\u0092\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0094\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" + - "\u0000\u0000\u0000\u0000\u0000\u0000"; - - private final static short index1[] = { - 0, 248, 248, 248, 503, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 734, 958, 248, 1214, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - }; - } -} Index: files/patch-hotspot-vm-os_bsd.inline.hpp =================================================================== RCS file: files/patch-hotspot-vm-os_bsd.inline.hpp diff -N files/patch-hotspot-vm-os_bsd.inline.hpp --- files/patch-hotspot-vm-os_bsd.inline.hpp 22 Jun 2005 15:52:02 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,18 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-hotspot-vm-os_bsd.inline.hpp,v 1.1 2005/06/22 15:52:02 glewis Exp $ - ---- ../../hotspot/src/os/bsd/vm/os_bsd.inline.hpp 20 Dec 2004 10:06:24 -0000 1.2 -+++ ../../hotspot/src/os/bsd/vm/os_bsd.inline.hpp 14 May 2005 14:58:18 -0000 1.3 -@@ -29,10 +29,9 @@ - - inline bool os::allocate_stack_guard_pages() { - assert(uses_stack_guard_pages(), "sanity check"); --// XXXBSD: ?? --// return thr_main(); --// return pthread_main_np(); -- return true; -+ // Since FreeBSD 4 uses malloc() for allocating the thread stack -+ // there is no need to do anything extra to allocate the guard pages -+ return false; - } - - Index: files/patch-j2se-bin-java_md.c =================================================================== RCS file: files/patch-j2se-bin-java_md.c diff -N files/patch-j2se-bin-java_md.c --- files/patch-j2se-bin-java_md.c 12 May 2005 04:12:33 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,62 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se-bin-java_md.c,v 1.1 2005/05/12 04:12:33 glewis Exp $ - ---- ../../j2se/src/solaris/bin/java_md.c 15 Feb 2005 02:06:26 -0000 1.6 -+++ ../../j2se/src/solaris/bin/java_md.c 20 Apr 2005 12:08:02 -0000 -@@ -906,8 +904,7 @@ - if (execname != NULL) /* Already determined */ - return (execname); - --/* XXXBSD: is it right for us ?*/ --#if defined(__sun) || defined(__FreeBSD__) -+#if defined(__sun) - { - Dl_info dlinfo; - if (dladdr((void*)&SetExecname, &dlinfo)) { -@@ -928,12 +925,47 @@ - exec_path = strdup(buf); - } - } -+#elif defined(__FreeBSD__) -+ /* Try /proc/curproc/file if exec_path hasn't been found */ -+ -+ if (exec_path == NULL) { -+ const char* self = "/proc/curproc/file"; -+ char buf[PATH_MAX+1]; -+ int len = readlink(self, buf, PATH_MAX); -+ if (len >= 0) { -+ buf[len] = '\0'; /* readlink doesn't nul terminate */ -+ exec_path = strdup(buf); -+ } -+ } -+ -+ /* -+ * Try the dladdr(3) method FreeBSD if exec_path hasn't been found. -+ * Requires a recent version of FreeBSD. -+ */ -+ -+ /* -+ if (exec_path == NULL) { -+ Dl_info dlinfo; -+ if (dladdr((void*)&SetExecname, &dlinfo)) { -+ char *resolved = (char*)MemAlloc(PATH_MAX+1); -+ if (resolved != NULL) { -+ exec_path = realpath(dlinfo.dli_fname, resolved); -+ if (exec_path == NULL) { -+ free(resolved); -+ } -+ } -+ } -+ } -+ */ -+ - #else /* !__sun && !__linux */ - { - /* Not implemented */ - } - #endif - -+ /* Fall back to examining argv[0] and our path */ -+ - if (exec_path == NULL) { - exec_path = FindExecName(argv[0]); - } Index: files/patch-j2se-jar-Main.java =================================================================== RCS file: files/patch-j2se-jar-Main.java diff -N files/patch-j2se-jar-Main.java --- files/patch-j2se-jar-Main.java 12 May 2005 04:14:52 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,58 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se-jar-Main.java,v 1.1 2005/05/12 04:14:52 glewis Exp $ - ---- ../../j2se/src/share/classes/sun/tools/jar/Main.java 8 Nov 2004 22:27:32 -0000 1.1.1.1 -+++ ../../j2se/src/share/classes/sun/tools/jar/Main.java 20 Apr 2005 16:50:17 -0000 -@@ -31,6 +31,7 @@ - Hashtable filesTable = new Hashtable(); - Vector paths = new Vector(); - Vector v; -+ String cwd; - CRC32 crc32 = new CRC32(); - /* cflag: create - * uflag: update -@@ -670,6 +671,19 @@ - * Extracts specified entries from JAR file. - */ - void extract(InputStream in, String files[]) throws IOException { -+ // Current working directory -+ -+ cwd = System.getProperty("user.dir"); -+ if (cwd == null) { -+ fatalError(getMsg("error.no.cwd")); -+ } -+ cwd = (new File(cwd)).getCanonicalPath(); -+ if (!cwd.endsWith(File.separator)) { -+ cwd += File.separator; -+ } -+ -+ // Extract the files -+ - ZipInputStream zis = new ZipInputStream(in); - ZipEntry e; - while ((e = zis.getNextEntry()) != null) { -@@ -694,6 +708,10 @@ - void extractFile(ZipInputStream zis, ZipEntry e) throws IOException { - String name = e.getName(); - File f = new File(e.getName().replace('/', File.separatorChar)); -+ if (!f.getCanonicalPath().startsWith(cwd)) { -+ output(formatMsg("out.ignore.entry", name)); -+ return; -+ } - if (e.isDirectory()) { - if (!f.exists() && !f.mkdirs() || !f.isDirectory()) { - throw new IOException(formatMsg("error.create.dir", f.getPath())); -@@ -704,6 +722,10 @@ - } else { - if (f.getParent() != null) { - File d = new File(f.getParent()); -+ if (!d.getCanonicalPath().startsWith(cwd)) { -+ output(formatMsg("out.ignore.entry", name)); -+ return; -+ } - if (!d.exists() && !d.mkdirs() || !d.isDirectory()) { - throw new IOException(formatMsg("error.create.dir", d.getPath())); - } -Index: j2se/src/share/classes/sun/tools/jar/resources/jar.properties -=================================================================== -RCS file: /var/jcvs/javasrc_1_5_scsl/j2se/src/share/classes/sun/tools/jar/resources/jar.properties,v -retrieving revision 1.1.1.1 Index: files/patch-j2se-resources-jar.properties =================================================================== RCS file: files/patch-j2se-resources-jar.properties diff -N files/patch-j2se-resources-jar.properties --- files/patch-j2se-resources-jar.properties 12 May 2005 04:14:52 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se-resources-jar.properties,v 1.1 2005/05/12 04:14:52 glewis Exp $ - ---- ../../j2se/src/share/classes/sun/tools/jar/resources/jar.properties 8 Nov 2004 22:27:32 -0000 1.1.1.1 -+++ ../../j2se/src/share/classes/sun/tools/jar/resources/jar.properties 20 Apr 2005 15:50:41 -0000 -@@ -30,6 +30,8 @@ - {0} : could not create directory - error.incorrect.length=\ - incorrect length while processing: {0} -+error.no.cwd=\ -+ {0} : could not determine current working directory - out.added.manifest=\ - added manifest - out.update.manifest=\ Index: files/patch-j2se-util-TimeZone_md.c =================================================================== RCS file: files/patch-j2se-util-TimeZone_md.c diff -N files/patch-j2se-util-TimeZone_md.c --- files/patch-j2se-util-TimeZone_md.c 12 May 2005 04:13:55 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,100 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se-util-TimeZone_md.c,v 1.1 2005/05/12 04:13:55 glewis Exp $ - ---- ../../j2se/src/solaris/native/java/util/TimeZone_md.c 3 Jan 2005 18:32:01 -0000 1.3 -+++ ../../j2se/src/solaris/native/java/util/TimeZone_md.c 19 Apr 2005 19:32:06 -0000 -@@ -38,7 +38,7 @@ - #endif - - static const char *zoneinfo_dir = "/usr/share/zoneinfo"; --static const char *defailt_zoneinfo_file = "/etc/localtime"; -+static const char *default_zoneinfo_file = "/etc/localtime"; - - /* - * Returns a point to the zone ID portion of the given zoneinfo file -@@ -181,6 +181,7 @@ - int fd; - char *buf; - size_t size; -+ char zoneinfo_file[PATH_MAX+1]; - - #ifdef __linux__ - /* -@@ -242,11 +243,13 @@ - /* - * Next, try /etc/localtime to find the zone ID. - */ -- if (lstat(defailt_zoneinfo_file, &statbuf) == -1) { -+ if (lstat(default_zoneinfo_file, &statbuf) == -1) { - return NULL; - } - --#ifdef __linux__ -+ strlcpy(zoneinfo_file, default_zoneinfo_file, PATH_MAX+1); -+ -+#if defined(__linux__) || defined(_ALLBSD_SOURCE) - /* - * If it's a symlink, get the link name and its zone ID part. (The - * older versions of timeconfig created a symlink as described in -@@ -255,22 +258,25 @@ - * from /etc/localtime.) - */ - if (S_ISLNK(statbuf.st_mode)) { -- char linkbuf[PATH_MAX+1]; - int len; - -- if ((len = readlink(defailt_zoneinfo_file, linkbuf, sizeof(linkbuf)-1)) == -1) { -+ if ((len = readlink(default_zoneinfo_file, zoneinfo_file, sizeof(zoneinfo_file)-1)) == -1) { - jio_fprintf(stderr, (const char *) "can't get a symlink of %s\n", -- defailt_zoneinfo_file); -+ default_zoneinfo_file); - return NULL; - } -- linkbuf[len] = '\0'; -- tz = getZoneName(linkbuf); -+ zoneinfo_file[len] = '\0'; -+ tz = getZoneName(zoneinfo_file); - if (tz != NULL) { - tz = strdup(tz); -+ return tz; -+ } else { -+ if (lstat(zoneinfo_file, &statbuf) == -1) { -+ return NULL; -+ } - } -- return tz; - } --#endif /* __linux__ */ -+#endif /* __linux__ || _ALLBSD_SOURCE */ - - /* - * If it's a regular file, we need to find out the same zoneinfo file -@@ -281,7 +287,7 @@ - if (buf == NULL) { - return NULL; - } -- if ((fd = open(defailt_zoneinfo_file, O_RDONLY)) == -1) { -+ if ((fd = open(zoneinfo_file, O_RDONLY)) == -1) { - free((void *) buf); - return NULL; - } -@@ -558,17 +564,16 @@ - return strdup("GMT"); - } - -- /* Note that the time offset direction is opposite. */ - #if defined(_ALLBSD_SOURCE) - clock = time(NULL); - tzset(); - local_tm = localtime(&clock); -- if (local_tm->tm_gmtoff > 0) { -+ if (local_tm->tm_gmtoff >= 0) { - offset = (time_t) local_tm->tm_gmtoff; -- sign = "-"; -+ sign = "+"; - } else { - offset = (time_t) -local_tm->tm_gmtoff; -- sign = "+"; -+ sign = "-"; - } - #else - if (timezone > 0) { Index: files/patch-j2se::common::Defs-bsd.gmk =================================================================== RCS file: /var/fcvs/ports/java/jdk15/files/patch-j2se::common::Defs-bsd.gmk,v retrieving revision 1.1 diff -u -r1.1 patch-j2se::common::Defs-bsd.gmk --- files/patch-j2se::common::Defs-bsd.gmk 20 Jan 2005 08:41:13 -0000 1.1 +++ files/patch-j2se::common::Defs-bsd.gmk 9 Sep 2005 04:26:47 -0000 @@ -2,7 +2,7 @@ --- ../../j2se/make/common/Defs-bsd.gmk.orig Thu Jan 13 02:03:20 2005 +++ ../../j2se/make/common/Defs-bsd.gmk Thu Jan 13 02:03:38 2005 -@@ -172,7 +172,7 @@ +@@ -180,7 +180,7 @@ ifeq ($(TRUE_PLATFORM), NetBSD) DEVTOOLS_PATH = /usr/pkg/bin/ else Index: files/patch-j2se::common::gdefs_md.h =================================================================== RCS file: files/patch-j2se::common::gdefs_md.h diff -N files/patch-j2se::common::gdefs_md.h --- files/patch-j2se::common::gdefs_md.h 7 Apr 2005 20:47:03 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se::common::gdefs_md.h,v 1.1 2005/04/07 20:47:03 glewis Exp $ - ---- ../../j2se/src/solaris/native/common/gdefs_md.h.orig Sun Mar 20 22:14:34 2005 -+++ ../../j2se/src/solaris/native/common/gdefs_md.h Sun Mar 20 22:15:13 2005 -@@ -19,5 +19,9 @@ - #include - #endif /* __linux__ */ - #ifdef _ALLBSD_SOURCE -+#if defined(__FreeBSD__) && __FreeBSD__ < 5 -+#include -+#else - #include -+#endif - #endif /* _ALLBSD_SOURCE */ Index: files/patch-j2se::java2d::j2d_md.h =================================================================== RCS file: files/patch-j2se::java2d::j2d_md.h diff -N files/patch-j2se::java2d::j2d_md.h --- files/patch-j2se::java2d::j2d_md.h 7 Apr 2005 20:47:03 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se::java2d::j2d_md.h,v 1.1 2005/04/07 20:47:03 glewis Exp $ - ---- ../../j2se/src/solaris/native/sun/java2d/j2d_md.h.orig Sun Mar 20 22:20:43 2005 -+++ ../../j2se/src/solaris/native/sun/java2d/j2d_md.h Sun Mar 20 22:24:40 2005 -@@ -14,7 +14,11 @@ - * NetBSD's doesn't either, so let's do it for everyone. - */ - #if defined(__linux__) || defined(_ALLBSD_SOURCE) -+#if defined(__FreeBSD__) && __FreeBSD__ < 5 -+#include -+#else - #include -+#endif - #endif /* __linux__ || _ALLBSD_SOURCE */ - - typedef unsigned char jubyte; Index: files/patch-j2se::management::UnixOperatingSystem_md.c =================================================================== RCS file: files/patch-j2se::management::UnixOperatingSystem_md.c diff -N files/patch-j2se::management::UnixOperatingSystem_md.c --- files/patch-j2se::management::UnixOperatingSystem_md.c 21 Mar 2005 05:49:33 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c,v 1.1 2005/03/21 05:49:33 glewis Exp $ - ---- ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c.orig Sat Feb 19 12:50:03 2005 -+++ ../../j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c Fri Feb 18 20:26:04 2005 -@@ -283,7 +283,7 @@ - - mib[0] = CTL_HW; - mib[1] = HW_PHYSMEM; -- rlen = sizof(result); -+ rlen = sizeof(result); - if (sysctl(mib, 2, &result, &rlen, NULL, 0) == -1) - result = 256 * MB; - Index: files/patch-j2se::medialib::mlib_types.h =================================================================== RCS file: files/patch-j2se::medialib::mlib_types.h diff -N files/patch-j2se::medialib::mlib_types.h --- files/patch-j2se::medialib::mlib_types.h 7 Apr 2005 20:47:03 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$FreeBSD: ports/java/jdk15/files/patch-j2se::medialib::mlib_types.h,v 1.1 2005/04/07 20:47:03 glewis Exp $ - ---- ../../j2se/src/share/native/sun/awt/medialib/mlib_types.h.orig Sun Mar 20 22:08:20 2005 -+++ ../../j2se/src/share/native/sun/awt/medialib/mlib_types.h Sun Mar 20 22:08:33 2005 -@@ -47,7 +47,11 @@ - - #if defined(_ALLBSD_SOURCE) - #include /* for ptrdiff_t */ -+#if defined(__FreeBSD__) && __FreeBSD__ < 5 -+#include -+#else - #include /* for uintptr_t */ -+#endif - #elif defined(__linux__) - #include /* for uintptr_t */ - #include /* for ptrdiff_t */ Index: files/patch-koi8u =================================================================== RCS file: files/patch-koi8u diff -N files/patch-koi8u --- files/patch-koi8u 3 Aug 2005 19:43:45 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,62 +0,0 @@ ---- ../../j2se/src/share/classes/sun/nio/cs/standard-charsets Tue Oct 19 14:57:57 2004 -+++ ../../j2se/src/share/classes/sun/nio/cs/standard-charsets Wed Jul 20 00:02:11 2005 -@@ -172,6 +172,11 @@ - charset KOI8-R KOI8_R - alias koi8_r # JDK historical -- alias koi8 - alias cskoi8r -+ -+charset KOI8-U KOI8_U # Superset of KOI8-R covering other -+ alias koi8_u # Cyrillics-using alphabets -+ alias koi8 -+ alias cskoi8u -+ alias koi8u - - charset windows-1250 MS1250 ---- ../../j2se/src/share/classes/sun/io/CharacterEncoding.java Tue Oct 19 14:57:28 2004 -+++ ../../j2se/src/share/classes/sun/io/CharacterEncoding.java Wed Jul 20 01:10:16 2005 -@@ -75,4 +75,5 @@ - aliasTable.put("gbk", "GBK"); - aliasTable.put("koi8-r", "KOI8_R"); -+ aliasTable.put("koi8-u", "KOI8_U"); - aliasTable.put("tis620.2533", "TIS620"); - -@@ -763,6 +764,11 @@ - // Russian KOI8-R - aliasTable.put("koi8-r", "KOI8_R"); -- aliasTable.put("koi8", "KOI8_R"); - aliasTable.put("cskoi8r", "KOI8_R"); -+ -+ // Ukrainian and Bielorussian KOI8-U (includes KOI8-R) -+ aliasTable.put("koi8-u", "KOI8_U"); -+ aliasTable.put("koi8", "KOI8_U"); -+ aliasTable.put("koi8u", "KOI8_U"); -+ aliasTable.put("cskoi8u", "KOI8_U"); - - // Simplified Chinese ---- ../../j2se/make/java/sun_io/FILES_java.gmk Tue Oct 19 14:44:54 2004 -+++ ../../j2se/make/java/sun_io/FILES_java.gmk Wed Jul 20 01:20:35 2005 -@@ -65,4 +65,6 @@ - $(TARGDIR)sun/io/ByteToCharKOI8_R.java \ - $(TARGDIR)sun/io/CharToByteKOI8_R.java \ -+ $(TARGDIR)sun/io/ByteToCharKOI8_U.java \ -+ $(TARGDIR)sun/io/CharToByteKOI8_U.java \ - $(TARGDIR)sun/io/ByteToCharSingleByte.java \ - $(TARGDIR)sun/io/CharToByteSingleByte.java \ ---- ../../j2se/src/solaris/classes/sun/awt/motif/MFontConfiguration.java Tue Oct 19 15:01:53 2004 -+++ ../../j2se/src/solaris/classes/sun/awt/motif/MFontConfiguration.java Tue Aug 2 12:20:17 2005 -@@ -101,4 +101,5 @@ - reorderMap.put("windows-1251", "cyrillic-cp1251"); - reorderMap.put("KOI8-R", "cyrillic-koi8-r"); -+ reorderMap.put("KOI8-U", "cyrillic-koi8-u"); - reorderMap.put("ISO-8859-6", "arabic"); - reorderMap.put("ISO-8859-7", "greek"); ---- ../../j2se/src/solaris/classes/sun/font/XMap.java Tue Oct 19 15:01:55 2004 -+++ ../../j2se/src/solaris/classes/sun/font/XMap.java Tue Aug 2 12:21:16 2005 -@@ -84,4 +84,6 @@ - } else if (encoding.equals("koi8-r")) { - jclass = "io.CharToByteKOI8_R"; -+ } else if (encoding.equals("koi8-u")) { -+ jclass = "io.CharToByteKOI8_U"; - } else if (encoding.equals("ansi-1251")) { - jclass = "io.CharToByteCp1251"; Index: files/patch-vm::os_bsd.cpp =================================================================== RCS file: /var/fcvs/ports/java/jdk15/files/patch-vm::os_bsd.cpp,v retrieving revision 1.2 diff -u -r1.2 patch-vm::os_bsd.cpp --- files/patch-vm::os_bsd.cpp 21 Mar 2005 05:48:04 -0000 1.2 +++ files/patch-vm::os_bsd.cpp 7 Sep 2005 16:50:11 -0000 @@ -11,12 +11,3 @@ #define EXTENSIONS_DIR "/lib/ext" #define ENDORSED_DIR "/lib/endorsed" -@@ -1898,7 +1898,7 @@ - } while ((res == OS_ERR) && (errno == EINTR)); - } else { - assert(Thread::current()->is_Java_thread(), "must be java thread"); -- INTERRUPTIBLE_NORESTART(nanosleep(&t, &t), res, os::Bsd::clear_interrupted); -+ INTERRUPTIBLE_NORESTART_VM(nanosleep(&t, &t), res, os::Bsd::clear_interrupted); - } - // INTERRUPTIBLE_NORESTART_VM returns res == OS_INTRPT for thread.Interrupt - Index: files/pkg-install.in =================================================================== RCS file: /var/fcvs/ports/java/jdk15/files/pkg-install.in,v retrieving revision 1.3 diff -u -r1.3 pkg-install.in --- files/pkg-install.in 6 Sep 2005 02:41:30 -0000 1.3 +++ files/pkg-install.in 9 Sep 2005 16:53:38 -0000 @@ -17,9 +17,4 @@ touch "${JRE_HOME}/.systemPrefs/.systemRootModFile" chmod 644 "${JRE_HOME}/.systemPrefs/.systemRootModFile" fi - - # Set up class data sharing - if [ -x "${JRE_HOME}/bin/java" ]; then - "${JRE_HOME}/bin/java" -client -Xshare:dump - fi fi --sdtB3X0nJg68CQEu-- From owner-freebsd-java@FreeBSD.ORG Sat Sep 10 05:41:05 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 0A20A16A41F for ; Sat, 10 Sep 2005 05:41:05 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.FreeBSD.org (Postfix) with SMTP id 1BDE343D46 for ; Sat, 10 Sep 2005 05:41:03 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: (qmail 10985 invoked by uid 27959); 10 Sep 2005 05:40:54 -0000 Date: Sat, 10 Sep 2005 07:40:54 +0200 (CEST) From: "Arne H. Juul" To: Robert Swindells In-Reply-To: <20050904114141.30035E4E@fdy2.demon.co.uk> Message-ID: References: <20050904114141.30035E4E@fdy2.demon.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sat, 10 Sep 2005 05:41:05 -0000 On Sun, 4 Sep 2005, Robert Swindells wrote: > I would remove NetBSD from the list until someone provides some more > NetBSD specific build instructions. works for me, with mozilla-1.7.5 built and setting: unset CLASSPATH unset JAVA_HOME unset LANG unset LD_LIBRARY_PATH export ALT_MOZILLA_HEADERS_PATH=/usr/pkg/include export ALT_BOOTDIR=/usr/pkg/java/jdk-1.4.2 export ALT_MOTIF_DIR=/usr/pkg export SKIP_COMPARE_IMAGES=YES export DONT_ENABLE_IPV6=YES From owner-freebsd-java@FreeBSD.ORG Sat Sep 10 05:50:15 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 35BCE16A41F for ; Sat, 10 Sep 2005 05:50:15 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9644943D45 for ; Sat, 10 Sep 2005 05:50:13 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j8A5o8mY040545; Fri, 9 Sep 2005 23:50:09 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j8A5o7Te040544; Fri, 9 Sep 2005 23:50:07 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 9 Sep 2005 23:50:07 -0600 From: Greg Lewis To: "Arne H. Juul" Message-ID: <20050910055007.GB40492@misty.eyesbeyond.com> References: <20050904114141.30035E4E@fdy2.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sat, 10 Sep 2005 05:50:15 -0000 On Sat, Sep 10, 2005 at 07:40:54AM +0200, Arne H. Juul wrote: > On Sun, 4 Sep 2005, Robert Swindells wrote: > >I would remove NetBSD from the list until someone provides some more > >NetBSD specific build instructions. > > works for me, with mozilla-1.7.5 built and setting: > > unset CLASSPATH > unset JAVA_HOME > unset LANG > unset LD_LIBRARY_PATH > > export ALT_MOZILLA_HEADERS_PATH=/usr/pkg/include > export ALT_BOOTDIR=/usr/pkg/java/jdk-1.4.2 > export ALT_MOTIF_DIR=/usr/pkg > > export SKIP_COMPARE_IMAGES=YES > export DONT_ENABLE_IPV6=YES Thanks for testing Arne! Did you also test the browser plugin? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Sep 10 06:01:05 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 D029316A41F for ; Sat, 10 Sep 2005 06:01:05 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.FreeBSD.org (Postfix) with SMTP id 04D8843D48 for ; Sat, 10 Sep 2005 06:01:04 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: (qmail 15058 invoked by uid 27959); 10 Sep 2005 06:01:03 -0000 Date: Sat, 10 Sep 2005 08:01:03 +0200 (CEST) From: "Arne H. Juul" To: Greg Lewis In-Reply-To: <20050910055007.GB40492@misty.eyesbeyond.com> Message-ID: References: <20050904114141.30035E4E@fdy2.demon.co.uk> <20050910055007.GB40492@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@FreeBSD.org Subject: Re: JDK 1.5.0 patchset 2 "Tasmanian" 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: Sat, 10 Sep 2005 06:01:05 -0000 On Fri, 9 Sep 2005, Greg Lewis wrote: > On Sat, Sep 10, 2005 at 07:40:54AM +0200, Arne H. Juul wrote: >> On Sun, 4 Sep 2005, Robert Swindells wrote: >>> I would remove NetBSD from the list until someone provides some more >>> NetBSD specific build instructions. >> >> works for me, with mozilla-1.7.5 built and setting: >> unset CLASSPATH >> unset JAVA_HOME >> unset LANG >> unset LD_LIBRARY_PATH >> export ALT_MOZILLA_HEADERS_PATH=/usr/pkg/include >> export ALT_BOOTDIR=/usr/pkg/java/jdk-1.4.2 >> export ALT_MOTIF_DIR=/usr/pkg >> export SKIP_COMPARE_IMAGES=YES >> export DONT_ENABLE_IPV6=YES > > Thanks for testing Arne! Did you also test the browser plugin? yes; I copied control/build/bsd-i586/j2sdk-image/ to /usr/pkg/java/jdk-1.5.0 and then made a symlink: lrwxr-xr-x 1 root wheel 64 Sep 10 07:39 /usr/pkg/lib/mozilla/plugins/libjavaplugin_oji.so -> /usr/pkg/java/jdk-1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so and now I'm looking at some simple java demos in my browser :-) - Arne H. J. From owner-freebsd-java@FreeBSD.ORG Sat Sep 10 08:31:45 2005 Return-Path: X-Original-To: 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 BD0E416A41F for ; Sat, 10 Sep 2005 08:31:45 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E9F43D5A for ; Sat, 10 Sep 2005 08:31:45 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id A1DAB22919 for ; Sat, 10 Sep 2005 10:31:44 +0200 (CEST) Received: from koala.ipv6.droso.net (localhost [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id 21E6322912 for ; Sat, 10 Sep 2005 10:31:43 +0200 (CEST) From: linimon@FreeBSD.org To: java@freebsd.org Message-Id: <20050910083143.21E6322912@mail.droso.net> Date: Sat, 10 Sep 2005 10:31:43 +0200 (CEST) X-Virus-Scanned: by amavisd 0.1 Cc: Subject: FreeBSD ports that you maintain which are currently marked forbidden 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: Sat, 10 Sep 2005 08:31:45 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we are attempting to notify maintainers of ports that are marked as "forbidden" in their Makefiles. Often, these ports are so marked due to security concerns, such as known exploits. An overview of the port, including errors seen on the build farm, is included below. portname: java/linux-blackdown-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=linux-blackdown-jdk13 portname: java/linux-ibm-jdk13 forbidden because: Vulnerabilities in the browser plugin build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=java&portname=linux-ibm-jdk13 If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-java@FreeBSD.ORG Sat Sep 10 20:42:39 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 D230816A41F for ; Sat, 10 Sep 2005 20:42:39 +0000 (GMT) (envelope-from markhobden@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49BE943D45 for ; Sat, 10 Sep 2005 20:42:39 +0000 (GMT) (envelope-from markhobden@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so65339nzd for ; Sat, 10 Sep 2005 13:42:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O5Ze5Z5PNfLCxaRZCIila9Xd024py+6LBF8CaGvFGbw0aMp06o2dKqDdqBPQ/xww1QEFBeMAwg36hPT5yScwraVwUrbDRWC46qEuyXHjujX0EkvLBFrqakvlN8EXV/lDsg0XYVNSQi78oQVhNONGKCBccPhbRMwYEv+HVgvavAI= Received: by 10.37.2.6 with SMTP id e6mr49835nzi; Sat, 10 Sep 2005 13:42:38 -0700 (PDT) Received: by 10.37.2.78 with HTTP; Sat, 10 Sep 2005 13:42:38 -0700 (PDT) Message-ID: Date: Sat, 10 Sep 2005 21:42:38 +0100 From: Mark Hobden To: freebsd-java@freebsd.org In-Reply-To: <20050909165832.GA16137@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050909165832.GA16137@misty.eyesbeyond.com> Subject: Re: Patches to update jdk15 to patchset 2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: markhobden@gmail.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 20:42:40 -0000 Hi, Thanks for so much for all your work, without Java running I would not be able to use FreeBSD as my main desktop OS at home and work :-) The latest port compiled fine on my FreeBSD 6 beta 3 using the native 1.4.2 jdk to bootstrap it. However when I tried setting WITH_MOZILLA=3Dfirefox it failed to complie with the following messages. Sorry if I have applied the patch wrong or have something set wrong on my system. Please let me know if I can send you any files or if there is anything I can test at all. Rebuilding: /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/plugin_g.= jar gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/= java' gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/= java' gmake -C adapter all gmake[3]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter' gmake -C ns7-adapter all gmake[4]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/plugin/i386/ns7/lib= javaplugin_oji.so VARIANT=3DOPT gmake[5]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses=20 -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd -I/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/adapter/ns7 -I../../../../src/plugin/share/adapter/common -I../../../../src/plugin/share/adapter/include -I../../../../src/plugin/solaris/nscore -I../../../../src/plugin/share/jpiapi -I/usr/X11R6/include/firefox -I/usr/X11R6/include/firefox/caps -I/usr/X11R6/include/firefox/liveconnect -I/usr/X11R6/include/firefox/nspr -I/usr/X11R6/include/firefox/oji -I/usr/X11R6/include/firefox/plugin -I/usr/X11R6/include/firefox/xpcom -I/usr/X11R6/include -I/usr/local/include -I../../../../../j2se/make/../src/solaris/javavm/export -I../../../../../j2se/make/../src/share/javavm/export -I../../../../../j2se/make/../src/share/javavm/include -I../../../../../j2se/make/../src/solaris/javavm/include=20 -D_GNU_SOURCE -DXP_UNIX -D_ALLBSD_SOURCE -DPLUGIN_NODOTVERSION=3D\"150\" -DPLUGIN_VERSION=3D\"1.5.0\" -DVERSION=3D\"1.5.0-p2-mark_10_sep_2005_17_20\" -DRELEASE=3D\"1.5.0-p2\" -DARCH=3D\"i586\" -DLIBARCH=3D\"i386\" -c -o /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter= /ns7/obj/StdAfx.o ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp In file included from /usr/X11R6/include/firefox/nsDebug.h:42, from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: /usr/X11R6/include/firefox/nscore.h:51:21: prtypes.h: No such file or direc= tory In file included from /usr/X11R6/include/firefox/nsDebug.h:42, from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: /usr/X11R6/include/firefox/nscore.h:225: error: `PRUint32' does not name a = type In file included from /usr/X11R6/include/firefox/nscore.h:232, from /usr/X11R6/include/firefox/nsDebug.h:42, from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: /usr/X11R6/include/firefox/nsError.h:299: error: `nsresult' does not name a= type In file included from /usr/X11R6/include/firefox/nsDebug.h:42, from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: /usr/X11R6/include/firefox/nscore.h:288: error: `PRUint16' does not name a = type In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: /usr/X11R6/include/firefox/nsDebug.h:69: error: `PRIntn' has not been decla= red /usr/X11R6/include/firefox/nsDebug.h:69: error: ISO C++ forbids declaration of `aLine' with no type /usr/X11R6/include/firefox/nsDebug.h:74: error: `PRIntn' has not been decla= red /usr/X11R6/include/firefox/nsDebug.h:74: error: ISO C++ forbids declaration of `aLine' with no type /usr/X11R6/include/firefox/nsDebug.h:79: error: `PRIntn' has not been decla= red /usr/X11R6/include/firefox/nsDebug.h:79: error: ISO C++ forbids declaration of `aLine' with no type /usr/X11R6/include/firefox/nsDebug.h:85: error: `PRIntn' has not been decla= red /usr/X11R6/include/firefox/nsDebug.h:85: error: ISO C++ forbids declaration of `aLine' with no type In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:61:1: warning: "NS_ASSERTION" redefined In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: /usr/X11R6/include/firefox/nsDebug.h:208:1: warning: this is the location of the previous definition In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:62:1: warning: "NS_PRECONDITION" redefined In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:1= 8: /usr/X11R6/include/firefox/nsDebug.h:207:1: warning: this is the location of the previous definition gmake[5]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy= /plugin/adapter/ns7/obj/StdAfx.o] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[3]: *** [ns7-adapter] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter' gmake[2]: *** [adapter] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin' gmake[1]: *** [plugin-all] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make' gmake: *** [deploy-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. ----------------- ----------------- ----------------- And if I try and use the linux 1.4.2 jdk I get these messages (without WITH_MOZILLA set). for t in java_vm ; do \ rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/j2sdk-debug-ima= ge/bin/${t}_g \ /usr/ports/java/jdk15/work/control/build/bsd-i586/j2sdk-debug-ima= ge/bin/*/native_threads/${t}_g; \ done >>>Finished making images @ Sat Sep 10 20:02:45 BST 2005 ... gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' if [ -r ./../../deploy/make/Makefile ]; then \ ( cd ./../../deploy/make; gmake sanity javaws-all plugin-all images EXTERNALSANITYCONTROL=3Dtrue CONTROL_TOPDIR=3D/usr/ports/java/jdk15/work/control C ONTROL_TOPDIR_NAME=3Dcontrol ALT_OUTPUTDIR=3D/usr/ports/java/jdk15/work/control/build/bsd-i586=20 ARCH_DATA_MODEL=3D32 MILESTONE=3Dp2 BUILD_NUMBER=3Dmark_10_sep_ 2005_17_57 ); \ fi gmake[1]: Entering directory `/usr/ports/java/jdk15/work/deploy/make' cd ./javaws ; gmake installer-int sample apidoc gmake[2]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/javaws= ' gmake RELEASE_BUILD=3D1 I18N=3D1 all gmake[3]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/javaws= ' /bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586 /bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/= common/lib /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/co mmon_g/lib /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/dep= loyClasses /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/de ployClasses_g /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/= deployClassHeaders /bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/= deployObj /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/dep loyObj_g /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/commo= n/lib /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common_ g/lib /usr/bin/gcc -I/usr/local/linux-sun-jdk1.4.2/include -I/usr/local/linux-sun-jdk1.4.2/include/freebsd -c /usr/ports/java/jdk15/work/control/make/../.. /deploy/src/common/unix/native/config.c -o /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployObj/conf= ig.o In file included from /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:10: /usr/local/linux-sun-jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or directory In file included from /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:10: /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: error: syntax error before "jsize" /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:104: error: syntax error before "jbyte" /usr/local/linux-sun-jdk1.4.2/include/jni.h:107: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:193: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:195: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:198: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:201: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:203: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:206: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:209: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:211: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:214: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:221: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:223: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:225: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:227: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:232: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:235: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:237: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:239: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:241: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:243: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:248: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:250: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:252: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:254: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:257: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:259: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:262: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:265: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:267: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:269: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:272: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:274: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:276: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:286: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:288: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:290: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:293: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:295: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:297: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:314: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:316: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:318: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:321: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:323: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:325: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:328: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:330: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:332: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:335: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:337: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:340: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:344: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:346: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:349: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:362: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:364: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:367: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:371: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:373: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:376: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:398: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:400: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:403: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:407: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:409: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:412: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:416: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:418: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:421: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:425: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:428: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:430: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:434: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:436: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:442: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:444: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:447: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:449: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:451: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:453: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:455: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:457: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:459: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:461: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:463: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:466: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:469: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:471: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:473: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:476: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:478: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:480: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:490: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:492: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:494: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:497: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:499: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:501: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:518: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:520: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:522: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:525: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:527: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:529: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:532: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:534: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:536: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:539: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:541: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:543: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:547: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:549: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:555: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:557: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:560: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:562: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:564: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:566: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:568: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:570: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:572: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:574: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:576: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:579: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:583: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:585: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:588: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:592: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:594: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:601: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:603: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:605: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:608: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:610: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:612: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:614: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:616: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:618: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:620: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:622: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:625: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:629: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:631: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:637: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:639: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:642: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:644: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:646: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:648: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:650: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:652: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:654: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:656: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:659: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:661: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:663: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:665: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:667: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:669: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:671: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:673: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:676: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:678: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:680: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:682: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:684: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:686: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:688: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:690: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:707: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:709: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:712: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:714: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:717: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:719: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:722: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:724: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:727: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:730: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:732: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:1834: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1842: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1851: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1854: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1862: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1863: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:1864: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:1871: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1888: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1927: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1928: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1930: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1931: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1933: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: error: syntax error before "jsize" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1937: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1938: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1940: error: syntax error before "void" In file included from /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:11: /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.h:24: error: syntax error before "jstring" /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:13: error: syntax error before "jstring" /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:17: error: `nameStr' undeclared here (not in a function) /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:17: error: initializer element is not constant /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:18: error: syntax error before '->' token /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:18: warning: parameter names (without types) in function declaration /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:18: warning: data definition has no type or storage class /usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native= /config.c:20: error: syntax error before "if" gmake[3]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy= /deployObj/config.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/javaws' gmake[2]: *** [installer-int] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/javaws' gmake[1]: *** [javaws-all] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make' gmake: *** [deploy-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. Thank-you Kind Regards, Mark Hobden On 9/9/05, Greg Lewis wrote: > All, >=20 > Here is the current patch I am testing. Please give it a try and provide > some feedback. Unfortunately it disables the shared class data archive > since that is causing problems for me on 4.x and isn't support on 5.4/amd= 64 > (my other testing machine). If you have a 5.x or 6.x i386 machine then > please try to test that and let me know if it should be put back in under > those restrictions. I was sure it was working before, but it isn't now. > This also fixes a bug with the packing list when the debug stuff is > included. > From owner-freebsd-java@FreeBSD.ORG Sat Sep 10 21:47:51 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 BCF7216A41F for ; Sat, 10 Sep 2005 21:47:51 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EC4E43D45 for ; Sat, 10 Sep 2005 21:47:51 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j8ALlncf006076; Sat, 10 Sep 2005 15:47:49 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j8ALllGn006075; Sat, 10 Sep 2005 15:47:47 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 10 Sep 2005 15:47:46 -0600 From: Greg Lewis To: Mark Hobden Message-ID: <20050910214746.GA6047@misty.eyesbeyond.com> References: <20050909165832.GA16137@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: Patches to update jdk15 to patchset 2 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: Sat, 10 Sep 2005 21:47:51 -0000 On Sat, Sep 10, 2005 at 09:42:38PM +0100, Mark Hobden wrote: > Thanks for so much for all your work, without Java running I would not > be able to use FreeBSD as my main desktop OS at home and work :-) > > The latest port compiled fine on my FreeBSD 6 beta 3 using the native > 1.4.2 jdk to bootstrap it. However when I tried setting > WITH_MOZILLA=firefox it failed to complie with the following messages. > > Sorry if I have applied the patch wrong or have something set wrong on > my system. Please let me know if I can send you any files or if there > is anything I can test at all. No, I think you've done everything correctly. I think that what is happening is that back when I did the plugin support Firefox installed the nspr files, but now it doesn't (as of late August). I will need to do some additional changes to support nspr being separate. Yuk. Thanks for the report! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Sep 10 21:56:11 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 7F14E16A41F for ; Sat, 10 Sep 2005 21:56:11 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7910843D45 for ; Sat, 10 Sep 2005 21:56:10 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so1999018wra for ; Sat, 10 Sep 2005 14:56:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=TjwkbnkcnToRRo5c+BMP9sXnNp6ttijZ3w19ooNp5A7GtmUgO2UZbSYfrBMuM8ByEqx4An2GfZswS75/uIKSi4AUOPSjXFTw40/WZQZCB04sZRm5E4bFxtyyCieUJfZFsVmi+a8AS0Zhv33egCgcGkqXOblAG3rjVfAVSAAGx7A= Received: by 10.54.119.12 with SMTP id r12mr1455985wrc; Sat, 10 Sep 2005 14:56:09 -0700 (PDT) Received: from ?192.168.0.143? ( [80.217.193.226]) by mx.gmail.com with ESMTP id g3sm82870wra.2005.09.10.14.56.07; Sat, 10 Sep 2005 14:56:09 -0700 (PDT) Message-ID: <43235672.8000603@gmail.com> Date: Sat, 10 Sep 2005 23:56:02 +0200 From: Pawel Worach User-Agent: Mozilla Thunderbird 1.0+ (X11/20050908) MIME-Version: 1.0 To: Greg Lewis References: <20050909165832.GA16137@misty.eyesbeyond.com> <20050910214746.GA6047@misty.eyesbeyond.com> In-Reply-To: <20050910214746.GA6047@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mark Hobden , freebsd-java@freebsd.org Subject: Re: Patches to update jdk15 to patchset 2 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: Sat, 10 Sep 2005 21:56:11 -0000 Greg Lewis wrote: > No, I think you've done everything correctly. I think that what is > happening is that back when I did the plugin support Firefox installed > the nspr files, but now it doesn't (as of late August). I will need > to do some additional changes to support nspr being separate. Yuk. > Yea, I noticed this too, had to add /usr/local/include/nspr to the include path. -- Pawel Worach