From owner-freebsd-java Sun Nov 17 5:38:44 2002 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 C767F37B401 for ; Sun, 17 Nov 2002 05:38:42 -0800 (PST) Received: from gatesrv.RZ.UniBw-Muenchen.de (unknown [137.193.11.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 930C543E77 for ; Sun, 17 Nov 2002 05:38:41 -0800 (PST) (envelope-from lutz@medusa.informatik.unibw-muenchen.de) Received: from medusa.informatik.unibw-muenchen.de (medusa.Informatik.UniBw-Muenchen.de [137.193.60.34]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id gAHDOlW01555; Sun, 17 Nov 2002 14:24:48 +0100 (MET) Received: from lutz by medusa.informatik.unibw-muenchen.de with local (Exim 4.10) id 18DPOE-000Ogx-00; Sun, 17 Nov 2002 14:23:06 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Lutz Bichler Organization: University of the German Federal Armed Forces Munich To: Greg Lewis Subject: Re: Solved (was Re: java compilation problem) Date: Sun, 17 Nov 2002 14:23:06 +0100 User-Agent: KMail/1.4.3 References: <200211151622.30595.Lutz.Bichler@unibw-muenchen.de> <200211161341.23260.Lutz.Bichler@unibw-muenchen.de> <20021117051532.A32148@misty.eyesbeyond.com> In-Reply-To: <20021117051532.A32148@misty.eyesbeyond.com> Cc: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211171423.06127.Lutz.Bichler@unibw-muenchen.de> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Saturday 16 November 2002 19:45, you wrote: > Can you construct a small ant build file which reproduces the problem? ----------------------------------------------------------------------- ------------------------------------------------------------------------ Removing the classpath within the uml target solved the problem. --=20 Lutz Bichler Institute for Software Technology, Department of Computer Science University of the Federal Armed Forces Munich, D-85577 Neubiberg, Germany= =20 TEL/FAX: +49(0)89 6004-2261/-4447, NET: lutz@informatik.unibw-muenchen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Nov 17 22:30:45 2002 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 CE07737B401 for ; Sun, 17 Nov 2002 22:30:44 -0800 (PST) Received: from telecomsm.multiarea.ro (telecomsm.multiarea.ro [194.102.89.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E44043E77 for ; Sun, 17 Nov 2002 22:30:37 -0800 (PST) (envelope-from ubik@telecomsm.multiarea.ro) Received: from localhost (ubik@localhost) by telecomsm.multiarea.ro (8.9.3/8.9.3) with ESMTP id JAA06088 for ; Mon, 18 Nov 2002 09:27:53 +0200 Date: Mon, 18 Nov 2002 09:27:53 +0200 (EET) From: To: freebsd-java@FreeBSD.ORG Subject: Re: how to make tomcat to work with apache ? In-Reply-To: <200211151525.51263.znerd@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for your answer guys, I'll try it. On Fri, 15 Nov 2002, Ernst de Haan wrote: > > I searched for a mod_webapp port, I've found none. > > There is. Update your ports and then go to the www directory and do: > > # ls | grep webapp > > That's the one. > > > Ernst > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 2:24:24 2002 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 8037D37B401 for ; Mon, 18 Nov 2002 02:24:23 -0800 (PST) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 776C643E3B for ; Mon, 18 Nov 2002 02:24:22 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.91 #2) id 18Dj4E-0003pl-00; Mon, 18 Nov 2002 11:23:47 +0100 Subject: Re: Trying to compile HotSpot on 4.7-STABLE From: "Georg-W. Koltermann" To: Bill Huey Cc: freebsd-java@freebsd.org In-Reply-To: <20021115003621.GA3359@gnuppy.monkey.org> References: <1037283323.18267.30.camel@hunter.muc.macsch.com> <20021115003621.GA3359@gnuppy.monkey.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 18 Nov 2002 11:24:27 +0100 Message-Id: <1037615069.439.27.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bill, Max Khon pointed me at some different build instructions that you posted in summer, http://www.freebsd.org/cgi/getmsg.cgi?fetch=63624+0+/usr/local/www/db/text/2002/freebsd-java/20020728.freebsd-java They say I should use GCC 3.1 and do gmake in hotspot1.3.1/build/linux instead of using the build.sh in build/bsd/. What is your procedure to build hotspot these days, do you use the build.sh in bsd or the gmake in the linux dir? -- Regards, Georg. Am Fr, 2002-11-15 um 01.36 schrieb Bill Huey: > On Thu, Nov 14, 2002 at 03:15:21PM +0100, Georg-W. Koltermann wrote: > > #ifdef LINUX //-billh > > const int64_t min_jlong = 0x8000000000000000LL; > > const int64_t max_jlong = 0x7fffffffffffffffLL; > > #else > > const jlong min_jlong = 0x8000000000000000L; > > const jlong max_jlong = 0x7fffffffffffffffL; > > #endif > > Hmm, that's kind of wierd. Do what ever you need to do so that it'll > sensibly compile. These go away with GCC 3.1, thanks. I will switch to GCC 3.2 next. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 2:55:11 2002 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 2A17C37B401 for ; Mon, 18 Nov 2002 02:55:10 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2DEF43E4A for ; Mon, 18 Nov 2002 02:55:09 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18DjYV-00012M-00; Mon, 18 Nov 2002 02:55:03 -0800 Date: Mon, 18 Nov 2002 02:55:02 -0800 To: "Georg-W. Koltermann" Cc: freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: Trying to compile HotSpot on 4.7-STABLE Message-ID: <20021118105502.GA3955@gnuppy.monkey.org> References: <1037283323.18267.30.camel@hunter.muc.macsch.com> <20021115003621.GA3359@gnuppy.monkey.org> <1037615069.439.27.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037615069.439.27.camel@hunter.muc.macsch.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Nov 18, 2002 at 11:24:27AM +0100, Georg-W. Koltermann wrote: > Bill, > > Max Khon pointed me at some different build instructions that you posted > in summer, > http://www.freebsd.org/cgi/getmsg.cgi?fetch=63624+0+/usr/local/www/db/text/2002/freebsd-java/20020728.freebsd-java > > They say I should use GCC 3.1 and do gmake in hotspot1.3.1/build/linux > instead of using the build.sh in build/bsd/. What is your procedure to > build hotspot these days, do you use the build.sh in bsd or the gmake in > the linux dir? Yes, my stuff in 1.3.1 is built upon the Linux release mainly to simplify the build environment. I'd use the bsd/ directory, but I decided during the process of getting HotSpot going that I'd not be stuck on trivial issues like that and focus on the core VM engine logic itself. To tell you the truth, it's kind of all screwed up and I try to hotwire things as I see them since OS sources we're dependent upon are also in fluctuation. As for the compiler, I'd try gcc 3.2 since it's got the industry standard C++ ABI. gcc 3.1, as I understand it is just is pretty much the same thing as 3.2 except hat they blew the same C++ ABI a wee bit, so they should function identically except for linkage conventions. Correct me if I'm wrong. ;) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 3:30:38 2002 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 1B94637B401; Mon, 18 Nov 2002 03:30:36 -0800 (PST) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83BAE43E77; Mon, 18 Nov 2002 03:30:34 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost [127.0.0.1]) by puget.esil.univ-mrs.fr (8.12.3/8.12.3) with ESMTP id gAIBdWkI032567; Mon, 18 Nov 2002 12:39:32 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost) by puget.esil.univ-mrs.fr (8.12.3/8.12.3/Submit) with ESMTP id gAIBdVG4032564; Mon, 18 Nov 2002 12:39:32 +0100 (CET) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Mon, 18 Nov 2002 12:39:23 +0100 (CET) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Ernst de Haan Cc: freebsd-java@FreeBSD.ORG Subject: Ant integration in java ports In-Reply-To: <200211150905.23499.znerd@FreeBSD.org> Message-ID: <20021118123332.F31392-300000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-701342979-1037619563=:31392" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-701342979-1037619563=:31392 Content-Type: TEXT/PLAIN; charset=US-ASCII > > Sounds good. Any patch suggestions for bsd.java.mk? > Here it is: attached bsd.java.mk.diff As a working example I modified your jakarta-commons-collection port to use it : attached Makefile.diff Oh, and 5.0-RELEASE is coming soon so maybe we should commit it (as well as modify the related ports) to have a clean FreeBSD-5.0 java ports tree. Regards, -Herve --0-701342979-1037619563=:31392 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Makefile.diff" Content-Transfer-Encoding: BASE64 Content-ID: <20021118123923.T31392@puget.esil.univ-mrs.fr> Content-Description: Makefile.diff Content-Disposition: attachment; filename="Makefile.diff" MTcsMThkMTYNCjwgQlVJTERfREVQRU5EUz0JJHtBTlR9OiR7UE9SVFNESVJ9 L2RldmVsL2pha2FydGEtYW50DQo8IA0KMjJjMjANCjwgQU5UPz0JCSR7TE9D QUxCQVNFfS9iaW4vYW50DQotLS0NCj4gVVNFX0FOVD0JWUVTDQozMSwzM2Qy OA0KPCANCjwgZG8tYnVpbGQ6DQo8IAlAY2QgJHtXUktTUkN9ICYmICR7QU5U fSAke0FOVF9UQVJHRVR9DQo= --0-701342979-1037619563=:31392 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="bsd.java.mk.diff" Content-Transfer-Encoding: BASE64 Content-ID: <20021118123923.M31392@puget.esil.univ-mrs.fr> Content-Description: bsd.java.mk.diff Content-Disposition: attachment; filename="bsd.java.mk.diff" MjlhMzANCj4gIyBTdGFnZSA4OiBEZWZpbmUgYXV0b21hdGljIHRhcmdldHMg aWYgbmVjZXNzYXJ5DQo0MjhhNDMwLDQ0OA0KPiAuCQllbmRpZg0KPiANCj4g IyBBZGQgYW50IHRvIHRoZSBkZXBlbmRlbmNpZXMgKGlmIG5lY2Vzc2FyeSkN Cj4gLgkJaWYgZGVmaW5lZChVU0VfQU5UKSAmJiAoICgke1VTRV9BTlR9ID09 ICJZRVMiKSB8fCAoJHtVU0VfQU5UfSA9PSAieWVzIikgKQ0KPiBCVUlMRF9E RVBFTkRTKz0JCSR7QU5UfToke1BPUlRTRElSfS9kZXZlbC9qYWthcnRhLWFu dA0KPiBBTlQ/PSAgICAgICAgICAgCSR7TE9DQUxCQVNFfS9iaW4vYW50DQo+ IC4JCWVuZGlmDQo+IA0KPiANCj4gIy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tDQo+ICMgU3RhZ2UgODogRGVmaW5lIGF1dG9tYXRpYyB0YXJn ZXRzIGlmIG5lY2Vzc2FyeQ0KPiANCj4gIyBBZGQgdGhlIGFudCBhdXRvbWF0 ZWQgYnVpbGQgaWYgVVNFX0FOVCBpcyBhZmZpcm1hdGl2ZQ0KPiAjIE5vdGU6 IEFOVF9UQVJHRVQgbWF5IGJlIGVtcHR5IChpZiBidWlsZC54bWwgZGVmYXVs dCB0YXJnZXQgaXMgc3VpdGFibGUpDQo+IC4JCWlmIGRlZmluZWQoVVNFX0FO VCkgJiYgKCAoJHtVU0VfQU5UfSA9PSAiWUVTIikgfHwgKCR7VVNFX0FOVH0g PT0gInllcyIpICkNCj4gLgkJCWlmICF0YXJnZXQoZG8tYnVpbGQpDQo+IGRv LWJ1aWxkOg0KPiAJQGNkICR7V1JLU1JDfSAmJiAke0FOVH0gJHtBTlRfVEFS R0VUfQ0KPiAuCQkJZW5kaWYNCg== --0-701342979-1037619563=:31392-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 3:36:30 2002 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 39F6F37B401 for ; Mon, 18 Nov 2002 03:36:29 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6427743E42 for ; Mon, 18 Nov 2002 03:36:28 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id gAIBaQHv095182; Mon, 18 Nov 2002 12:36:26 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id gAIBaObo095181; Mon, 18 Nov 2002 12:36:24 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz Subject: Re: Ant integration in java ports Date: Mon, 18 Nov 2002 12:36:24 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-java@FreeBSD.ORG References: <20021118123332.F31392-300000@puget.esil.univ-mrs.fr> In-Reply-To: <20021118123332.F31392-300000@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211181236.24176.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This patch looks very good! It's simple and straight-forward. If some more freebsd-java folks could test and approve it then I will commit. Ernst On Monday 18 November 2002 12:39, Herve Quiroz wrote: > > Sounds good. Any patch suggestions for bsd.java.mk? > > Here it is: attached bsd.java.mk.diff > > As a working example I modified your jakarta-commons-collection port to > use it : attached Makefile.diff > > Oh, and 5.0-RELEASE is coming soon so maybe we should commit it (as well > as modify the related ports) to have a clean FreeBSD-5.0 java ports tree. > > Regards, > > > -Herve -- Ernst de Haan Development Team Leader Wanadoo Nederland B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 5: 3:43 2002 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 454B237B401 for ; Mon, 18 Nov 2002 05:03:42 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7134943E4A for ; Mon, 18 Nov 2002 05:03:41 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id gAID3eHv095900 for ; Mon, 18 Nov 2002 14:03:40 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id gAID3eix095899 for freebsd-java@FreeBSD.ORG; Mon, 18 Nov 2002 14:03:40 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: Wanadoo Nederland B.V. Subject: Fwd: cvs commit: ports/Mk bsd.java.mk Date: Mon, 18 Nov 2002 14:03:40 +0100 User-Agent: KMail/1.4.3 To: freebsd-java@FreeBSD.ORG X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211181403.40302.ernst.dehaan@nl.wanadoo.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org FYI ---------- Forwarded Message ---------- Subject: cvs commit: ports/Mk bsd.java.mk Date: Mon, 18 Nov 2002 05:00:00 -0800 (PST) From: Ernst de Haan To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org znerd 2002/11/18 05:00:00 PST Modified files: Mk bsd.java.mk Log: Defining JAVASHAREDIR and JAVAJARDIR. If they're already set, they will not be overridden. Reviewed by: freebsd-java Approved by: Herve Quiroz Dave Glowacki Revision Changes Path 1.29 +5 -1 ports/Mk/bsd.java.mk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 8:42: 1 2002 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 03F4437B401 for ; Mon, 18 Nov 2002 08:41:59 -0800 (PST) Received: from zpfe.com (dev06.eqp.zpfe.com [209.46.51.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 2696C43E6E for ; Mon, 18 Nov 2002 08:41:58 -0800 (PST) (envelope-from steve-hv@zpfe.com) Received: (qmail 49082 invoked from network); 18 Nov 2002 16:41:42 -0000 Received: from dev13.eqp.zpfe.com (HELO PUFFY.zpfe.com) (209.46.51.29) by dev06.eqp.zpfe.com with SMTP; 18 Nov 2002 16:41:42 -0000 Message-Id: <5.1.0.14.2.20021118103228.04b0f3b8@wheresmymailserver.com> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 18 Nov 2002 10:41:40 -0600 To: Greg Lewis From: Steve Peterson Subject: Re: Build error Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20021116033624.A25296@misty.eyesbeyond.com> References: <5.1.0.14.2.20021114212157.045fe008@magpie.zpfe.com> <5.1.0.14.2.20021114212157.045fe008@magpie.zpfe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi -- still getting the same problem. I started over from scratch & had the same error. I'm building as root. Here's the list of commands I'm running: mkdir /usr/local/java1.3.1/ cd /usr/local/java1.3.1/ pax -r < ~/j2sdk-1_3_1-src.tar chmod -R u+w * mkdir -p hotspot1.3.1/build/bsd mkdir -p hotspot1.3.1/build/bsd/makefiles mkdir -p hotspot1.3.1/build/bsd/package mkdir -p hotspot1.3.1/src/os/bsd/launcher mkdir -p hotspot1.3.1/src/os/bsd/vm mkdir -p hotspot1.3.1/src/os_cpu/bsd_i486/vm mkdir -p j2sdk1.3.1/ext/plugin/oji-plugin/include/bsd/jdk12 mkdir -p j2sdk1.3.1/ext/plugin/oji-plugin/include/solaris/navig5/private mkdir -p j2sdk1.3.1/src/bsd/doc/man patch < ~/bsd-jdk131-patches-7/jdk131.patches > ~/patch.out cd j2sdk1.3.1/make gmake My environment: ALT_BOOTDIR=/usr/local/linux-sun-jdk1.3.1 ALT_MOTIF_DIR=/usr/X11R6 OPENWINHOME=/usr/X11R6 BUILD_CLASSIC=yes JAVA_COMPILER=NONE Note that ALT_BOOTDIR is slightly different than that specified in the BUILD document as it looks like the name of the Linux JDK package has changed. JDK source distribution: -rwxr--r-- 1 stevep stevep 129329664 Nov 14 14:03 j2sdk-1_3_1-src.tar Patches distro: -rwxr--r-- 1 stevep stevep 2938880 Nov 14 13:54 bsd-jdk131-patches-7.tar The patch file: -rw-r--r-- 1 eztest staff 1588037 Jul 25 11:48 jdk131.patches S At 03:36 AM 11/16/2002 +1030, Greg Lewis wrote: >On Thu, Nov 14, 2002 at 09:36:21PM -0600, Steve Peterson wrote: > > Greetings. > > > > I'm building JDK 1.3.1 on FreeBSD 4.7-RELEASE and am running into a > compile > > error on dependencies for class FullValueDescriptionHelper (see below for > > error messages). I took a peek at the patchset to see if there was some > > reference to that class but no joy. > > > > I searched the list archives for FullValueDescriptionHelper but no joy > > there either. > > > > My environment: > > > > FreeBSD 4.7-RELEASE-p2 > > stock gcc > > patches are bsd-jdk131-patches-7 > > bootstrap JDK is the linux-sun-jdk-1.3.1.06 port. > > Java source is j2sdk-1_3_1-src.tar.gz downloaded today from Sun. > >This all looks good. > > > Any ideas on solutions or ways to go about troubleshooting this? > >Hmmm. This is the first time I've seen this. Try looking in the list >archives and seeing if anyone has had anything similar. Also try >a make clean and then rebuild. > >-- >Greg Lewis Email : glewis@eyesbeyond.com >Eyes Beyond Web : http://www.eyesbeyond.com >Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 9: 7:46 2002 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 48EC437B401 for ; Mon, 18 Nov 2002 09:07:45 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6F4C43E3B for ; Mon, 18 Nov 2002 09:07:43 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18DpMd-00033J-02 for freebsd-java@freebsd.org; Mon, 18 Nov 2002 10:07:11 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18DpKV-0001ix-02; Mon, 18 Nov 2002 10:05:00 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gAIH4sk42819; Tue, 19 Nov 2002 03:34:54 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 19 Nov 2002 03:34:53 +1030 From: Greg Lewis To: Steve Peterson Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Build error Message-ID: <20021119033453.B42369@misty.eyesbeyond.com> References: <5.1.0.14.2.20021114212157.045fe008@magpie.zpfe.com> <5.1.0.14.2.20021114212157.045fe008@magpie.zpfe.com> <20021116033624.A25296@misty.eyesbeyond.com> <5.1.0.14.2.20021118103228.04b0f3b8@wheresmymailserver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.2.20021118103228.04b0f3b8@wheresmymailserver.com>; from steve-hv@zpfe.com on Mon, Nov 18, 2002 at 10:41:40AM -0600 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Nov 18, 2002 at 10:41:40AM -0600, Steve Peterson wrote: > Hi -- still getting the same problem. I started over from scratch & had > the same error. > > I'm building as root. > > Here's the list of commands I'm running: > > mkdir /usr/local/java1.3.1/ > cd /usr/local/java1.3.1/ > pax -r < ~/j2sdk-1_3_1-src.tar > chmod -R u+w * > mkdir -p hotspot1.3.1/build/bsd > mkdir -p hotspot1.3.1/build/bsd/makefiles > mkdir -p hotspot1.3.1/build/bsd/package > mkdir -p hotspot1.3.1/src/os/bsd/launcher > mkdir -p hotspot1.3.1/src/os/bsd/vm > mkdir -p hotspot1.3.1/src/os_cpu/bsd_i486/vm > mkdir -p j2sdk1.3.1/ext/plugin/oji-plugin/include/bsd/jdk12 > mkdir -p j2sdk1.3.1/ext/plugin/oji-plugin/include/solaris/navig5/private > mkdir -p j2sdk1.3.1/src/bsd/doc/man > patch < ~/bsd-jdk131-patches-7/jdk131.patches > ~/patch.out > cd j2sdk1.3.1/make > gmake > > My environment: > > ALT_BOOTDIR=/usr/local/linux-sun-jdk1.3.1 > ALT_MOTIF_DIR=/usr/X11R6 > OPENWINHOME=/usr/X11R6 > BUILD_CLASSIC=yes > JAVA_COMPILER=NONE > > Note that ALT_BOOTDIR is slightly different than that specified in the > BUILD document as it looks like the name of the Linux JDK package has changed. It has. Try building with the port (/usr/ports/java/jdk13). Thats easier than building by hand and should work. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 9:13:49 2002 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 208D037B401; Mon, 18 Nov 2002 09:13:48 -0800 (PST) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41F0243E4A; Mon, 18 Nov 2002 09:13:46 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost [127.0.0.1]) by puget.esil.univ-mrs.fr (8.12.3/8.12.3) with ESMTP id gAIFjKkI043647; Mon, 18 Nov 2002 16:45:20 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost) by puget.esil.univ-mrs.fr (8.12.3/8.12.3/Submit) with ESMTP id gAIFjK6R043644; Mon, 18 Nov 2002 16:45:20 +0100 (CET) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Mon, 18 Nov 2002 16:45:20 +0100 (CET) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Jan Grant Cc: Ernst de Haan , freebsd-java Subject: Re: [FYI] Recently added Jakarta Commons ports In-Reply-To: Message-ID: <20021118160854.X43606-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 15 Nov 2002, Jan Grant wrote: > I'm having trouble keeping up with the various bits and pieces of this. > Is there some chance a roadmap to all this is going to end up in the > (currently empty) chapter on java porting in the porter's handbook? English is not my first language so I will not pretend to be able to handle such a task. Anyway, there is some relevant info on Ernst's web page at http://people.freebsd.org/~znerd/ and I could provide you some of the information you (or someone else) may need. But things are moving quite fast regarding java ports and thus such a document would be difficult to keep up-to-date. And not everybody seems to agree on some common scheme regarding java ports (check the discussion about standardizing the location for docs/examples/src/jars the few last months). Right now anyway Ernst is commiting changes to bsd.java.mk step-by-step so the java porter handbook maintainer just need to stay aware of the CVS commits as the logs are quite comprehensive. Regards -Herve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 9:13:51 2002 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 CD34937B401; Mon, 18 Nov 2002 09:13:50 -0800 (PST) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id D15A843E4A; Mon, 18 Nov 2002 09:13:49 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost [127.0.0.1]) by puget.esil.univ-mrs.fr (8.12.3/8.12.3) with ESMTP id gAICVXkI032638; Mon, 18 Nov 2002 13:31:33 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost) by puget.esil.univ-mrs.fr (8.12.3/8.12.3/Submit) with ESMTP id gAICVW8b032635; Mon, 18 Nov 2002 13:31:32 +0100 (CET) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Mon, 18 Nov 2002 13:31:32 +0100 (CET) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Ernst de Haan Cc: freebsd-java@FreeBSD.org Subject: Re: [FYI] Recently added Jakarta Commons ports In-Reply-To: <200211150905.23499.znerd@FreeBSD.org> Message-ID: <20021118124207.Y31392-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > IMHO, next on the list: destination directory for apidocs, with full > > PLIST_SUB support to lighten the pkg-plist files which tend to be huge. > > Well, perhaps we could _generate_ the pkg-plist for API docs. > I don't know how to do it so I leave it up to you. Anyway, for now maybe we could just add the following to bsd.java.mk : PLIST_SUB+= APIDOCS=${DOCSDIR:S/^${PREFIX}\///}/api This would greatly reduce the size of pkg-plist. What do you think of it ? Regards, -Herve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 10:26:10 2002 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 C321837B401 for ; Mon, 18 Nov 2002 10:26:09 -0800 (PST) Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2998943E97 for ; Mon, 18 Nov 2002 10:26:09 -0800 (PST) (envelope-from gsemones@treenleaf.com) Date: Mon, 18 Nov 2002 11:25:12 -0800 Message-Id: <200211181125.AA282198170@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: loading of libverify.so reports undefined symbol X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greetings, I have a c++ application that is dynamically loading libjvm.so to instantiate the JVM and call java classes from C++. Everything compiles happily, but when run my executable, I get the following: Can't load library "/usr/local/jdk1.3.1/jre/lib/i386/libverify.so", because /usr/local/jdk1.3.1/jre/lib/i386/libverify.so: Undefined symbol JVM_GetClassNameUTF" If I do an "nm" dump of libverify.so, it reports that JVM_GetClassNameUTF is indeed Undefined. I can tell from within my code that libjvm.so is loading okay. Obviously, libjvm.so is trying to load libverify.so, or some other intermediary lib is trying to do so. Note that JVM_GetClassNameUTF *is* defined in libjvm.so. Does anyone have any ideas? Is this a load order problem? I feel pretty confident that it is not a library path issue, but perhaps I'm missing a step. Thanks, Guerry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 11: 0:33 2002 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 6D09837B404 for ; Mon, 18 Nov 2002 11:00:32 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77CAC43F0F for ; Mon, 18 Nov 2002 11:00:21 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAIJ0Lx3077042 for ; Mon, 18 Nov 2002 11:00:21 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAIJ0L55077040 for java@freebsd.org; Mon, 18 Nov 2002 11:00:21 -0800 (PST) Date: Mon, 18 Nov 2002 11:00:21 -0800 (PST) Message-Id: <200211181900.gAIJ0L55077040@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 11: 8: 3 2002 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 9CC1737B404 for ; Mon, 18 Nov 2002 11:08:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0CA443E9E for ; Mon, 18 Nov 2002 11:08:01 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAIJ81x3086007 for ; Mon, 18 Nov 2002 11:08:01 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAIJ81gq086001 for java@freebsd.org; Mon, 18 Nov 2002 11:08:01 -0800 (PST) Date: Mon, 18 Nov 2002 11:08:01 -0800 (PST) Message-Id: <200211181908.gAIJ81gq086001@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc o [2002/10/05] java/43724 java linux_base-7.1 + linux-sun-jdk-1.3.1.04 d 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43925 java New port: net/beepcore-java (supersedes p 1 problem total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 11:19:51 2002 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 0A39E37B401 for ; Mon, 18 Nov 2002 11:19:50 -0800 (PST) Received: from zpfe.com (dev06.eqp.zpfe.com [209.46.51.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 423B443E3B for ; Mon, 18 Nov 2002 11:19:49 -0800 (PST) (envelope-from steve-hv@zpfe.com) Received: (qmail 91368 invoked from network); 18 Nov 2002 19:19:36 -0000 Received: from dev13.eqp.zpfe.com (HELO PUFFY.zpfe.com) (209.46.51.29) by dev06.eqp.zpfe.com with SMTP; 18 Nov 2002 19:19:36 -0000 Message-Id: <5.1.0.14.2.20021118130819.04ab7e68@wheresmymailserver.com> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 18 Nov 2002 13:19:35 -0600 To: Greg Lewis From: Steve Peterson Subject: Re: Build error Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20021119033453.B42369@misty.eyesbeyond.com> References: <5.1.0.14.2.20021118103228.04b0f3b8@wheresmymailserver.com> <5.1.0.14.2.20021114212157.045fe008@magpie.zpfe.com> <5.1.0.14.2.20021114212157.045fe008@magpie.zpfe.com> <20021116033624.A25296@misty.eyesbeyond.com> <5.1.0.14.2.20021118103228.04b0f3b8@wheresmymailserver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Using the port was the trick. Thanks. S At 03:34 AM 11/19/2002 +1030, Greg Lewis wrote: >On Mon, Nov 18, 2002 at 10:41:40AM -0600, Steve Peterson wrote: > > Hi -- still getting the same problem. I started over from scratch & had > > the same error. > > > > I'm building as root. > > > > Here's the list of commands I'm running: > > > > mkdir /usr/local/java1.3.1/ > > cd /usr/local/java1.3.1/ > > pax -r < ~/j2sdk-1_3_1-src.tar > > chmod -R u+w * > > mkdir -p hotspot1.3.1/build/bsd > > mkdir -p hotspot1.3.1/build/bsd/makefiles > > mkdir -p hotspot1.3.1/build/bsd/package > > mkdir -p hotspot1.3.1/src/os/bsd/launcher > > mkdir -p hotspot1.3.1/src/os/bsd/vm > > mkdir -p hotspot1.3.1/src/os_cpu/bsd_i486/vm > > mkdir -p j2sdk1.3.1/ext/plugin/oji-plugin/include/bsd/jdk12 > > mkdir -p j2sdk1.3.1/ext/plugin/oji-plugin/include/solaris/navig5/private > > mkdir -p j2sdk1.3.1/src/bsd/doc/man > > patch < ~/bsd-jdk131-patches-7/jdk131.patches > ~/patch.out > > cd j2sdk1.3.1/make > > gmake > > > > My environment: > > > > ALT_BOOTDIR=/usr/local/linux-sun-jdk1.3.1 > > ALT_MOTIF_DIR=/usr/X11R6 > > OPENWINHOME=/usr/X11R6 > > BUILD_CLASSIC=yes > > JAVA_COMPILER=NONE > > > > Note that ALT_BOOTDIR is slightly different than that specified in the > > BUILD document as it looks like the name of the Linux JDK package has > changed. > >It has. > >Try building with the port (/usr/ports/java/jdk13). Thats easier than >building by hand and should work. > >-- >Greg Lewis Email : glewis@eyesbeyond.com >Eyes Beyond Web : http://www.eyesbeyond.com >Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Nov 18 19:51:30 2002 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 C478637B401 for ; Mon, 18 Nov 2002 19:51:29 -0800 (PST) Received: from unixjunkie.com (adsl-65-70-175-249.dsl.rcsntx.swbell.net [65.70.175.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB1FC43E3B for ; Mon, 18 Nov 2002 19:51:28 -0800 (PST) (envelope-from strgout@unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by dmz2.unixjunkie.com (8.12.6/8.12.6) with ESMTP id gAJ0HeEa002082 for ; Mon, 18 Nov 2002 18:17:40 -0600 (CST) (envelope-from strgout@mail.unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by mail.unixjunkie.com (8.12.6/8.12.6) with ESMTP id gAJ0HdKQ002074 for ; Mon, 18 Nov 2002 18:17:40 -0600 (CST) (envelope-from strgout@mail.unixjunkie.com) Received: (from strgout@localhost) by mail.unixjunkie.com (8.12.6/8.12.6/Submit) id gAINnDAA002018 for freebsd-java@freebsd.org; Mon, 18 Nov 2002 17:49:13 -0600 (CST) Date: Mon, 18 Nov 2002 17:49:13 -0600 From: strgout To: freebsd-java@freebsd.org Subject: Java Plugin Security warning Message-ID: <20021118234913.GA1975@mail.unixjunkie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm having some problems with mozilla and some java apps. (Cisco Works and Seibel if you want to know) What happens is i open the page, and get a window that only has a title bar that says "Java Plugin Security Warn" and nothing else, no options to grant/deny, and no way to expand the window. alt-right click does nothing, and there is no place to grab the window to enlarge it. Some java apps do work, as long as no warning is displayed. Any ideas? I can't seem to find a "allow all bad things" option inside mozilla. mozilla-1.1_1,2 jdk-1.3.1p7_2 blackbox-0.65.0 4.7-STABLE FreeBSD 4.7-STABLE #2: Tue Nov 12 15:13:05 btw how do i open the java console from mozilla To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 0:31:16 2002 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 67F0637B401 for ; Tue, 19 Nov 2002 00:31:15 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86C3D43E9C for ; Tue, 19 Nov 2002 00:31:14 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id gAJ8VAHv002560; Tue, 19 Nov 2002 09:31:10 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id gAJ8VAM9002559; Tue, 19 Nov 2002 09:31:10 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz , Jan Grant Subject: Re: [FYI] Recently added Jakarta Commons ports Date: Tue, 19 Nov 2002 09:31:10 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-java References: <20021118160854.X43606-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20021118160854.X43606-100000@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211190931.10365.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If someone would commit to making those changes we could make the procedure as follows: * We discuss things on freebsd-java * Consensus is reached on freebsd-java * Committer commits and notifies freebsd-java and explictly CCs the person willing to maintain the docs Whaddayasay? Ernst On Monday 18 November 2002 16:45, Herve Quiroz wrote: > On Fri, 15 Nov 2002, Jan Grant wrote: > > I'm having trouble keeping up with the various bits and pieces of this. > > Is there some chance a roadmap to all this is going to end up in the > > (currently empty) chapter on java porting in the porter's handbook? > > English is not my first language so I will not pretend to be able to > handle such a task. Anyway, there is some relevant info on Ernst's web > page at http://people.freebsd.org/~znerd/ and I could provide you some of > the information you (or someone else) may need. > > But things are moving quite fast regarding java ports and thus such a > document would be difficult to keep up-to-date. And not everybody seems > to agree on some common scheme regarding java ports (check the discussion > about standardizing the location for docs/examples/src/jars the few last > months). Right now anyway Ernst is commiting changes to bsd.java.mk > step-by-step so the java porter handbook maintainer just need to stay > aware of the CVS commits as the logs are quite comprehensive. > > Regards > > > -Herve -- Ernst de Haan Development Team Leader Wanadoo Nederland B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 0:35:14 2002 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 A586437B401 for ; Tue, 19 Nov 2002 00:35:13 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id A943643E9E for ; Tue, 19 Nov 2002 00:35:12 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id gAJ8ZCHv002584; Tue, 19 Nov 2002 09:35:12 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id gAJ8ZBU5002583; Tue, 19 Nov 2002 09:35:11 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Herve Quiroz Subject: Re: [FYI] Recently added Jakarta Commons ports Date: Tue, 19 Nov 2002 09:35:11 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-java@FreeBSD.ORG, Dave Glowacki References: <20021118124207.Y31392-100000@puget.esil.univ-mrs.fr> In-Reply-To: <20021118124207.Y31392-100000@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211190935.11372.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Well, perhaps we could _generate_ the pkg-plist for API docs. > > I don't know how to do it so I leave it up to you. Anyway, for now maybe > we could just add the following to bsd.java.mk : Dave knows how to do this. I know he recently submitted a port (which is now committed) that included featured an automagically generated plist/ Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 5:30:43 2002 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 2B24737B401 for ; Tue, 19 Nov 2002 05:30:42 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id B306743E4A for ; Tue, 19 Nov 2002 05:30:36 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gAJGYiqj007632; Tue, 19 Nov 2002 16:34:45 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAJDZZEf033677; Tue, 19 Nov 2002 15:35:35 +0200 (EET) (envelope-from ml) Date: Tue, 19 Nov 2002 15:35:35 +0200 From: Alexey Zelkin To: Guerry Semones Cc: freebsd-java@FreeBSD.ORG Subject: Re: loading of libverify.so reports undefined symbol Message-ID: <20021119153535.A33609@phantom.cris.net> References: <200211181125.AA282198170@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200211181125.AA282198170@mail.mstar2.net>; from gsemones@treenleaf.com on Mon, Nov 18, 2002 at 11:25:12AM -0800 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Which options to dlopen() you're using ? I'd suggest to play with dlopen()'s options (like RTLD_NOW or RTLD_GLOBAL) On Mon, Nov 18, 2002 at 11:25:12AM -0800, Guerry Semones wrote: > Greetings, > > I have a c++ application that is dynamically loading libjvm.so to > instantiate the JVM and call java classes from C++. Everything > compiles happily, but when run my executable, I get the following: > > Can't load > library "/usr/local/jdk1.3.1/jre/lib/i386/libverify.so", > because /usr/local/jdk1.3.1/jre/lib/i386/libverify.so: Undefined > symbol JVM_GetClassNameUTF" > > If I do an "nm" dump of libverify.so, it reports that > JVM_GetClassNameUTF is indeed Undefined. I can tell from within > my code that libjvm.so is loading okay. Obviously, libjvm.so is > trying to load libverify.so, or some other intermediary lib is > trying to do so. Note that JVM_GetClassNameUTF *is* defined in > libjvm.so. > > Does anyone have any ideas? Is this a load order problem? I feel > pretty confident that it is not a library path issue, but perhaps > I'm missing a step. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 10: 8:39 2002 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 3E16537B401 for ; Tue, 19 Nov 2002 10:08:37 -0800 (PST) Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE04F43E6E for ; Tue, 19 Nov 2002 10:08:36 -0800 (PST) (envelope-from gsemones@treenleaf.com) Date: Tue, 19 Nov 2002 11:07:29 -0800 Message-Id: <200211191107.AA2316304618@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Re: loading of libverify.so reports undefined symbol X-Mailer: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Many thanks for your help! We have a wrapper class doing our dynamic loading, and I was using RTLD_LAZY by default. Doh! Using the call: dlopen("libjvm.so", RTLD_NOW|RTLD_GLOBAL) did the trick! Much better than having to statically link all that stuff in.... Thanks again, Guerry (who now knows more about dlopen than ever :-) ---------- Original Message ---------------------------------- From: Alexey Zelkin Date: Tue, 19 Nov 2002 15:35:35 +0200 >Which options to dlopen() you're using ? > >I'd suggest to play with dlopen()'s options (like RTLD_NOW or RTLD_GLOBAL) > >On Mon, Nov 18, 2002 at 11:25:12AM -0800, Guerry Semones wrote: >> Greetings, >> >> I have a c++ application that is dynamically loading libjvm.so to >> instantiate the JVM and call java classes from C++. Everything >> compiles happily, but when run my executable, I get the following: >> >> Can't load >> library "/usr/local/jdk1.3.1/jre/lib/i386/libverify.so", >> because /usr/local/jdk1.3.1/jre/lib/i386/libverify.so: Undefined >> symbol JVM_GetClassNameUTF" >> >> If I do an "nm" dump of libverify.so, it reports that >> JVM_GetClassNameUTF is indeed Undefined. I can tell from within >> my code that libjvm.so is loading okay. Obviously, libjvm.so is >> trying to load libverify.so, or some other intermediary lib is >> trying to do so. Note that JVM_GetClassNameUTF *is* defined in >> libjvm.so. >> >> Does anyone have any ideas? Is this a load order problem? I feel >> pretty confident that it is not a library path issue, but perhaps >> I'm missing a step. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 17:31:35 2002 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 8BEA437B401 for ; Tue, 19 Nov 2002 17:31:32 -0800 (PST) Received: from ncsmtp02.ogw.rr.com (ncsmtp02.ogw.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0144443E8A for ; Tue, 19 Nov 2002 17:31:32 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from mail5.nc.rr.com (fe5 [24.93.67.52]) by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gAK1VBv3004414 for ; Tue, 19 Nov 2002 20:31:14 -0500 (EST) Received: from nc.rr.com ([24.74.128.130]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Tue, 19 Nov 2002 20:30:49 -0500 Message-ID: <3DDAE5F0.2EA59E1B@nc.rr.com> Date: Tue, 19 Nov 2002 20:31:28 -0500 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.7-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: unable to compile 1.4 on 4.7-STABLE... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello peoples, I am running 4.7-STABLE as of 11/13/2002 > uname -a FreeBSD dual.mmercer.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 13 01:11:43 EST 2002 root@dual.mmercer.com:/usr/obj/usr/src/sys/dualII_4_7 i386 I get the error below... notice the syntax error just after the ENV list... Also both sun and linux jdk's bomb out with the same error, also below. Any ideas? Also, what directories am I supposed to create to allow the patch to run smoothly? And how do tell it to use gcc32? I have successfully installed it. Thanks Michael Mercer bsd i386 1.4.0-internal build started: 02-11-19 20:26 current working directory = /home/mmercer/jdk1.4.0/jdk14/control/make build machine = TOPDIR = ./../.. CONTROL_TOPDIR = ./../../control GENERICS_TOPDIR = ./../../generics HOTSPOT_TOPDIR = ./../../hotspot J2SE_TOPDIR = ./../../j2se MOTIF_TOPDIR = ./../../motif COBUNDLE_TOPDIR = ./../../cobundle JDK_VERSION = 1.4.0 MILESTONE = internal BUILD_NUMBER = mmercer_19_nov_2002_20_26 PLATFORM = bsd TRUE_PLATFORM = FreeBSD (4.x STABLE way) ARCH = i386 ARCH_FAMILY = i386 ARCH_DATA_MODEL = 32 BOOTDIR = /usr/local/linux-blackdown-jdk1.4.1 OUTPUTDIR = ./../build/bsd-i386 UNIXCOMMAND_PATH = /bin/ COMPILER_PATH = /usr/bin/ DEVTOOLS_PATH = /usr/local/bin/ USRBIN_PATH = /usr/bin/ MOTIF_DIR = /usr/X11R6 HOTSPOT_CLIENT_PATH = /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/client HOTSPOT_SERVER_PATH = /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/server BUNDLE_PLATFORM = bsd BUNDLE_DATE = 19_nov_2002 J2SDK_LICENSE_PATH = /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/j2sdk-image/LICENSE J2SDK_BUNDLE_PATH = /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/bundles/j2sdk-1_4_0-internal-bin-mmercer_19_nov_2002_20_26-bsd-19_nov_2002.tar FORTE_LICENSE_PATH = /java/re/forte4j/3.0/promoted/latest/utils/LICENCE.TXT FORTE_BUNDLE_PATH = /java/re/forte4j/3.0/promoted/latest/bundles/bsd/FFJ-dev-010817-f4j_ce.zip Syntax error: "(" unexpected gmake[1]: Entering directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make' [: -ne: unexpected operator gmake[1]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make' NOTE: Your build environment has the variable DEV_ONLY defined. This will result in a development-only build of the J2SE workspace, lacking the documentation build and installation bundles. Sanity check passed. /bin/mkdir -p ../build/bsd-i386/hotspot-i386/tmp (cd ./../build/bsd-i386/hotspot-i386/tmp; \ gmake -f /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/Makefile product \ HOTSPOT_BUILD_VERSION=1.4.0-internal-mmercer_19_nov_2002_20_26 GAMMADIR=/home/mmercer/jdk1.4.0/jdk14/hotspot ; ) gmake[1]: Entering directory `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp' sh /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/makefiles/buildATree.sh compiler2 /home/mmercer/jdk1.4.0/jdk14/hotspot bsd i486 (cd bsd_i486_compiler2/product; gmake) gmake[2]: Entering directory `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://www.blackdown.org/cgi-bin/jdk # # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) # # Error ID: 4F533F4C494E55580E435050030B # gmake[2]: *** [../generated/MakeDeps.class] Abort trap (core dumped) gmake[2]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' gmake[1]: *** [product] Error 2 gmake[1]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp' gmake: *** [product] Error 2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 19:22: 2 2002 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 3A2C537B401 for ; Tue, 19 Nov 2002 19:22:01 -0800 (PST) Received: from ns.gddsn.org.cn (ns.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCAC543E91 for ; Tue, 19 Nov 2002 19:22:00 -0800 (PST) (envelope-from wsk@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (unknown [192.168.168.4]) by ns.gddsn.org.cn (Postfix) with ESMTP id 1F5A938CC51 for ; Wed, 20 Nov 2002 11:21:49 +0800 (CST) Message-ID: <3DDB001E.7020506@mail.gddsn.org.cn> Date: Wed, 20 Nov 2002 11:23:10 +0800 From: suken woo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020912 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java Subject: configure apache2+ssl+tomcat4 help Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi,all: My apache2+SSL is working now and I had been successed config SSL support with tomcat but when i try https:192.168.168.6:8443 on mozilla, it doesn't work.and I see my 8443 port is listenning and tomcat log nothing errors .here's my ssl config with tomcat. how can i do, thanks any info with appreciates! Regards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 20: 0:58 2002 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 E58D237B401 for ; Tue, 19 Nov 2002 20:00:56 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA1D343E3B for ; Tue, 19 Nov 2002 20:00:55 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18EM2p-0006qc-04 for freebsd-java@freebsd.org; Tue, 19 Nov 2002 21:00:55 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18EM2n-0006qQ-00; Tue, 19 Nov 2002 21:00:53 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gAK40mv49694; Wed, 20 Nov 2002 14:30:48 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 20 Nov 2002 14:30:47 +1030 From: Greg Lewis To: Michael E Mercer Cc: freebsd-java@FreeBSD.ORG Subject: Re: unable to compile 1.4 on 4.7-STABLE... Message-ID: <20021120143047.A49675@misty.eyesbeyond.com> References: <3DDAE5F0.2EA59E1B@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DDAE5F0.2EA59E1B@nc.rr.com>; from mmercer@nc.rr.com on Tue, Nov 19, 2002 at 08:31:28PM -0500 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Nov 19, 2002 at 08:31:28PM -0500, Michael E Mercer wrote: > Hello peoples, > > I am running 4.7-STABLE as of 11/13/2002 > > > uname -a > FreeBSD dual.mmercer.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 13 01:11:43 > EST 2002 > root@dual.mmercer.com:/usr/obj/usr/src/sys/dualII_4_7 i386 > > I get the error below... notice the syntax error just after the ENV list... > Also both sun and linux jdk's bomb out with the same error, also below. > > Any ideas? Can you actually run the Linux JDK at all? If you can't, can you run them as root? There are some known problems with executing 1.4 as a non-root user. Just try a java -version. > Also, what directories am I supposed to create to allow the patch to run > smoothly? I didn't have to create any :). Just should apply cleanly with the instructions I put in. Let me know if its not applying cleanly for you. > And how do tell it to use gcc32? I have successfully installed it. You don't have to use gcc32 on -stable. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 19 22: 5:37 2002 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 6D13637B401; Tue, 19 Nov 2002 22:05:35 -0800 (PST) Received: from ns.gddsn.org.cn (ns.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD1B143E42; Tue, 19 Nov 2002 22:05:34 -0800 (PST) (envelope-from wsk@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (unknown [192.168.168.4]) by ns.gddsn.org.cn (Postfix) with ESMTP id 6BC2938CC51; Wed, 20 Nov 2002 14:05:22 +0800 (CST) Message-ID: <3DDB2674.9020306@mail.gddsn.org.cn> Date: Wed, 20 Nov 2002 14:06:44 +0800 From: suken woo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020912 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current , freebsd-java Subject: build nativ_threads error with jdk13 under -current Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org just cvsup'd the current yesterday , but build native_threads still failure by used jdk13 >>>Recursively making native all @ Wed Nov 20 14:01:47 CST 2002 ... gmake[3]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' gmake ../../../../build/bsd-i386/lib/i386/native_threads/libhpi.so VARIANT=OPT gmake[4]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' /usr/bin/gcc -W -Wall -Wno-unused -Wno-parentheses -pthread -I/usr/src/lib/libc_r/uthread -I/usr/src/lib/libc/include -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-wsk-021120-14:01"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/java/hpi/native_threads/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -DNO_INTERRUPTIBLE_IO -c -o ../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bsd.o ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: `enum pthread_susp' declared inside parameter list ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: its scope is only this definition or declaration, which is probably not what you want ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:288: parameter `suspendState' has incomplete type ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: initializer-string for array of chars is too long ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: (near initialization for `SignalList[21]') ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: excess elements in array initializer ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: (near initialization for `SignalList') gmake[4]: *** [../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bsd.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java' gmake: *** [all] Error 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 2:47:23 2002 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 74B6937B401 for ; Wed, 20 Nov 2002 02:47:20 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 497F543E9E for ; Wed, 20 Nov 2002 02:47:16 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gAKDpbqj045747; Wed, 20 Nov 2002 13:51:38 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAKAqFHq040004; Wed, 20 Nov 2002 12:52:15 +0200 (EET) (envelope-from ml) Date: Wed, 20 Nov 2002 12:52:15 +0200 From: Alexey Zelkin To: Michael E Mercer Cc: freebsd-java@FreeBSD.ORG Subject: Re: unable to compile 1.4 on 4.7-STABLE... Message-ID: <20021120125215.A39920@phantom.cris.net> References: <3DDAE5F0.2EA59E1B@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DDAE5F0.2EA59E1B@nc.rr.com>; from mmercer@nc.rr.com on Tue, Nov 19, 2002 at 08:31:28PM -0500 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Nov 19, 2002 at 08:31:28PM -0500, Michael E Mercer wrote: > Hello peoples, > > I am running 4.7-STABLE as of 11/13/2002 > > > uname -a > FreeBSD dual.mmercer.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 13 01:11:43 > EST 2002 > root@dual.mmercer.com:/usr/obj/usr/src/sys/dualII_4_7 i386 > > > I get the error below... notice the syntax error just after the ENV list... > Also both sun and linux jdk's bomb out with the same error, also below. Strange. Did not expirienced any syntax errors before :-( Will take a look on it. > Any ideas? First, you need to check is jdk actually works at your system. Just try to execute 'java -version'. If it's not working I'd suggest to try to play with linux_base ports. I am using linux-sun-jdk1.4.1 and linux_base-6.1_3 ones. > Also, what directories am I supposed to create to allow the patch to run > smoothly? Please send me output of 'ls -l /home/mmercer/jdk1.4.0/jdk14' and 'find /home/mmercer/jdk1.4.0/jdk14 -name \*.rej' commands. > And how do tell it to use gcc32? I have successfully installed it. jdk1.4 is supposed to be compiled with base compiler only for both CURRENT and STABLE. > bsd i386 1.4.0-internal build started: 02-11-19 20:26 > current working directory = /home/mmercer/jdk1.4.0/jdk14/control/make > build machine = > TOPDIR = ./../.. > CONTROL_TOPDIR = ./../../control > GENERICS_TOPDIR = ./../../generics > HOTSPOT_TOPDIR = ./../../hotspot > J2SE_TOPDIR = ./../../j2se > MOTIF_TOPDIR = ./../../motif > COBUNDLE_TOPDIR = ./../../cobundle > JDK_VERSION = 1.4.0 > MILESTONE = internal > BUILD_NUMBER = mmercer_19_nov_2002_20_26 > PLATFORM = bsd > TRUE_PLATFORM = FreeBSD (4.x STABLE way) > ARCH = i386 > ARCH_FAMILY = i386 > ARCH_DATA_MODEL = 32 > BOOTDIR = /usr/local/linux-blackdown-jdk1.4.1 > OUTPUTDIR = ./../build/bsd-i386 > UNIXCOMMAND_PATH = /bin/ > COMPILER_PATH = /usr/bin/ > DEVTOOLS_PATH = /usr/local/bin/ > USRBIN_PATH = /usr/bin/ > MOTIF_DIR = /usr/X11R6 > HOTSPOT_CLIENT_PATH = > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/client > HOTSPOT_SERVER_PATH = > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/server > BUNDLE_PLATFORM = bsd > BUNDLE_DATE = 19_nov_2002 > J2SDK_LICENSE_PATH = > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/j2sdk-image/LICENSE > J2SDK_BUNDLE_PATH = > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/bundles/j2sdk-1_4_0-internal-bin-mmercer_19_nov_2002_20_26-bsd-19_nov_2002.tar > > FORTE_LICENSE_PATH = /java/re/forte4j/3.0/promoted/latest/utils/LICENCE.TXT > FORTE_BUNDLE_PATH = > /java/re/forte4j/3.0/promoted/latest/bundles/bsd/FFJ-dev-010817-f4j_ce.zip > Syntax error: "(" unexpected > gmake[1]: Entering directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make' > [: -ne: unexpected operator > gmake[1]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make' > > NOTE: Your build environment has the variable DEV_ONLY > defined. This will result in a development-only > build of the J2SE workspace, lacking the documentation > build and installation bundles. > > Sanity check passed. > /bin/mkdir -p ../build/bsd-i386/hotspot-i386/tmp > (cd ./../build/bsd-i386/hotspot-i386/tmp; \ > gmake -f /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/Makefile product \ > HOTSPOT_BUILD_VERSION=1.4.0-internal-mmercer_19_nov_2002_20_26 > GAMMADIR=/home/mmercer/jdk1.4.0/jdk14/hotspot ; ) > gmake[1]: Entering directory > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp' > sh /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/makefiles/buildATree.sh > compiler2 /home/mmercer/jdk1.4.0/jdk14/hotspot bsd i486 > (cd bsd_i486_compiler2/product; gmake) > gmake[2]: Entering directory > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' > > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://www.blackdown.org/cgi-bin/jdk > # > # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) > # > # Error ID: 4F533F4C494E55580E435050030B > # > gmake[2]: *** [../generated/MakeDeps.class] Abort trap (core dumped) > gmake[2]: Leaving directory > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' > > gmake[1]: *** [product] Error 2 > gmake[1]: Leaving directory > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp' > gmake: *** [product] Error 2 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 4:51:50 2002 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 8093E37B401 for ; Wed, 20 Nov 2002 04:51:46 -0800 (PST) Received: from ncsmtp03.ogw.rr.com (ncsmtp03.ogw.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB96743E77 for ; Wed, 20 Nov 2002 04:51:45 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from mail8.nc.rr.com (fe8 [24.93.67.55]) by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gAKCowij002784; Wed, 20 Nov 2002 07:51:17 -0500 (EST) Received: from nc.rr.com ([24.74.128.130]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 20 Nov 2002 07:50:45 -0500 Message-ID: <3DDB8545.CC58B4DB@nc.rr.com> Date: Wed, 20 Nov 2002 07:51:18 -0500 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.7-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alexey Zelkin Cc: freebsd-java@freebsd.org Subject: COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE... References: <3DDAE5F0.2EA59E1B@nc.rr.com> <20021120125215.A39920@phantom.cris.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello peoples, I logged in as root and ran the build commands. I noticed as root, 1) no syntax error reported. 2) linux-sun-1.4.1 works 3) currently compiling, will report on success or failure... Also note, the BUILD file with the patches states gcc32 is required for 4.7-STABLE, which is why I was asking about it earlier. The patch for XFree86-libraries, in order to get it to work inside the ports make structure, I had to remove the "xc/" from the --- and +++ lines in the file patch-imLcPrs.c. I then placed it in the files directory of XFree86-4-libraries and it was picked up. Thanks to all for such speedy replies. Michael Mercer Alexey Zelkin wrote: > On Tue, Nov 19, 2002 at 08:31:28PM -0500, Michael E Mercer wrote: > > Hello peoples, > > > > I am running 4.7-STABLE as of 11/13/2002 > > > > > uname -a > > FreeBSD dual.mmercer.com 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 13 01:11:43 > > EST 2002 > > root@dual.mmercer.com:/usr/obj/usr/src/sys/dualII_4_7 i386 > > > > > > I get the error below... notice the syntax error just after the ENV list... > > Also both sun and linux jdk's bomb out with the same error, also below. > > Strange. Did not expirienced any syntax errors before :-( Will take a look > on it. > > > Any ideas? > > First, you need to check is jdk actually works at your system. Just try > to execute 'java -version'. If it's not working I'd suggest to try to play > with linux_base ports. I am using linux-sun-jdk1.4.1 and linux_base-6.1_3 > ones. > > > Also, what directories am I supposed to create to allow the patch to run > > smoothly? > > Please send me output of 'ls -l /home/mmercer/jdk1.4.0/jdk14' and > 'find /home/mmercer/jdk1.4.0/jdk14 -name \*.rej' commands. > > > And how do tell it to use gcc32? I have successfully installed it. > > jdk1.4 is supposed to be compiled with base compiler only for both > CURRENT and STABLE. > > > bsd i386 1.4.0-internal build started: 02-11-19 20:26 > > current working directory = /home/mmercer/jdk1.4.0/jdk14/control/make > > build machine = > > TOPDIR = ./../.. > > CONTROL_TOPDIR = ./../../control > > GENERICS_TOPDIR = ./../../generics > > HOTSPOT_TOPDIR = ./../../hotspot > > J2SE_TOPDIR = ./../../j2se > > MOTIF_TOPDIR = ./../../motif > > COBUNDLE_TOPDIR = ./../../cobundle > > JDK_VERSION = 1.4.0 > > MILESTONE = internal > > BUILD_NUMBER = mmercer_19_nov_2002_20_26 > > PLATFORM = bsd > > TRUE_PLATFORM = FreeBSD (4.x STABLE way) > > ARCH = i386 > > ARCH_FAMILY = i386 > > ARCH_DATA_MODEL = 32 > > BOOTDIR = /usr/local/linux-blackdown-jdk1.4.1 > > OUTPUTDIR = ./../build/bsd-i386 > > UNIXCOMMAND_PATH = /bin/ > > COMPILER_PATH = /usr/bin/ > > DEVTOOLS_PATH = /usr/local/bin/ > > USRBIN_PATH = /usr/bin/ > > MOTIF_DIR = /usr/X11R6 > > HOTSPOT_CLIENT_PATH = > > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/client > > HOTSPOT_SERVER_PATH = > > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/server > > BUNDLE_PLATFORM = bsd > > BUNDLE_DATE = 19_nov_2002 > > J2SDK_LICENSE_PATH = > > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/j2sdk-image/LICENSE > > J2SDK_BUNDLE_PATH = > > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/bundles/j2sdk-1_4_0-internal-bin-mmercer_19_nov_2002_20_26-bsd-19_nov_2002.tar > > > > FORTE_LICENSE_PATH = /java/re/forte4j/3.0/promoted/latest/utils/LICENCE.TXT > > FORTE_BUNDLE_PATH = > > /java/re/forte4j/3.0/promoted/latest/bundles/bsd/FFJ-dev-010817-f4j_ce.zip > > Syntax error: "(" unexpected > > gmake[1]: Entering directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make' > > [: -ne: unexpected operator > > gmake[1]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make' > > > > NOTE: Your build environment has the variable DEV_ONLY > > defined. This will result in a development-only > > build of the J2SE workspace, lacking the documentation > > build and installation bundles. > > > > Sanity check passed. > > /bin/mkdir -p ../build/bsd-i386/hotspot-i386/tmp > > (cd ./../build/bsd-i386/hotspot-i386/tmp; \ > > gmake -f /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/Makefile product \ > > HOTSPOT_BUILD_VERSION=1.4.0-internal-mmercer_19_nov_2002_20_26 > > GAMMADIR=/home/mmercer/jdk1.4.0/jdk14/hotspot ; ) > > gmake[1]: Entering directory > > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp' > > sh /home/mmercer/jdk1.4.0/jdk14/hotspot/build/bsd/makefiles/buildATree.sh > > compiler2 /home/mmercer/jdk1.4.0/jdk14/hotspot bsd i486 > > (cd bsd_i486_compiler2/product; gmake) > > gmake[2]: Entering directory > > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' > > > > # > > # HotSpot Virtual Machine Error, Internal Error > > # Please report this error at > > # http://www.blackdown.org/cgi-bin/jdk > > # > > # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) > > # > > # Error ID: 4F533F4C494E55580E435050030B > > # > > gmake[2]: *** [../generated/MakeDeps.class] Abort trap (core dumped) > > gmake[2]: Leaving directory > > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp/bsd_i486_compiler2/product' > > > > gmake[1]: *** [product] Error 2 > > gmake[1]: Leaving directory > > `/home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/hotspot-i386/tmp' > > gmake: *** [product] Error 2 > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 6:42:25 2002 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 B21EB37B401 for ; Wed, 20 Nov 2002 06:42:24 -0800 (PST) Received: from mail1.uits.uconn.edu (mail1.uits.uconn.edu [137.99.25.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFE4743E3B for ; Wed, 20 Nov 2002 06:42:23 -0800 (PST) (envelope-from matt@forsetti.com) Received: from [137.99.80.149] (d80h149.public.uconn.edu [137.99.80.149]) by mail1.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id gAKEeWC16574 for ; Wed, 20 Nov 2002 09:40:32 -0500 Subject: IDEs From: Matt Smith To: java@freebsd.org Content-Type: text/plain Organization: Message-Id: <1037803230.1305.6.camel@d80h149.public.uconn.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Nov 2002 09:40:30 -0500 Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.2, required 6, AWL, SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org All- Are there certain IDEs you all use for Java coding? Of course, I expect vi, [x]emacs, jEdit, but how about complete environments? I have been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering what you all use that might be faster, but still as "all-inclusive" as Netbeans. Thanks all, -Matt -- Matt Smith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 6:48:11 2002 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 D99C037B401 for ; Wed, 20 Nov 2002 06:48:09 -0800 (PST) Received: from mail19.messagelabs.com (mail19.messagelabs.com [193.109.254.3]) by mx1.FreeBSD.org (Postfix) with SMTP id CB5E043E8A for ; Wed, 20 Nov 2002 06:48:08 -0800 (PST) (envelope-from jon.barber@acm.org) X-VirusChecked: Checked X-Env-Sender: jon.barber@acm.org X-Msg-Ref: server-3.tower-19.messagelabs.com!1037803466!51203 Received: (qmail 30909 invoked from network); 20 Nov 2002 14:44:26 -0000 Received: from exchange.microexpert.com.92.154.217.in-addr.arpa (HELO wrath.smartcardgroup.com) (217.154.92.227) by server-3.tower-19.messagelabs.com with SMTP; 20 Nov 2002 14:44:26 -0000 Received: from acm.org ([192.168.100.155]) by wrath.smartcardgroup.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 20 Nov 2002 14:44:38 +0000 Message-ID: <3DDB9FD5.1020704@acm.org> Date: Wed, 20 Nov 2002 14:44:37 +0000 From: Jon Barber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Smith Cc: java@freebsd.org Subject: Re: IDEs References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> In-Reply-To: <1037803230.1305.6.camel@d80h149.public.uconn.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Nov 2002 14:44:38.0131 (UTC) FILETIME=[59D9CC30:01C290A3] Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com http://www.intellij.com/idea/ Seriously, I've been using IDEs for 6 years or so, and previously JBuilder was my favourite, but IDEA is by far the best I have tried. Jon. Matt Smith wrote: >All- > Are there certain IDEs you all use for Java coding? Of course, I >expect vi, [x]emacs, jEdit, but how about complete environments? I have >been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but >find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering >what you all use that might be faster, but still as "all-inclusive" as >Netbeans. > >Thanks all, >-Matt > > > ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 6:56:33 2002 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 99F2E37B401 for ; Wed, 20 Nov 2002 06:56:31 -0800 (PST) Received: from mail2.uits.uconn.edu (mail2.uits.uconn.edu [137.99.25.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C93D43E75 for ; Wed, 20 Nov 2002 06:56:30 -0800 (PST) (envelope-from matt@forsetti.com) Received: from [137.99.80.149] (d80h149.public.uconn.edu [137.99.80.149]) by mail2.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id gAKEuPd21117 for ; Wed, 20 Nov 2002 09:56:25 -0500 Subject: Re: IDEs From: Matt Smith Cc: java@freebsd.org In-Reply-To: <3DDB9FD5.1020704@acm.org> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> Content-Type: text/plain Organization: Message-Id: <1037804184.1305.8.camel@d80h149.public.uconn.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Nov 2002 09:56:24 -0500 Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.1, required 6, AWL, IN_REP_TO, MISSING_HEADERS, QUOTED_EMAIL_TEXT, REFERENCES, SIGNATURE_SHORT_DENSE, SPAM_PHRASE_03_05) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jon- Thanks for the FAST reply. I will check it out! Have you ever used Netbeans/Forte/Sun One Studio? Can you compare it to IntelliJ? -Matt On Wed, 2002-11-20 at 09:44, Jon Barber wrote: > IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > http://www.intellij.com/idea/ > > Seriously, I've been using IDEs for 6 years or so, and previously > JBuilder was my favourite, but IDEA is by far the best I have tried. > > Jon. > > Matt Smith wrote: > > >All- > > Are there certain IDEs you all use for Java coding? Of course, I > >expect vi, [x]emacs, jEdit, but how about complete environments? I have > >been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > >find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > >what you all use that might be faster, but still as "all-inclusive" as > >Netbeans. > > > >Thanks all, > >-Matt > > > > > > > > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service working > around the clock, around the globe, visit http://www.messagelabs.com > ________________________________________________________________________ -- Matt Smith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 7:11:22 2002 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 7097237B404 for ; Wed, 20 Nov 2002 07:11:21 -0800 (PST) Received: from popelschnipser.de (ultrakoreggd.org [217.160.78.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 80DEF43EA3 for ; Wed, 20 Nov 2002 07:11:19 -0800 (PST) (envelope-from marc@informatik.uni-bremen.de) Received: (qmail 7567 invoked by uid 1048); 20 Nov 2002 15:11:17 -0000 Received: from marc@informatik.uni-bremen.de by p10089345 by uid 1045 with qmail-scanner-1.14 (spamassassin: 2.42. Clear:. Processed in 0.229707 secs); 20 Nov 2002 15:11:17 -0000 Received: from unknown (HELO ?192.168.100.100?) (80.134.178.47) by ultrakoreggd.org with SMTP; 20 Nov 2002 15:11:17 -0000 Date: Wed, 20 Nov 2002 16:11:14 +0100 From: Marc Recht To: Matt Smith , java@FreeBSD.ORG Subject: Re: IDEs Message-ID: <67370000.1037805074@leeloo.intern.geht.de> In-Reply-To: <1037803230.1305.6.camel@d80h149.public.uconn.edu> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> X-Mailer: Mulberry/3.0.0a5 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Are there certain IDEs you all use for Java coding? Of course, I > expect vi, [x]emacs, jEdit, but how about complete environments? I have > been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > what you all use that might be faster, but still as "all-inclusive" as > Netbeans. Eclipse - http://www.eclipse.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 7:17:10 2002 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 AD90537B406 for ; Wed, 20 Nov 2002 07:17:07 -0800 (PST) Received: from mail19.messagelabs.com (mail19.messagelabs.com [193.109.254.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 3D53E43E9E for ; Wed, 20 Nov 2002 07:17:06 -0800 (PST) (envelope-from jon.barber@acm.org) X-VirusChecked: Checked X-Env-Sender: jon.barber@acm.org X-Msg-Ref: server-25.tower-19.messagelabs.com!1037805422!53149 Received: (qmail 14009 invoked from network); 20 Nov 2002 15:17:02 -0000 Received: from exchange.microexpert.com.92.154.217.in-addr.arpa (HELO wrath.smartcardgroup.com) (217.154.92.227) by server-25.tower-19.messagelabs.com with SMTP; 20 Nov 2002 15:17:02 -0000 Received: from acm.org ([192.168.100.155]) by wrath.smartcardgroup.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 20 Nov 2002 15:16:23 +0000 Message-ID: <3DDBA747.9070503@acm.org> Date: Wed, 20 Nov 2002 15:16:23 +0000 From: Jon Barber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Smith Cc: java@freebsd.org Subject: Re: IDEs References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037804184.1305.8.camel@d80h149.public.uconn.edu> In-Reply-To: <1037803230.1305.6.camel@d80h149.public.uconn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Nov 2002 15:16:23.0250 (UTC) FILETIME=[C963E320:01C290A7] Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Matt Smith wrote: >Jon- > Thanks for the FAST reply. I will check it out! Have you ever used >Netbeans/Forte/Sun One Studio? Can you compare it to IntelliJ? > I've used both NetBeans & Forte, though not the most recent versions. Never tried Sun One Studio, though I suspect this is Forte renamed ? Anyway, I found them to be too heavy on system usage & do stuff I didn't want. IDEA starts up pretty fast & seems light on resources, which I like as I develop mainly on a laptop. IDEA has some very nice refactoring facilities. For example, it tells you straight away what imports are redundant and can sort them out for you. You can highlight a section of code within a method and extract that selection to a new method, and IDEA will take care of generating the signature etc. You can also use a class that has no correct import at the top of the file & IDEA will try and work out which package it is in. If it is correct you tell it so (by hitting ctrl+enter, I think) and it inserts the import for you. I've worked on projects with 1000+ classes etc, and I would not hesitate to use IDEA on them (we used JBuilder, which was perfectly OK, but IDEA would have been better for me). IDEA is really a lightweight editor with neat refactoring and intelligence about how to code java. The tag line is 'develop with pleasure', and that certainly has been my experience. Well worth $399 (I think). Jon. >-Matt >On Wed, 2002-11-20 at 09:44, Jon Barber wrote: > > >>IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com >>http://www.intellij.com/idea/ >> >>Seriously, I've been using IDEs for 6 years or so, and previously >>JBuilder was my favourite, but IDEA is by far the best I have tried. >> >>Jon. >> >>Matt Smith wrote: >> >> >> >>>All- >>> Are there certain IDEs you all use for Java coding? Of course, I >>>expect vi, [x]emacs, jEdit, but how about complete environments? I have >>>been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but >>>find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering >>>what you all use that might be faster, but still as "all-inclusive" as >>>Netbeans. >>> >>>Thanks all, >>>-Matt >>> >>> >>> >>> >>> >> >>________________________________________________________________________ >>This email has been scanned for all viruses by the MessageLabs SkyScan >>service. For more information on a proactive anti-virus service working >>around the clock, around the globe, visit http://www.messagelabs.com >>________________________________________________________________________ >> >> ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 7:18:19 2002 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 A44B637B401 for ; Wed, 20 Nov 2002 07:18:18 -0800 (PST) Received: from beavis.abacus.co.uk (beavis.abacus.co.uk [212.137.18.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C5243E3B for ; Wed, 20 Nov 2002 07:18:16 -0800 (PST) (envelope-from antony@abacus.co.uk) Received: from mailgate.abacus.co.uk (smtp [212.137.18.217]) by beavis.abacus.co.uk (8.11.6/8.11.6) with ESMTP id gAKF1bc39521 for ; Wed, 20 Nov 2002 15:01:37 GMT (envelope-from antony@abacus.co.uk) Received: from abacus.co.uk (dhcp-bl71.abacus.co.uk [192.168.99.71]) by mailgate.abacus.co.uk (8.9.3/8.9.3) with ESMTP id PAA07696; Wed, 20 Nov 2002 15:01:40 GMT Message-ID: <3DDBA3D0.4030407@abacus.co.uk> Date: Wed, 20 Nov 2002 15:01:36 +0000 From: Antony T Curtis User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20020916 X-Accept-Language: en-gb, en, en-us MIME-Version: 1.0 To: Matt Smith Cc: java@FreeBSD.ORG Subject: Re: IDEs References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am currently using JBuilder 7 on FreeBSD 4.7-S.... It is a PIII 800 with 512MB RAM and it works quite well. Matt Smith wrote: > All- > Are there certain IDEs you all use for Java coding? Of course, I > expect vi, [x]emacs, jEdit, but how about complete environments? I have > been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > what you all use that might be faster, but still as "all-inclusive" as > Netbeans. > > Thanks all, > -Matt > -- ANTONY T CURTIS Tel: +44 (1635) 36222 Abacus Polar Holdings Ltd Fax: +44 (1635) 38670 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 7:30:17 2002 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 6A85B37B404 for ; Wed, 20 Nov 2002 07:30:15 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5D60543E9C for ; Wed, 20 Nov 2002 07:30:14 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 16295 invoked by uid 0); 20 Nov 2002 15:30:13 -0000 Received: from unknown (HELO ?172.16.32.190?) (212.204.32.190) by mail.gmx.net (mp015-rz3) with SMTP; 20 Nov 2002 15:30:13 -0000 Subject: Re: IDEs From: Andreas Kohn To: Jon Barber Cc: Matt Smith , java@freebsd.org In-Reply-To: <3DDB9FD5.1020704@acm.org> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> Content-Type: text/plain Organization: Message-Id: <1037806247.69397.22.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Nov 2002 16:30:48 +0100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello! Which JDK do I need for IDEA? I'm currently using native jdk1.3, but it won't start up [ klamath# ./idea.sh Exception in thread "main" java.lang.UnsupportedClassVersionError: com/intellij/idea/Main (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) ] Which JDK do you use? This is a FreeBSD-STABLE [FreeBSD klamath.ankon.homeip.net 4.7-STABLE FreeBSD 4.7-STABLE #4: Wed Nov 13 21:29:49 CET 2002 andreas@klamath.ankon.homeip.net:/storage/usr/obj/usr/src/sys/KLAMATH i386] Regards, Andreas Kohn Am Wed, 2002-11-20 um 15.44 schrieb Jon Barber: > IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > http://www.intellij.com/idea/ > > Seriously, I've been using IDEs for 6 years or so, and previously > JBuilder was my favourite, but IDEA is by far the best I have tried. > > Jon. > > Matt Smith wrote: > > >All- > > Are there certain IDEs you all use for Java coding? Of course, I > >expect vi, [x]emacs, jEdit, but how about complete environments? I have > >been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > >find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > >what you all use that might be faster, but still as "all-inclusive" as > >Netbeans. > > > >Thanks all, > >-Matt > > > > > > > > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service working > around the clock, around the globe, visit http://www.messagelabs.com > ________________________________________________________________________ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Andreas Kohn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 7:36:27 2002 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 95B0C37B401 for ; Wed, 20 Nov 2002 07:36:26 -0800 (PST) Received: from mail19.messagelabs.com (mail19.messagelabs.com [193.109.254.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 9164043E4A for ; Wed, 20 Nov 2002 07:36:25 -0800 (PST) (envelope-from jon.barber@acm.org) X-VirusChecked: Checked X-Env-Sender: jon.barber@acm.org X-Msg-Ref: server-20.tower-19.messagelabs.com!1037806552!57198 Received: (qmail 447 invoked from network); 20 Nov 2002 15:35:52 -0000 Received: from exchange.microexpert.com.92.154.217.in-addr.arpa (HELO wrath.smartcardgroup.com) (217.154.92.227) by server-20.tower-19.messagelabs.com with SMTP; 20 Nov 2002 15:35:52 -0000 Received: from acm.org ([192.168.100.155]) by wrath.smartcardgroup.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 20 Nov 2002 15:35:33 +0000 Message-ID: <3DDBABC5.1070400@acm.org> Date: Wed, 20 Nov 2002 15:35:33 +0000 From: Jon Barber User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Kohn Cc: Matt Smith , java@freebsd.org Subject: Re: IDEs References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037806247.69397.22.camel@klamath.ankon.homeip.net> In-Reply-To: <1037803230.1305.6.camel@d80h149.public.uconn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Nov 2002 15:35:33.0805 (UTC) FILETIME=[772CA5D0:01C290AA] Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well, to be honest I don't develop under FreeBSD (gulp) , I use Win32, but I'd prefer to develop under Unix of some sort. What has stopped me so far has been the apalling fonts under JDKs for Unix. I know you can install your own fonts for the JDKs but to be frank I couldn't be bothered, so until recently its been Win32 for me. However, the latest version of IDEA (version 3.0, just released) uses JRE 1.4 from scratch, and this has much better default fonts under Linux, so maybe I will give it a go. But to answer the question :-) I've never had this problem under Win32. Have you tried version 3.0 under FreeBSD ? Jon. Andreas Kohn wrote: >Hello! > >Which JDK do I need for IDEA? I'm currently using native jdk1.3, but it >won't start up >[ > > > ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 8:11: 7 2002 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 5908037B401 for ; Wed, 20 Nov 2002 08:11:06 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6199243E75 for ; Wed, 20 Nov 2002 08:11:05 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18EXRQ-0000Jx-04 for freebsd-java@freebsd.org; Wed, 20 Nov 2002 09:11:05 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18EXRP-0000Jd-00; Wed, 20 Nov 2002 09:11:04 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gAKGAur51750; Thu, 21 Nov 2002 02:40:56 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 21 Nov 2002 02:40:55 +1030 From: Greg Lewis To: Michael E Mercer Cc: Alexey Zelkin , freebsd-java@FreeBSD.ORG Subject: Re: COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE... Message-ID: <20021121024054.A51711@misty.eyesbeyond.com> References: <3DDAE5F0.2EA59E1B@nc.rr.com> <20021120125215.A39920@phantom.cris.net> <3DDB8545.CC58B4DB@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DDB8545.CC58B4DB@nc.rr.com>; from mmercer@nc.rr.com on Wed, Nov 20, 2002 at 07:51:18AM -0500 X-Spam-Status: No, hits=-1.7 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SEARCH_ENGINE_PROMO, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Nov 20, 2002 at 07:51:18AM -0500, Michael E Mercer wrote: > Hello peoples, > > I logged in as root and ran the build commands. > I noticed as root, > 1) no syntax error reported. > 2) linux-sun-1.4.1 works > 3) currently compiling, will report on success or failure... There are some notes either in the archives or in PRs that deal with this about how one can work around having to be root. It involves recompiling your kernel though :(. > Also note, the BUILD file with the patches states gcc32 is required for 4.7-STABLE, which > is why I was asking about it earlier. Argh! I thought I took that out. My bad. I'm changing that file to avoid confusing other people. Thanks for the report. > The patch for XFree86-libraries, in order to get it to work inside the ports make structure, > I had to remove the "xc/" from the --- and +++ lines in the file patch-imLcPrs.c. > I then placed it in the files directory of XFree86-4-libraries and it was picked up. Alexey, is the patch something we can submit to the maintainer of XFree86-4-libraries for inclusion? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 9:35:10 2002 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 213DC37B401 for ; Wed, 20 Nov 2002 09:35:08 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id A99BA43E8A for ; Wed, 20 Nov 2002 09:35:04 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gAKKd9qj062574; Wed, 20 Nov 2002 20:39:10 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAKHdkum043452; Wed, 20 Nov 2002 19:39:46 +0200 (EET) (envelope-from ml) Date: Wed, 20 Nov 2002 19:39:46 +0200 From: Alexey Zelkin To: Andreas Kohn Cc: Jon Barber , Matt Smith , java@FreeBSD.ORG Subject: Re: IDEs Message-ID: <20021120193946.A43416@phantom.cris.net> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037806247.69397.22.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1037806247.69397.22.camel@klamath.ankon.homeip.net>; from andreas.kohn@gmx.net on Wed, Nov 20, 2002 at 04:30:48PM +0100 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, Hmm... That's strange. Can you please try it with linux-sun jdk 1.3 ? I have tried IDEA 2.5.2 as final exercise with local built snapshot of jdk1.4-p1 before its public release. It worked fine, but I've got a IDEA's warning on setup that jdk1.4 is highly NOT recomended with it. And proposed me to setup jdk1.3 instead. So, I think it's local or FreeBSD port problem, which need to be addressed. On Wed, Nov 20, 2002 at 04:30:48PM +0100, Andreas Kohn wrote: > Hello! > > Which JDK do I need for IDEA? I'm currently using native jdk1.3, but it > won't start up > [ > klamath# ./idea.sh > Exception in thread "main" java.lang.UnsupportedClassVersionError: > com/intellij/idea/Main (Unsupported major.minor version 48.0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > ] > > Which JDK do you use? > > This is a FreeBSD-STABLE [FreeBSD klamath.ankon.homeip.net 4.7-STABLE > FreeBSD 4.7-STABLE #4: Wed Nov 13 21:29:49 CET 2002 > andreas@klamath.ankon.homeip.net:/storage/usr/obj/usr/src/sys/KLAMATH > i386] > > Regards, > Andreas Kohn > > Am Wed, 2002-11-20 um 15.44 schrieb Jon Barber: > > IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > > http://www.intellij.com/idea/ > > > > Seriously, I've been using IDEs for 6 years or so, and previously > > JBuilder was my favourite, but IDEA is by far the best I have tried. > > > > Jon. > > > > Matt Smith wrote: > > > > >All- > > > Are there certain IDEs you all use for Java coding? Of course, I > > >expect vi, [x]emacs, jEdit, but how about complete environments? I have > > >been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > > >find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > > >what you all use that might be faster, but still as "all-inclusive" as > > >Netbeans. > > > > > >Thanks all, > > >-Matt > > > > > > > > > > > > > > > > > ________________________________________________________________________ > > This email has been scanned for all viruses by the MessageLabs SkyScan > > service. For more information on a proactive anti-virus service working > > around the clock, around the globe, visit http://www.messagelabs.com > > ________________________________________________________________________ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > -- > Andreas Kohn > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 9:43:27 2002 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 8C0CC37B401 for ; Wed, 20 Nov 2002 09:43:26 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id B045E43E4A for ; Wed, 20 Nov 2002 09:43:23 -0800 (PST) (envelope-from phantom@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gAKKkbqj062752; Wed, 20 Nov 2002 20:46:37 GMT Received: (from phantom@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAKHlA6k043540; Wed, 20 Nov 2002 19:47:10 +0200 (EET) (envelope-from phantom) Date: Wed, 20 Nov 2002 19:47:10 +0200 From: Alexey Zelkin To: Greg Lewis Cc: Michael E Mercer , freebsd-java@FreeBSD.ORG Subject: Re: COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE... Message-ID: <20021120194710.A43517@phantom.cris.net> References: <3DDAE5F0.2EA59E1B@nc.rr.com> <20021120125215.A39920@phantom.cris.net> <3DDB8545.CC58B4DB@nc.rr.com> <20021121024054.A51711@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021121024054.A51711@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Thu, Nov 21, 2002 at 02:40:55AM +1030 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, On Thu, Nov 21, 2002 at 02:40:55AM +1030, Greg Lewis wrote: > On Wed, Nov 20, 2002 at 07:51:18AM -0500, Michael E Mercer wrote: > > Hello peoples, > > > > I logged in as root and ran the build commands. > > I noticed as root, > > 1) no syntax error reported. > > 2) linux-sun-1.4.1 works > > 3) currently compiling, will report on success or failure... > > There are some notes either in the archives or in PRs that deal with this > about how one can work around having to be root. It involves recompiling > your kernel though :(. I think these notes need to be reflected in linux-*-jdk14 port post-install-messages. Along with suggestion how to fix them of course. > > The patch for XFree86-libraries, in order to get it to work inside the ports make structure, > > I had to remove the "xc/" from the --- and +++ lines in the file patch-imLcPrs.c. > > I then placed it in the files directory of XFree86-4-libraries and it was picked up. > > Alexey, is the patch something we can submit to the maintainer of > XFree86-4-libraries for inclusion? I have no problem with submission them to port, but it's rather hack than fix. So, anyway I think it's wroth to have it in default ports tree (maybe with some tweaks) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 9:59:21 2002 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 D93E737B401 for ; Wed, 20 Nov 2002 09:59:18 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 441CD43E3B for ; Wed, 20 Nov 2002 09:59:16 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gAKKhdqj062711; Wed, 20 Nov 2002 20:43:39 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAKHiIV8043506; Wed, 20 Nov 2002 19:44:18 +0200 (EET) (envelope-from ml) Date: Wed, 20 Nov 2002 19:44:18 +0200 From: Alexey Zelkin To: Jon Barber Cc: Matt Smith , java@FreeBSD.ORG Subject: Re: IDEs Message-ID: <20021120194418.B43416@phantom.cris.net> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037804184.1305.8.camel@d80h149.public.uconn.edu> <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDBA747.9070503@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DDBA747.9070503@acm.org>; from jon.barber@acm.org on Wed, Nov 20, 2002 at 03:16:23PM +0000 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, Almost agree with this point of view. Except one point -- from my expirience IDEA is very memory sentensive beast. But it allows it be much more fast and comfortable than JBuilder. ps: my personal HO, of course. On Wed, Nov 20, 2002 at 03:16:23PM +0000, Jon Barber wrote: > Matt Smith wrote: > > >Jon- > > Thanks for the FAST reply. I will check it out! Have you ever used > >Netbeans/Forte/Sun One Studio? Can you compare it to IntelliJ? > > > I've used both NetBeans & Forte, though not the most recent versions. > Never tried Sun One Studio, though I suspect this is Forte renamed ? > Anyway, I found them to be too heavy on system usage & do stuff I > didn't want. IDEA starts up pretty fast & seems light on resources, > which I like as I develop mainly on a laptop. > > IDEA has some very nice refactoring facilities. For example, it tells > you straight away what imports are redundant and can sort them out for > you. You can highlight a section of code within a method and extract > that selection to a new method, and IDEA will take care of generating > the signature etc. You can also use a class that has no correct import > at the top of the file & IDEA will try and work out which package it is > in. If it is correct you tell it so (by hitting ctrl+enter, I think) > and it inserts the import for you. > > I've worked on projects with 1000+ classes etc, and I would not hesitate > to use IDEA on them (we used JBuilder, which was perfectly OK, but IDEA > would have been better for me). > > IDEA is really a lightweight editor with neat refactoring and > intelligence about how to code java. The tag line is 'develop with > pleasure', and that certainly has been my experience. Well worth $399 > (I think). > > Jon. > > >-Matt > >On Wed, 2002-11-20 at 09:44, Jon Barber wrote: > > > > > >>IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > >>http://www.intellij.com/idea/ > >> > >>Seriously, I've been using IDEs for 6 years or so, and previously > >>JBuilder was my favourite, but IDEA is by far the best I have tried. > >> > >>Jon. > >> > >>Matt Smith wrote: > >> > >> > >> > >>>All- > >>> Are there certain IDEs you all use for Java coding? Of course, I > >>>expect vi, [x]emacs, jEdit, but how about complete environments? I have > >>>been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > >>>find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > >>>what you all use that might be faster, but still as "all-inclusive" as > >>>Netbeans. > >>> > >>>Thanks all, > >>>-Matt > >>> > >>> > >>> > >>> > >>> > >> > >>________________________________________________________________________ > >>This email has been scanned for all viruses by the MessageLabs SkyScan > >>service. For more information on a proactive anti-virus service working > >>around the clock, around the globe, visit http://www.messagelabs.com > >>________________________________________________________________________ > >> > >> > > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service working > around the clock, around the globe, visit http://www.messagelabs.com > ________________________________________________________________________ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 12:10:46 2002 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 B648937B404 for ; Wed, 20 Nov 2002 12:10:41 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 208A343E8A for ; Wed, 20 Nov 2002 12:10:40 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 4770 invoked by uid 0); 20 Nov 2002 20:10:38 -0000 Received: from unknown (HELO ?172.16.32.190?) (212.204.32.190) by mail.gmx.net (mp019-rz3) with SMTP; 20 Nov 2002 20:10:38 -0000 Subject: Re: IDEs From: Andreas Kohn To: Alexey Zelkin Cc: Jon Barber , Matt Smith , java@FreeBSD.ORG In-Reply-To: <20021120193946.A43416@phantom.cris.net> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037806247.69397.22.camel@klamath.ankon.homeip.net> <20021120193946.A43416@phantom.cris.net> Content-Type: multipart/mixed; boundary="=-5pY/7YxDvNuC6UJfz4Mt" Organization: Message-Id: <1037823071.69397.75.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Nov 2002 21:11:14 +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-5pY/7YxDvNuC6UJfz4Mt Content-Type: text/plain Content-Transfer-Encoding: 7bit Am Wed, 2002-11-20 um 18.39 schrieb Alexey Zelkin: > hi, > > Hmm... That's strange. Can you please try it with linux-sun jdk 1.3 ? Done. Doesn't work either. My current attempts to make it run: (this is all about idea 3.0, I couldn't find an older version to try yet.) Generic UN*X download 1. untar it, link the jre directories to the right positions as mentioned in Install.txt, same with the libs 2. cd bin; ./idea.sh -> this results in the first error. 3. set JDK_HOME, JAVA_HOME, PATH to point to the linux-sun-jdk1.3.1, change jre and libs 4. run idea.sh: same error message as before, but with different line numbers (!?) ---8<----- klamath# ./idea.sh Exception in thread "main" java.lang.UnsupportedClassVersionError: com/intellij/idea/Main (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:488) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) at java.net.URLClassLoader.defineClass(URLClassLoader.java:243) at java.net.URLClassLoader.access$100(URLClassLoader.java:51) at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) klamath# java -version java version "1.3.1_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_05-b02) Classic VM (build 1.3.1_05-b02, green threads, nojit) klamath# which java /usr/local/linux-sun-jdk1.3.1/bin/java klamath# echo $JDK_HOME /usr/local/linux-sun-jdk1.3.1 klamath# echo $JAVA_HOME /usr/local/linux-sun-jdk1.3.1 ---->8------ Now, I downloaded the Linux binary installer. Everything seemed to work well, besides 2 points: 1. The installer took a quite long time to close itself after I pressed the final "done" button. 2. It didn't install symlinks into /usr/local/bin, as it was instructed. Running idea gives me a signal 11, full error message is attached. This signal occured shortly after I saw the main window of IDEA, it even asked me for my evaluation licence key and user name. Pay attention to the fact that the JRE it ran was 1.4.1, which was apparently included in the download. Trying to force it to use the installed native jdk didn't work with the following error Unable to locate the application's 'main' class. The class 'com.intellij.idea.Main' must be public and have a 'public static void main(String[])' method. (LAX) (I only set lax.nl.vm.current in the bin/idea.lax file to my java, is there more to be done?) My next steps are trying the JDK 1.4-p1 native version, but compiling the JDK on my machine will require much time. If there is more information that I can provide, please tell me. I'm willing to spend some time on this. Thanks, Andreas. PS: I read the Install.txt again, it says it will need the JDK 1.4, so perhaps this will work soon. I'll post a message whether it does then. > > I have tried IDEA 2.5.2 as final exercise with local built snapshot > of jdk1.4-p1 before its public release. It worked fine, but I've got > a IDEA's warning on setup that jdk1.4 is highly NOT recomended with > it. And proposed me to setup jdk1.3 instead. So, I think it's local or > FreeBSD port problem, which need to be addressed. > > On Wed, Nov 20, 2002 at 04:30:48PM +0100, Andreas Kohn wrote: > > Hello! > > > > Which JDK do I need for IDEA? I'm currently using native jdk1.3, but it > > won't start up > > [ > > klamath# ./idea.sh > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > > com/intellij/idea/Main (Unsupported major.minor version 48.0) > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > > at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > > ] > > > > Which JDK do you use? > > > > This is a FreeBSD-STABLE [FreeBSD klamath.ankon.homeip.net 4.7-STABLE > > FreeBSD 4.7-STABLE #4: Wed Nov 13 21:29:49 CET 2002 > > andreas@klamath.ankon.homeip.net:/storage/usr/obj/usr/src/sys/KLAMATH > > i386] > > > > Regards, > > Andreas Kohn > > > > Am Wed, 2002-11-20 um 15.44 schrieb Jon Barber: > > > IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > > > http://www.intellij.com/idea/ > > > > > > Seriously, I've been using IDEs for 6 years or so, and previously > > > JBuilder was my favourite, but IDEA is by far the best I have tried. > > > > > > Jon. > > > > > > Matt Smith wrote: > > > > > > >All- > > > > Are there certain IDEs you all use for Java coding? Of course, I > > > >expect vi, [x]emacs, jEdit, but how about complete environments? I have > > > >been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > > > >find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > > > >what you all use that might be faster, but still as "all-inclusive" as > > > >Netbeans. > > > > > > > >Thanks all, > > > >-Matt -- Andreas Kohn --=-5pY/7YxDvNuC6UJfz4Mt Content-Disposition: attachment; filename=hs_err_pid83036.log Content-Type: text/plain; name=hs_err_pid83036.log; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Unexpected Signal : 11 occurred at PC=0x2A19BEBF Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 83078 Local Time = Wed Nov 20 19:52:17 2002 Elapsed Time = 245 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002E6 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # --=-5pY/7YxDvNuC6UJfz4Mt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 12:19: 1 2002 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 18F5E37B401 for ; Wed, 20 Nov 2002 12:19:00 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E64B43E9E for ; Wed, 20 Nov 2002 12:18:57 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 4099 invoked by uid 0); 20 Nov 2002 20:18:50 -0000 Received: from unknown (HELO ?172.16.32.190?) (212.204.32.190) by mail.gmx.net (mp013-rz3) with SMTP; 20 Nov 2002 20:18:50 -0000 Subject: Re: IDEs From: Andreas Kohn To: Jon Barber Cc: Matt Smith , java@freebsd.org In-Reply-To: <3DDBABC5.1070400@acm.org> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037806247.69397.22.camel@klamath.ankon.homeip.net> <3DDBABC5.1070400@acm.org> Content-Type: text/plain Organization: Message-Id: <1037823567.69397.83.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Nov 2002 21:19:28 +0100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, Am Wed, 2002-11-20 um 16.35 schrieb Jon Barber: > Well, to be honest I don't develop under FreeBSD (gulp) , I use Win32, > but I'd prefer to develop under Unix of some sort. What has stopped me > so far has been the apalling fonts under JDKs for Unix. > > I know you can install your own fonts for the JDKs but to be frank I > couldn't be bothered, so until recently its been Win32 for me. However, > the latest version of IDEA (version 3.0, just released) uses JRE 1.4 > from scratch, and this has much better default fonts under Linux, so > maybe I will give it a go. > > But to answer the question :-) I've never had this problem under Win32. > Have you tried version 3.0 under FreeBSD ? > Yes, this is idea 3.0, I tried both the generic unix version (build 676) with jdk 1.3 (presumably my error is here, working on the linux-sun-jdk14 and native jdk14 now), and the linux version (idea-30.bin) with the included jre 1.4. This resulted in an HotSpot error, more in the other message I sent in this thread. Thanks, Andreas. > Jon. > > Andreas Kohn wrote: > > >Hello! > > > >Which JDK do I need for IDEA? I'm currently using native jdk1.3, but it > >won't start up To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 12:33:44 2002 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 05BCD37B401 for ; Wed, 20 Nov 2002 12:33:44 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B70543E6E for ; Wed, 20 Nov 2002 12:33:42 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 6931 invoked by uid 0); 20 Nov 2002 20:33:41 -0000 Received: from unknown (HELO ?172.16.32.190?) (212.204.32.190) by mail.gmx.net (mp002-rz3) with SMTP; 20 Nov 2002 20:33:41 -0000 Subject: Re: IDEs From: Andreas Kohn To: Alexey Zelkin Cc: Jon Barber , Matt Smith , java@FreeBSD.ORG In-Reply-To: <1037823071.69397.75.camel@klamath.ankon.homeip.net> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037806247.69397.22.camel@klamath.ankon.homeip.net> <20021120193946.A43416@phantom.cris.net> <1037823071.69397.75.camel@klamath.ankon.homeip.net> Content-Type: text/plain Organization: Message-Id: <1037824457.69397.87.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Nov 2002 21:34:18 +0100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Am Wed, 2002-11-20 um 21.11 schrieb Andreas Kohn: > My next steps are trying the JDK 1.4-p1 native version, but compiling > the JDK on my machine will require much time. Just a short notice: I installed the linux-sun-jdk14 port and tried the generic unix version again, exactly the same error as with the bundled JRE in idea-30.bin. Same error code, same PC. --Andreas. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 19:24:12 2002 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 8987537B401 for ; Wed, 20 Nov 2002 19:24:09 -0800 (PST) Received: from ncsmtp03.ogw.rr.com (ncsmtp03.ogw.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB3CE43E8A for ; Wed, 20 Nov 2002 19:24:08 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from mail4.nc.rr.com (fe4 [24.93.67.51]) by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gAL3NViZ022956; Wed, 20 Nov 2002 22:23:32 -0500 (EST) Received: from nc.rr.com ([24.74.128.130]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 20 Nov 2002 22:24:21 -0500 Message-ID: <3DDC51CC.7DE9DBDA@nc.rr.com> Date: Wed, 20 Nov 2002 22:23:56 -0500 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.7-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alexey Zelkin Cc: Greg Lewis , freebsd-java@freebsd.org Subject: Re: COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE... References: <3DDAE5F0.2EA59E1B@nc.rr.com> <20021120125215.A39920@phantom.cris.net> <3DDB8545.CC58B4DB@nc.rr.com> <20021121024054.A51711@misty.eyesbeyond.com> <20021120194710.A43517@phantom.cris.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello peoples, I got this error: Constructing Javadoc information... >>> Generating beaninfo for javax.swing.AbstractButton... javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException java.lang.UnsatisfiedLinkError: /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/lib/i386/libawt.so: /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/lib/i386/libawt.so: Undefined symbol "_XEditResResetStream" at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1396) at java.lang.Runtime.loadLibrary0(Runtime.java:772) at java.lang.System.loadLibrary(System.java:832) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38) at sun.awt.DebugHelper.(DebugHelper.java:29) at java.awt.Component.(Component.java:502) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at GenSwingBeanInfo.getClass(GenSwingBeanInfo.java:472) at GenSwingBeanInfo.genBeanInfo(GenSwingBeanInfo.java:355) at GenDocletBeanInfo.start(GenDocletBeanInfo.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:196) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:95) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:288) at com.sun.tools.javadoc.Start.begin(Start.java:114) at com.sun.tools.javadoc.Main.execute(Main.java:44) at com.sun.tools.javadoc.Main.main(Main.java:34) 1 error gmake[3]: *** [.javadoc.beanlist] Error 1 gmake[3]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make/javax/swing/beaninfo' gmake[2]: *** [swing-1.2-beans] Error 2 gmake[2]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make/javax/swing/beaninfo' gmake[1]: *** [image-jdk] Error 2 gmake[1]: Leaving directory `/home/mmercer/jdk1.4.0/jdk14/j2se/make' gmake: *** [j2se-build] Error 2 mmercer has logged on ttyp6 from :0.0. mmercer has logged on ttyp7 from :0.0. root on dual(ttyp1), 2002/11/20 Wed 11:31:36 /home/mmercer/jdk1.4.0 > echo $DEV_ONLY YES Is it something I should be worried about? later MEM Alexey Zelkin wrote: > hi, > > On Thu, Nov 21, 2002 at 02:40:55AM +1030, Greg Lewis wrote: > > On Wed, Nov 20, 2002 at 07:51:18AM -0500, Michael E Mercer wrote: > > > Hello peoples, > > > > > > I logged in as root and ran the build commands. > > > I noticed as root, > > > 1) no syntax error reported. > > > 2) linux-sun-1.4.1 works > > > 3) currently compiling, will report on success or failure... > > > > There are some notes either in the archives or in PRs that deal with this > > about how one can work around having to be root. It involves recompiling > > your kernel though :(. > > I think these notes need to be reflected in linux-*-jdk14 port > post-install-messages. Along with suggestion how to fix them of course. > > > > The patch for XFree86-libraries, in order to get it to work inside the ports make structure, > > > I had to remove the "xc/" from the --- and +++ lines in the file patch-imLcPrs.c. > > > I then placed it in the files directory of XFree86-4-libraries and it was picked up. > > > > Alexey, is the patch something we can submit to the maintainer of > > XFree86-4-libraries for inclusion? > > I have no problem with submission them to port, but it's rather hack than > fix. So, anyway I think it's wroth to have it in default ports tree (maybe with > some tweaks) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 20: 8:34 2002 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 1AB0937B401 for ; Wed, 20 Nov 2002 20:08:34 -0800 (PST) Received: from seed.net.tw (sn15.seed.net.tw [139.175.54.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77C9543E6E for ; Wed, 20 Nov 2002 20:08:33 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.152.177] (port=49196 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:2) id 18Eidk-0000HU-00 for freebsd-java@freebsd.org; Thu, 21 Nov 2002 12:08:32 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id gAL48VDs083894 for ; Thu, 21 Nov 2002 12:08:31 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id gAL48UBJ083893 for freebsd-java@freebsd.org; Thu, 21 Nov 2002 12:08:30 +0800 (CST) (envelope-from leafy) Date: Thu, 21 Nov 2002 12:08:30 +0800 From: JY To: freebsd-java@freebsd.org Subject: Java 1.3.1_p7-2 builds on -current but fails to run Message-ID: <20021121040830.GA83882@leafy.idv.tw> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org World was yesterday. Compiled jdk13 today and it finished sucessfully. However when running there is an error: /usr/libexec/ld-elf.so.1: /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi .so: Undefined symbol "sem_wait" Anything I've missed? JY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 20:10:36 2002 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 7258537B401 for ; Wed, 20 Nov 2002 20:10:35 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6548843E42 for ; Wed, 20 Nov 2002 20:10:34 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18Eifh-0002cx-02 for freebsd-java@freebsd.org; Wed, 20 Nov 2002 21:10:33 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18EifE-0002P7-02; Wed, 20 Nov 2002 21:10:05 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gAL49cf54818; Thu, 21 Nov 2002 14:39:38 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 21 Nov 2002 14:38:42 +1030 From: Greg Lewis To: Michael E Mercer Cc: Alexey Zelkin , freebsd-java@FreeBSD.ORG Subject: Re: COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE... Message-ID: <20021121143842.A54345@misty.eyesbeyond.com> References: <3DDAE5F0.2EA59E1B@nc.rr.com> <20021120125215.A39920@phantom.cris.net> <3DDB8545.CC58B4DB@nc.rr.com> <20021121024054.A51711@misty.eyesbeyond.com> <20021120194710.A43517@phantom.cris.net> <3DDC51CC.7DE9DBDA@nc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3DDC51CC.7DE9DBDA@nc.rr.com>; from mmercer@nc.rr.com on Wed, Nov 20, 2002 at 10:23:56PM -0500 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Nov 20, 2002 at 10:23:56PM -0500, Michael E Mercer wrote: > I got this error: > Constructing Javadoc information... > > >>> Generating beaninfo for javax.swing.AbstractButton... I haven't enough disk space for the image construction to actually occur, so I've never actually got this far into a compile :(. > javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception > java.lang.reflect.InvocationTargetException > java.lang.UnsatisfiedLinkError: > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/lib/i386/libawt.so: > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/lib/i386/libawt.so: Undefined symbol > "_XEditResResetStream" Looks like libawt may need another library on the link line. > Is it something I should be worried about? Only if you want to run graphical apps ;-) -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 21: 1:37 2002 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 4644337B401 for ; Wed, 20 Nov 2002 21:01:36 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AF6443E42 for ; Wed, 20 Nov 2002 21:01:35 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18EjQq-0000Rm-02 for freebsd-java@freebsd.org; Wed, 20 Nov 2002 21:59:16 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18EjO4-0006yx-02; Wed, 20 Nov 2002 21:56:43 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gAL4tMQ54941; Thu, 21 Nov 2002 15:25:22 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 21 Nov 2002 15:25:08 +1030 From: Greg Lewis To: JY Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.3.1_p7-2 builds on -current but fails to run Message-ID: <20021121152508.B54345@misty.eyesbeyond.com> References: <20021121040830.GA83882@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021121040830.GA83882@leafy.idv.tw>; from leafy@leafy.idv.tw on Thu, Nov 21, 2002 at 12:08:30PM +0800 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 21, 2002 at 12:08:30PM +0800, JY wrote: > World was yesterday. Compiled jdk13 today and it finished sucessfully. > However when running there is an error: > /usr/libexec/ld-elf.so.1: /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi > .so: Undefined symbol "sem_wait" > > Anything I've missed? No idea, I don't have a -CURRENT box to test things on. I'd look at recent changes involving sem_wait, or at least try and locate what library its currently defined in. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 21:59:11 2002 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 DED7137B401 for ; Wed, 20 Nov 2002 21:59:10 -0800 (PST) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B24543E3B for ; Wed, 20 Nov 2002 21:59:05 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.152.177] (port=49219 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:2) id 18EkMh-00083X-00 for freebsd-java@FreeBSD.ORG; Thu, 21 Nov 2002 13:59:04 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id gAL5x2Ds038103 for ; Thu, 21 Nov 2002 13:59:03 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id gAL5x2jT038102 for freebsd-java@FreeBSD.ORG; Thu, 21 Nov 2002 13:59:02 +0800 (CST) (envelope-from leafy) Date: Thu, 21 Nov 2002 13:59:02 +0800 From: JY To: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.3.1_p7-2 builds on -current but fails to run Message-ID: <20021121055902.GA38083@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <20021121040830.GA83882@leafy.idv.tw> <20021121152508.B54345@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20021121152508.B54345@misty.eyesbeyond.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 21, 2002 at 03:25:08PM +1030, Greg Lewis wrote: > > /usr/libexec/ld-elf.so.1: /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi > > .so: Undefined symbol "sem_wait" > > > > Anything I've missed? > > No idea, I don't have a -CURRENT box to test things on. I'd look at recent > changes involving sem_wait, or at least try and locate what library its > currently defined in. It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error. JY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 22:32:16 2002 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 454B737B401 for ; Wed, 20 Nov 2002 22:32:15 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C57DE43E91 for ; Wed, 20 Nov 2002 22:32:14 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18Eks9-0002Ix-02 for freebsd-java@freebsd.org; Wed, 20 Nov 2002 23:31:33 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18EkrY-000222-02; Wed, 20 Nov 2002 23:30:57 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gAL6UEb55425; Thu, 21 Nov 2002 17:00:14 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 21 Nov 2002 16:59:57 +1030 From: Greg Lewis To: JY Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.3.1_p7-2 builds on -current but fails to run Message-ID: <20021121165957.A55399@misty.eyesbeyond.com> References: <20021121040830.GA83882@leafy.idv.tw> <20021121152508.B54345@misty.eyesbeyond.com> <20021121055902.GA38083@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021121055902.GA38083@leafy.idv.tw>; from leafy@leafy.idv.tw on Thu, Nov 21, 2002 at 01:59:02PM +0800 X-Spam-Status: No, hits=-2.7 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_02_03,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 21, 2002 at 01:59:02PM +0800, JY wrote: > On Thu, Nov 21, 2002 at 03:25:08PM +1030, Greg Lewis wrote: > > > /usr/libexec/ld-elf.so.1: /usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi > > > .so: Undefined symbol "sem_wait" > > > > > > Anything I've missed? > > > > No idea, I don't have a -CURRENT box to test things on. I'd look at recent > > changes involving sem_wait, or at least try and locate what library its > > currently defined in. > It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error. No, I mean the symbol definition, not the function prototype :). You should be able to find out what library its in with nm(1). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 20 22:39:25 2002 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 063F937B401 for ; Wed, 20 Nov 2002 22:39:25 -0800 (PST) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB6B43E88 for ; Wed, 20 Nov 2002 22:39:24 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.152.177] (port=49232 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:2) id 18Ekzj-000CCv-00 for freebsd-java@FreeBSD.ORG; Thu, 21 Nov 2002 14:39:23 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id gAL6dMDs059725 for ; Thu, 21 Nov 2002 14:39:23 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id gAL6dMik059627 for freebsd-java@FreeBSD.ORG; Thu, 21 Nov 2002 14:39:22 +0800 (CST) (envelope-from leafy) Date: Thu, 21 Nov 2002 14:39:22 +0800 From: JY To: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.3.1_p7-2 builds on -current but fails to run Message-ID: <20021121063922.GA41782@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <20021121040830.GA83882@leafy.idv.tw> <20021121152508.B54345@misty.eyesbeyond.com> <20021121055902.GA38083@leafy.idv.tw> <20021121165957.A55399@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20021121165957.A55399@misty.eyesbeyond.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 21, 2002 at 04:59:57PM +1030, Greg Lewis wrote: > > It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error. > > No, I mean the symbol definition, not the function prototype :). You > should be able to find out what library its in with nm(1). With my limited abilities, I find them in libc.a:sem.o:000003dd T sem_wait libc_pic.a:sem.So:0000045b T sem_wait libc_r.a:uthread_sem.o:0000019a W sem_wait libc_r_p.a:uthread_sem.po:000001d4 T sem_wait To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 21 1: 5: 5 2002 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 BE57E37B401 for ; Thu, 21 Nov 2002 01:05:04 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFF4F43E3B for ; Thu, 21 Nov 2002 01:05:03 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id gAL94tHv087049; Thu, 21 Nov 2002 10:04:55 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id gAL94pAX087048; Thu, 21 Nov 2002 10:04:51 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Alexey Zelkin , Greg Lewis Subject: Re: COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE... Date: Thu, 21 Nov 2002 10:04:51 +0100 User-Agent: KMail/1.4.3 Cc: Michael E Mercer , freebsd-java@FreeBSD.ORG References: <3DDAE5F0.2EA59E1B@nc.rr.com> <20021121024054.A51711@misty.eyesbeyond.com> <20021120194710.A43517@phantom.cris.net> In-Reply-To: <20021120194710.A43517@phantom.cris.net> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211211004.51898.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > There are some notes either in the archives or in PRs that deal with > > this about how one can work around having to be root. It involves > > recompiling your kernel though :(. > > I think these notes need to be reflected in linux-*-jdk14 port > post-install-messages. Along with suggestion how to fix them of course. If a patch will be submitted and approved by freebsd-java, then I'd be happy to commit it. Ernst -- Ernst de Haan Development Team Leader Wanadoo Nederland B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 21 1:21:56 2002 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 0731437B401 for ; Thu, 21 Nov 2002 01:21:55 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 859C843E88 for ; Thu, 21 Nov 2002 01:21:30 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gALCPvqj086182; Thu, 21 Nov 2002 12:25:58 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAL9QNDh048304; Thu, 21 Nov 2002 11:26:23 +0200 (EET) (envelope-from ml) Date: Thu, 21 Nov 2002 11:26:23 +0200 From: Alexey Zelkin To: JY Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.3.1_p7-2 builds on -current but fails to run Message-ID: <20021121112623.A48255@phantom.cris.net> References: <20021121040830.GA83882@leafy.idv.tw> <20021121152508.B54345@misty.eyesbeyond.com> <20021121055902.GA38083@leafy.idv.tw> <20021121165957.A55399@misty.eyesbeyond.com> <20021121063922.GA41782@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021121063922.GA41782@leafy.idv.tw>; from leafy@leafy.idv.tw on Thu, Nov 21, 2002 at 02:39:22PM +0800 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, On Thu, Nov 21, 2002 at 02:39:22PM +0800, JY wrote: > On Thu, Nov 21, 2002 at 04:59:57PM +1030, Greg Lewis wrote: > > > It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error. > > > > No, I mean the symbol definition, not the function prototype :). You > > should be able to find out what library its in with nm(1). > With my limited abilities, I find them in > libc.a:sem.o:000003dd T sem_wait > libc_pic.a:sem.So:0000045b T sem_wait > libc_r.a:uthread_sem.o:0000019a W sem_wait > libc_r_p.a:uthread_sem.po:000001d4 T sem_wait *.a libraries are static libraries used in compile/link of executable binary process. At runtime *.so libaries are used. You need to check out output of 'nm /usr/lib/libc.so | grep sem_wait'. Anyway -- it would be interesting to take a look on output of 'ldd libhpi.so' to check out its runtime libs dependencies. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 21 1:27:19 2002 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 6827937B401 for ; Thu, 21 Nov 2002 01:27:15 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA1F943E4A for ; Thu, 21 Nov 2002 01:27:09 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gALCVMqj086362; Thu, 21 Nov 2002 12:31:22 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAL9VpZC048346; Thu, 21 Nov 2002 11:31:51 +0200 (EET) (envelope-from ml) Date: Thu, 21 Nov 2002 11:31:51 +0200 From: Alexey Zelkin To: Andreas Kohn Cc: Alexey Zelkin , Jon Barber , Matt Smith , java@FreeBSD.ORG Subject: Re: IDEs Message-ID: <20021121113151.B48255@phantom.cris.net> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037806247.69397.22.camel@klamath.ankon.homeip.net> <20021120193946.A43416@phantom.cris.net> <1037823071.69397.75.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1037823071.69397.75.camel@klamath.ankon.homeip.net>; from andreas.kohn@gmx.net on Wed, Nov 20, 2002 at 09:11:14PM +0100 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Nov 20, 2002 at 09:11:14PM +0100, Andreas Kohn wrote: > Am Wed, 2002-11-20 um 18.39 schrieb Alexey Zelkin: > > hi, > > > > Hmm... That's strange. Can you please try it with linux-sun jdk 1.3 ? > Done. Doesn't work either. My current attempts to make it run: As Jon said in one of previous letters -- IDEA 3.0 is distributing with jdk 1.4. So, error can only be related to that its classes were compiled with jdk 1.4. Since 1.4 and 1.3 are not forward compatible, so it won't be executed under 1.3 at all. I think you need to check things related to your attempts with jdk 1.4 again. It just should work. Or fail, but with different error. :) > (this is all about idea 3.0, I couldn't find an older version to try > yet.) > > Generic UN*X download > 1. untar it, link the jre directories to the right positions as > mentioned in Install.txt, same with the libs > 2. cd bin; ./idea.sh -> this results in the first error. > > 3. set JDK_HOME, JAVA_HOME, PATH to point to the linux-sun-jdk1.3.1, > change jre and libs > 4. run idea.sh: same error message as before, but with different line > numbers (!?) > > ---8<----- > klamath# ./idea.sh > Exception in thread "main" java.lang.UnsupportedClassVersionError: > com/intellij/idea/Main (Unsupported major.minor version 48.0) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:488) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:243) > at java.net.URLClassLoader.access$100(URLClassLoader.java:51) > at java.net.URLClassLoader$1.run(URLClassLoader.java:190) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:183) > at java.lang.ClassLoader.loadClass(ClassLoader.java:294) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) > at java.lang.ClassLoader.loadClass(ClassLoader.java:250) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) > klamath# java -version > java version "1.3.1_05" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_05-b02) > Classic VM (build 1.3.1_05-b02, green threads, nojit) > klamath# which java > /usr/local/linux-sun-jdk1.3.1/bin/java > klamath# echo $JDK_HOME > /usr/local/linux-sun-jdk1.3.1 > klamath# echo $JAVA_HOME > /usr/local/linux-sun-jdk1.3.1 > ---->8------ > > Now, I downloaded the Linux binary installer. Everything seemed to work > well, besides 2 points: > 1. The installer took a quite long time to close itself after I pressed > the final "done" button. > 2. It didn't install symlinks into /usr/local/bin, as it was instructed. > > Running idea gives me a signal 11, full error message is attached. This > signal occured shortly after I saw the main window of IDEA, it even > asked me for my evaluation licence key and user name. Pay attention to > the fact that the JRE it ran was 1.4.1, which was apparently included in > the download. Trying to force it to use the installed native jdk didn't > work with the following error > > Unable to locate the application's 'main' class. The class > 'com.intellij.idea.Main' must be public and have a 'public static void > main(String[])' method. (LAX) > > (I only set lax.nl.vm.current in the bin/idea.lax file to my java, is > there more to be done?) > > My next steps are trying the JDK 1.4-p1 native version, but compiling > the JDK on my machine will require much time. > > If there is more information that I can provide, please tell me. I'm > willing to spend some time on this. > > Thanks, > Andreas. > > PS: I read the Install.txt again, it says it will need the JDK 1.4, so > perhaps this will work soon. I'll post a message whether it does then. > > > > I have tried IDEA 2.5.2 as final exercise with local built snapshot > > of jdk1.4-p1 before its public release. It worked fine, but I've got > > a IDEA's warning on setup that jdk1.4 is highly NOT recomended with > > it. And proposed me to setup jdk1.3 instead. So, I think it's local or > > FreeBSD port problem, which need to be addressed. > > > > On Wed, Nov 20, 2002 at 04:30:48PM +0100, Andreas Kohn wrote: > > > Hello! > > > > > > Which JDK do I need for IDEA? I'm currently using native jdk1.3, but it > > > won't start up > > > [ > > > klamath# ./idea.sh > > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > > > com/intellij/idea/Main (Unsupported major.minor version 48.0) > > > at java.lang.ClassLoader.defineClass0(Native Method) > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > > > at > > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) > > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > > > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > > > at java.security.AccessController.doPrivileged(Native Method) > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > > > ] > > > > > > Which JDK do you use? > > > > > > This is a FreeBSD-STABLE [FreeBSD klamath.ankon.homeip.net 4.7-STABLE > > > FreeBSD 4.7-STABLE #4: Wed Nov 13 21:29:49 CET 2002 > > > andreas@klamath.ankon.homeip.net:/storage/usr/obj/usr/src/sys/KLAMATH > > > i386] > > > > > > Regards, > > > Andreas Kohn > > > > > > Am Wed, 2002-11-20 um 15.44 schrieb Jon Barber: > > > > IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > > > > http://www.intellij.com/idea/ > > > > > > > > Seriously, I've been using IDEs for 6 years or so, and previously > > > > JBuilder was my favourite, but IDEA is by far the best I have tried. > > > > > > > > Jon. > > > > > > > > Matt Smith wrote: > > > > > > > > >All- > > > > > Are there certain IDEs you all use for Java coding? Of course, I > > > > >expect vi, [x]emacs, jEdit, but how about complete environments? I have > > > > >been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > > > > >find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > > > > >what you all use that might be faster, but still as "all-inclusive" as > > > > >Netbeans. > > > > > > > > > >Thanks all, > > > > >-Matt > > -- > Andreas Kohn > > Unexpected Signal : 11 occurred at PC=0x2A19BEBF > Function=[Unknown.] > Library=(N/A) > > NOTE: We are unable to locate the function name symbol for the error > just occurred. Please refer to release documentation for possible > reason and solutions. > > > Current Java thread: > > Dynamic libraries: > Can not get information for pid = 83078 > > Local Time = Wed Nov 20 19:52:17 2002 > Elapsed Time = 245 > # > # HotSpot Virtual Machine Error : 11 > # Error ID : 4F530E43505002E6 > # Please report this error at > # http://java.sun.com/cgi-bin/bugreport.cgi > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) > # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 21 5:49:38 2002 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 195F837B401 for ; Thu, 21 Nov 2002 05:49:32 -0800 (PST) Received: from mail1.drkw.com (mail1.drkw.com [62.129.121.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B6CB43E6E for ; Thu, 21 Nov 2002 05:49:31 -0800 (PST) (envelope-from Tim.Bissell@drkw.com) Message-ID: <29B6DBEE0BB35C4CB791CFE233278191ACB740@IBLONCE117> From: "Bissell, Tim" To: java@FreeBSD.ORG Subject: RE: IDEs Date: Thu, 21 Nov 2002 13:49:17 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Yes, Idea 3.0 will only work with JDK 1.4.1_01 (not 1.4.0, not 1.4.1), and fails exactly the same way when run with JDK 1.3.1 on MacOS X. I really like Idea (18 years of using Emacs as my code editor, Idea was the first Java IDE to tempt me) but I can't help feeling that IntelliJ have shot themselves in the foot by making 3.0 run under 1.4.1 only, _and_ removing the Idea 2.6 download at the same time... Tim > -----Original Message----- > From: Alexey Zelkin [mailto:phantom@FreeBSD.org.ua] > Sent: 21 November 2002 09:32 > To: Andreas Kohn > Cc: Alexey Zelkin; Jon Barber; Matt Smith; java@FreeBSD.ORG > Subject: Re: IDEs > > > On Wed, Nov 20, 2002 at 09:11:14PM +0100, Andreas Kohn wrote: > > Am Wed, 2002-11-20 um 18.39 schrieb Alexey Zelkin: > > > hi, > > > > > > Hmm... That's strange. Can you please try it with > linux-sun jdk 1.3 ? > > Done. Doesn't work either. My current attempts to make it run: > > As Jon said in one of previous letters -- IDEA 3.0 is distributing > with jdk 1.4. So, error can only be related to that its classes were > compiled with jdk 1.4. Since 1.4 and 1.3 are not forward > compatible, so > it won't be executed under 1.3 at all. I think you need to > check things > related to your attempts with jdk 1.4 again. It just should > work. Or fail, > but with different error. :) > > > (this is all about idea 3.0, I couldn't find an older version to try > > yet.) > > > > Generic UN*X download > > 1. untar it, link the jre directories to the right positions as > > mentioned in Install.txt, same with the libs > > 2. cd bin; ./idea.sh -> this results in the first error. > > > > 3. set JDK_HOME, JAVA_HOME, PATH to point to the linux-sun-jdk1.3.1, > > change jre and libs > > 4. run idea.sh: same error message as before, but with > different line > > numbers (!?) > > > > ---8<----- > > klamath# ./idea.sh > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > > com/intellij/idea/Main (Unsupported major.minor version 48.0) > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:488) > > at > > > java.security.SecureClassLoader.defineClass(SecureClassLoader. > java:106) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:243) > > at java.net.URLClassLoader.access$100(URLClassLoader.java:51) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:190) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:183) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:294) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:250) > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) > > klamath# java -version > > java version "1.3.1_05" > > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.3.1_05-b02) > > Classic VM (build 1.3.1_05-b02, green threads, nojit) > > klamath# which java > > /usr/local/linux-sun-jdk1.3.1/bin/java > > klamath# echo $JDK_HOME > > /usr/local/linux-sun-jdk1.3.1 > > klamath# echo $JAVA_HOME > > /usr/local/linux-sun-jdk1.3.1 > > ---->8------ > > > > Now, I downloaded the Linux binary installer. Everything > seemed to work > > well, besides 2 points: > > 1. The installer took a quite long time to close itself > after I pressed > > the final "done" button. > > 2. It didn't install symlinks into /usr/local/bin, as it > was instructed. > > > > Running idea gives me a signal 11, full error message is > attached. This > > signal occured shortly after I saw the main window of IDEA, it even > > asked me for my evaluation licence key and user name. Pay > attention to > > the fact that the JRE it ran was 1.4.1, which was > apparently included in > > the download. Trying to force it to use the installed > native jdk didn't > > work with the following error > > > > Unable to locate the application's 'main' class. The class > > 'com.intellij.idea.Main' must be public and have a 'public > static void > > main(String[])' method. (LAX) > > > > (I only set lax.nl.vm.current in the bin/idea.lax file to > my java, is > > there more to be done?) > > > > My next steps are trying the JDK 1.4-p1 native version, but > compiling > > the JDK on my machine will require much time. > > > > If there is more information that I can provide, please tell me. I'm > > willing to spend some time on this. > > > > Thanks, > > Andreas. > > > > PS: I read the Install.txt again, it says it will need the > JDK 1.4, so > > perhaps this will work soon. I'll post a message whether it > does then. > > > > > > I have tried IDEA 2.5.2 as final exercise with local > built snapshot > > > of jdk1.4-p1 before its public release. It worked fine, > but I've got > > > a IDEA's warning on setup that jdk1.4 is highly NOT > recomended with > > > it. And proposed me to setup jdk1.3 instead. So, I think > it's local or > > > FreeBSD port problem, which need to be addressed. > > > > > > On Wed, Nov 20, 2002 at 04:30:48PM +0100, Andreas Kohn wrote: > > > > Hello! > > > > > > > > Which JDK do I need for IDEA? I'm currently using > native jdk1.3, but it > > > > won't start up > > > > [ > > > > klamath# ./idea.sh > > > > Exception in thread "main" > java.lang.UnsupportedClassVersionError: > > > > com/intellij/idea/Main (Unsupported major.minor version 48.0) > > > > at java.lang.ClassLoader.defineClass0(Native Method) > > > > at > java.lang.ClassLoader.defineClass(ClassLoader.java:486) > > > > at > > > > > java.security.SecureClassLoader.defineClass(SecureClassLoader. > java:111) > > > > at > java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > > > > at > java.net.URLClassLoader.access$100(URLClassLoader.java:56) > > > > at > java.net.URLClassLoader$1.run(URLClassLoader.java:195) > > > > at > java.security.AccessController.doPrivileged(Native Method) > > > > at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > > > > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > > > > at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > > > > ] > > > > > > > > Which JDK do you use? > > > > > > > > This is a FreeBSD-STABLE [FreeBSD > klamath.ankon.homeip.net 4.7-STABLE > > > > FreeBSD 4.7-STABLE #4: Wed Nov 13 21:29:49 CET 2002 > > > > > andreas@klamath.ankon.homeip.net:/storage/usr/obj/usr/src/sys/KLAMATH > > > > i386] > > > > > > > > Regards, > > > > Andreas Kohn > > > > > > > > Am Wed, 2002-11-20 um 15.44 schrieb Jon Barber: > > > > > IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > > > > > http://www.intellij.com/idea/ > > > > > > > > > > Seriously, I've been using IDEs for 6 years or so, > and previously > > > > > JBuilder was my favourite, but IDEA is by far the > best I have tried. > > > > > > > > > > Jon. > > > > > > > > > > Matt Smith wrote: > > > > > > > > > > >All- > > > > > > Are there certain IDEs you all use for Java > coding? Of course, I > > > > > >expect vi, [x]emacs, jEdit, but how about complete > environments? I have > > > > > >been using Netbeans 3.4 with good success under > linux-sun-jdk1.3.1, but > > > > > >find that it crawls on my 1.8 GHz P4/512 MB RAM. > So, I am wondering > > > > > >what you all use that might be faster, but still as > "all-inclusive" as > > > > > >Netbeans. > > > > > > > > > > > >Thanks all, > > > > > >-Matt > > > > -- > > Andreas Kohn > > > > > Unexpected Signal : 11 occurred at PC=0x2A19BEBF > > Function=[Unknown.] > > Library=(N/A) > > > > NOTE: We are unable to locate the function name symbol for the error > > just occurred. Please refer to release documentation > for possible > > reason and solutions. > > > > > > Current Java thread: > > > > Dynamic libraries: > > Can not get information for pid = 83078 > > > > Local Time = Wed Nov 20 19:52:17 2002 > > Elapsed Time = 245 > > # > > # HotSpot Virtual Machine Error : 11 > > # Error ID : 4F530E43505002E6 > > # Please report this error at > > # http://java.sun.com/cgi-bin/bugreport.cgi > > # > > # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) > > # > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > ---------------------------------------------------------------------- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 0:10: 8 2002 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 793A237B401 for ; Fri, 22 Nov 2002 00:10:07 -0800 (PST) Received: from gdead.mooseriver.com (gdead.mooseriver.com [205.166.121.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA84F43E9E for ; Fri, 22 Nov 2002 00:10:06 -0800 (PST) (envelope-from jgrosch@mooseriver.com) Received: from mooseriver.com (h-66-166-146-73.SNVACAID.covad.net [66.166.146.73]) by gdead.mooseriver.com (8.12.3/8.12.3) with ESMTP id gAM8A6Fq045849 for ; Fri, 22 Nov 2002 00:10:06 -0800 (PST) (envelope-from jgrosch@mooseriver.com) Received: (from jgrosch@localhost) by mooseriver.com (8.12.6/8.12.6/Submit) id gAM8A0Au090449 for freebsd-java@FreeBSD.ORG; Fri, 22 Nov 2002 00:10:00 -0800 (PST) Date: Thu, 21 Nov 2002 22:35:10 -0800 From: Josef Grosch To: freebsd-java@FreeBSD.ORG Subject: Problem with linux-blackdown-jdk1.4.1 Message-ID: <20021122063510.GA61465@mooseriver.com> Reply-To: jgrosch@mooseriver.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have installed linux-blackdown-jdk1.4.1 on a 4.7-STABLE machine. When I run javac or java as root it works just fine. But, if I run javac or java as any non-root login I get # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://www.blackdown.org/cgi-bin/jdk # # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) # # Error ID: 4F533F4C494E55580E435050030B # Abort trap Does anyone have any ideas as to what is going on? Josef -- Josef Grosch | Another day closer to a | FreeBSD 4.7 jgrosch@MooseRiver.com | Micro$oft free world | www.bafug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 0:10:43 2002 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 2499937B401 for ; Fri, 22 Nov 2002 00:10:42 -0800 (PST) Received: from smtp.web.de (smtp03.web.de [217.72.192.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EB5943E9C for ; Fri, 22 Nov 2002 00:10:41 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.91 #2) id 18F8sz-0006QC-00; Fri, 22 Nov 2002 09:10:01 +0100 Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE From: "Georg-W. Koltermann" To: Bill Huey Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20021118105502.GA3955@gnuppy.monkey.org> References: <1037283323.18267.30.camel@hunter.muc.macsch.com> <20021115003621.GA3359@gnuppy.monkey.org> <1037615069.439.27.camel@hunter.muc.macsch.com> <20021118105502.GA3955@gnuppy.monkey.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1037901021.81842.163.camel@hunter.muc.macsch.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.0.8 Date: 22 Nov 2002 09:10:36 +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thank you all who helped with their advice. I've built hotspot on 4.7-STABLE now and it seems to work. I ran jedit for a while in the hotspot engine, and it did not crash. It was only very noisy, complaining about keys that were not found and yellow/red zoning not working. I think this behaviour is expected. Unfortunately the hotspot engine would not run Together. It hung during startup. Well... I couldn't really hope that it would work. I'll attach my patch. It does the following things: * Changes the build files so that both the classic VM (including the native threads part) and the hotspot VM are built with GCC32. I didn't bother to mark the port to depend on GCC32 as a build dependency, I just changed the build process. * Changes the .java_wrapper so that it no longer activates native threading in the classic VM. It would do that as soon as it found the hotspot library on disk, and would fail (in the classic VM) rather quickly. * Fixes a compilation error in the hotspot part which is due to some recent changes in libc_r. This is based on recent discussion on this list, it just removes (#ifdefs out) the problem code. You can drop the patch into your jdk13/files and it will apply during the build. Note, however, that a) you have to build the classic part with "make WITH_NATIVE_THREADS=1", and then build the hotspot part by hand as discussed in http://www.freebsd.org/cgi/getmsg.cgi?fetch=63624+0+/usr/local/www/db/text/2002/freebsd-java/20020728.freebsd-java (only now you use GCC 3.2 instead of 3.1). -- Regards, Georg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 0:20:46 2002 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 255EA37B401 for ; Fri, 22 Nov 2002 00:20:45 -0800 (PST) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 524FC43E6E for ; Fri, 22 Nov 2002 00:20:44 -0800 (PST) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id gAM8KiHv093830; Fri, 22 Nov 2002 09:20:44 +0100 (CET) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id gAM8KhYh093829; Fri, 22 Nov 2002 09:20:43 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: jgrosch@mooseriver.com, freebsd-java@FreeBSD.ORG Subject: Re: Problem with linux-blackdown-jdk1.4.1 Date: Fri, 22 Nov 2002 09:20:43 +0100 User-Agent: KMail/1.4.3 References: <20021122063510.GA61465@mooseriver.com> In-Reply-To: <20021122063510.GA61465@mooseriver.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211220920.43169.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a well-known problem. Ernst On Friday 22 November 2002 07:35, Josef Grosch wrote: > I have installed linux-blackdown-jdk1.4.1 on a 4.7-STABLE machine. When I > run javac or java as root it works just fine. But, if I run javac or java > as any non-root login I get > > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://www.blackdown.org/cgi-bin/jdk > # > # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) > # > # Error ID: 4F533F4C494E55580E435050030B > # > Abort trap > > Does anyone have any ideas as to what is going on? > > > Josef -- Ernst de Haan Development Team Leader Wanadoo Nederland B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 0:33: 8 2002 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 53C4C37B401 for ; Fri, 22 Nov 2002 00:33:07 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0431843E91 for ; Fri, 22 Nov 2002 00:33:07 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id CB2D4AC3E; Fri, 22 Nov 2002 00:33:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id C902FAC09; Fri, 22 Nov 2002 00:33:01 -0800 (PST) Date: Fri, 22 Nov 2002 00:33:01 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: "Georg-W. Koltermann" Cc: freebsd-java@FreeBSD.ORG Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE In-Reply-To: <1037901021.81842.163.camel@hunter.muc.macsch.com> Message-ID: <20021122003152.Q30835-100000@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 22 Nov 2002, Georg-W. Koltermann wrote: > Unfortunately the hotspot engine would not run Together. It hung during > startup. Well... I couldn't really hope that it would work. Are you sure it hung? Even on my windows box and solaris box it takes TogetherJ like 5 minutes (literally) to get started... Nick -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.0 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 0:41:23 2002 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 6CADE37B401; Fri, 22 Nov 2002 00:41:21 -0800 (PST) Received: from gdead.mooseriver.com (gdead.mooseriver.com [205.166.121.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF23643E8A; Fri, 22 Nov 2002 00:41:20 -0800 (PST) (envelope-from jgrosch@mooseriver.com) Received: from mooseriver.com (h-66-166-146-73.SNVACAID.covad.net [66.166.146.73]) by gdead.mooseriver.com (8.12.3/8.12.3) with ESMTP id gAM8fJFq046178; Fri, 22 Nov 2002 00:41:20 -0800 (PST) (envelope-from jgrosch@mooseriver.com) Received: (from jgrosch@localhost) by mooseriver.com (8.12.6/8.12.6/Submit) id gAM8fEB4013688; Fri, 22 Nov 2002 00:41:14 -0800 (PST) Date: Fri, 22 Nov 2002 00:41:13 -0800 From: Josef Grosch To: Ernst de Haan Cc: freebsd-java@FreeBSD.ORG Subject: Re: Problem with linux-blackdown-jdk1.4.1 Message-ID: <20021122084112.GA3838@mooseriver.com> Reply-To: jgrosch@mooseriver.com References: <20021122063510.GA61465@mooseriver.com> <200211220920.43169.znerd@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211220920.43169.znerd@FreeBSD.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 22, 2002 at 09:20:43AM +0100, Ernst de Haan wrote: > This is a well-known problem. > > Ernst Great, at least I'm not hallucinating. Now comes the real fun; I have another machine which I just built tonight. I install 4.6.2 then did a cvsup and buildworld to 4.7-STABLE. I install linux-blackdown-jdk1.4.1 and as myself it runs just fine. WTF ?!? Josef > > On Friday 22 November 2002 07:35, Josef Grosch wrote: > > I have installed linux-blackdown-jdk1.4.1 on a 4.7-STABLE machine. When I > > run javac or java as root it works just fine. But, if I run javac or java > > as any non-root login I get > > > > # > > # HotSpot Virtual Machine Error, Internal Error > > # Please report this error at > > # http://www.blackdown.org/cgi-bin/jdk > > # > > # Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-beta mixed mode) > > # > > # Error ID: 4F533F4C494E55580E435050030B > > # > > Abort trap > > > > Does anyone have any ideas as to what is going on? > > > > > > Josef > > -- > Ernst de Haan > Development Team Leader > Wanadoo Nederland B.V. > > "Come to me all who are weary and burdened > and I will give you rest" -- Jesus Christ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Josef Grosch | Another day closer to a | FreeBSD 4.7 jgrosch@MooseRiver.com | Micro$oft free world | www.bafug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 1:17:27 2002 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 1FE5C37B401 for ; Fri, 22 Nov 2002 01:17:27 -0800 (PST) Received: from accms33.physik.rwth-aachen.de (accms33.physik.RWTH-Aachen.DE [137.226.46.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD37D43E3B for ; Fri, 22 Nov 2002 01:17:24 -0800 (PST) (envelope-from kuku@accms33.physik.rwth-aachen.de) Received: (from kuku@localhost) by accms33.physik.rwth-aachen.de (8.9.3/8.9.3) id KAA32207 for java@freebsd.org; Fri, 22 Nov 2002 10:17:21 +0100 Date: Fri, 22 Nov 2002 10:17:21 +0100 From: Christoph Kukulies Message-Id: <200211220917.KAA32207@accms33.physik.rwth-aachen.de> To: java@freebsd.org Subject: j2re1.4.0_03, j2sdk1.4.0_03 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I tried to compile jakarta-ant-1.5.1 on a FreeBSD (4.4) system yesterday but it seems that it gets hung somewhere in the middle, after writing out some messages about deprecated APIs. Could it be that the linux emulator doesn't cope with the latest java? Also I'm confused about JAVA_HOME. First I dowlodaded j2re1.4.0_03 nd thought I would get javac also but didn't. Then I downloaded the 1.4_03 SDK and this installed in a different directory. So what is JAVA_HOME now? -- Chris Christoph P. U. Kukulies kukulies@rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 1:20:29 2002 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 4275337B401 for ; Fri, 22 Nov 2002 01:20:18 -0800 (PST) Received: from smtp.web.de (smtp03.web.de [217.72.192.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F08843EB2 for ; Fri, 22 Nov 2002 01:20:14 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.91 #2) id 18F9yJ-0007BR-00; Fri, 22 Nov 2002 10:19:35 +0100 Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE -- with patch From: "Georg-W. Koltermann" To: Bill Huey Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <1037901021.81842.163.camel@hunter.muc.macsch.com> References: <1037283323.18267.30.camel@hunter.muc.macsch.com> <20021115003621.GA3359@gnuppy.monkey.org> <1037615069.439.27.camel@hunter.muc.macsch.com> <20021118105502.GA3955@gnuppy.monkey.org> <1037901021.81842.163.camel@hunter.muc.macsch.com> Content-Type: multipart/mixed; boundary="=-WZeLTLaU7fbhUIp0apEy" X-Mailer: Ximian Evolution 1.0.8 Date: 22 Nov 2002 10:20:12 +0100 Message-Id: <1037956813.417.12.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-WZeLTLaU7fbhUIp0apEy Content-Type: text/plain Content-Transfer-Encoding: 7bit > ... > I'll attach my patch. It does the following things: Oops, here is the patch now. Note that in order to actually use hotspot, you must call it as "java -hotspot" and also edit jdk1.3.1/jre/lib/jvm.cfg to move "-classic" to the bottom again. I couldn't figure out how to force hotspot when -classic is the default in jvm.cfg. -- Georg. --=-WZeLTLaU7fbhUIp0apEy Content-Disposition: attachment; filename=patch-zgwk1 Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; name=patch-zgwk1; charset=ISO-8859-15 diff -urN common/Defs-bsd.gmk common/Defs-bsd.gmk --- common/Defs-bsd.gmk Thu Nov 21 14:35:47 2002 +++ common/Defs-bsd.gmk Mon Nov 18 15:24:27 2002 @@ -32,9 +32,9 @@ AR =3D $(USRBIN_PATH)ar AS =3D $(USRBIN_PATH)as CAT =3D $(UNIXCOMMAND_PATH)cat -CC =3D $(COMPILER_PATH)gcc -CPP =3D $(COMPILER_PATH)gcc -E -CXX =3D $(COMPILER_PATH)g++ +CC =3D gcc32 +CPP =3D gcc32 -E +CXX =3D g++32 CD =3D cd # intrinsic unix command CHMOD =3D $(UNIXCOMMAND_PATH)chmod CMP =3D $(USRBIN_PATH)cmp diff -urN ../src/solaris/bin/java_wrapper_bsd.sh ../src/solaris/bin/java_wr= apper_bsd.sh --- ../src/solaris/bin/java_wrapper_bsd.sh Thu Nov 21 14:35:46 2002 +++ ../src/solaris/bin/java_wrapper_bsd.sh Thu Nov 21 16:38:40 2002 @@ -92,10 +92,10 @@ ttype=3Dnative_threads shift 1 else=20 - if [ -d ${jre}/lib/${proc}/hotspot ]; then - vmtype=3Dhotspot - ttype=3Dnative_threads - else +## if [ -d ${jre}/lib/${proc}/hotspot ]; then +## vmtype=3Dhotspot +## ttype=3Dnative_threads +## else vmtype=3Dclassic if [ ${THREADS_FLAG:-${DEFAULT_THREADS_FLAG}} =3D native ] then=20 @@ -103,7 +103,7 @@ else ttype=3Dgreen_threads fi - fi +## fi fi fi fi diff -urN ../src/solaris/hpi/native_threads/src/threads_bsd.c ../src/solari= s/hpi/native_threads/src/threads_bsd.c --- ../src/solaris/hpi/native_threads/src/threads_bsd.c Thu Nov 21 14:35:46= 2002 +++ ../src/solaris/hpi/native_threads/src/threads_bsd.c Wed Nov 20 13:53:54= 2002 @@ -284,6 +284,7 @@ "susp boundless" }; =20 +enum pthread_susp { a_one, a_two, a_three }; /* gwk, dummy */ char *getSuspendStateString(enum pthread_susp suspendState) { if (suspendState < ANALRETENTIVE) @@ -292,7 +293,7 @@ return &SuspendList[ANALRETENTIVE-1][0]; } =20 -#define SATAN (21 + 1) /* for the error string at the end of the list */ +#define SATAN (22 + 1) /* for the error string at the end of the list */ =20 char SignalList [SATAN][16] =3D @@ -318,7 +319,8 @@ "PS_DEAD", "PS_DEADLCK", "PS_STATE_MAX", - "PS_REQUEST_WAITING_SUSPENDED", +/* "PS_REQUEST_WAITING_SUSPENDED", gwk */ + "PS_REQUEST_WSUS", "boundless" }; =20 @@ -527,6 +529,7 @@ if (thread->state !=3D PS_SUSPENDED) dumpThreadLogStates(thread); =20 +#if 0 /* gwk */ switch ((int)thread->ctxtype) { case CTX_JB_NOSIG: /* 0) jmp_buf context without signal mask for blockin= g IO, etc... */ @@ -551,6 +554,7 @@ #endif break; } +#endif /* gwk */ =20 #ifdef DEBUG_BSD_NATIVE_THREADS TermFailed: diff -urN ../../hotspot1.3.1/build/linux/makefiles/gcc32.make ../../hotspot= 1.3.1/build/linux/makefiles/gcc32.make --- ../../hotspot1.3.1/build/linux/makefiles/gcc32.make Thu Jan 1 01:00:00= 1970 +++ ../../hotspot1.3.1/build/linux/makefiles/gcc32.make Wed Nov 20 14:22:40= 2002 @@ -0,0 +1,131 @@ + +# put the *.o files in the a.out, not the shared library +LINK_INTO =3D $(LINK_INTO/$(VERSION)) +LINK_INTO/debug =3D AOUT +#LINK_INTO/optimized =3D AOUT +LINK_INTO/optimized =3D LIBJVM + +# apply this setting to link into the shared library even in the debug ver= sion: +LINK_INTO =3D LIBJVM + +# If MAKE_OPTO is null, then we will compile with the -DOPTO. +# That switch, despite its name, has the effect of __disabling__ OPTO. +$(MAKE_OPTO)CFLAGS +=3D -DOPTO + +#CFLAGS +=3D -v + +# The flags to use for an Optimized g++ build +#OPT_CFLAGS +=3D -O3 + +OPT_CFLAGS +=3D -O0 + +CFLAGS +=3D -fPIC +CFLAGS +=3D -Winline +CFLAGS +=3D -fwritable-strings +CFLAGS +=3D -fno-rtti +CFLAGS +=3D -fhandle-exceptions +CFLAGS +=3D -D__STDC__=3D1 -D_LARGEFILE64_SOURCE -DTEMPLATE_TABLE_BUG +CFLAGS +=3D -D__GNU__ -D_REENTRANT +CFLAGS +=3D -fcheck-new + +#--billh +CFLAGS +=3D -D__FreeBSD__ +#-D__GNUC__ + +# Set GCC_SAVE_TEMPS=3D-save-temps to keep temporary files (.ii, .s). +CFLAGS +=3D $(GCC_SAVE_TEMPS) + +OPT_CFLAGS +=3D -O0 +# -O1 +#OPT_CFLAGS +=3D -fdefer-pop +OPT_CFLAGS +=3D -fthread-jumps +OPT_CFLAGS +=3D -fdelayed-branch +OPT_CFLAGS +=3D -fomit-frame-pointer +OPT_CFLAGS +=3D -fguess-branch-probability +OPT_CFLAGS +=3D -fcprop-registers +# END + +OPT_CFLAGS +=3D -ffloat-store +OPT_CFLAGS +=3D -fno-default-inline +OPT_CFLAGS +=3D -fno-defer-pop +#bad, causes abort() +#OPT_CFLAGS +=3D -ftrapv +OPT_CFLAGS +=3D -fno-inline +OPT_CFLAGS +=3D -fkeep-static-consts +OPT_CFLAGS +=3D -fmerge-constants +OPT_CFLAGS +=3D -fmerge-all-constants +OPT_CFLAGS +=3D -fno-function-cse +OPT_CFLAGS +=3D -ffast-math +# END + +# -O2 +OPT_CFLAGS +=3D -foptimize-sibling-calls +OPT_CFLAGS +=3D -fcse-follow-jumps +OPT_CFLAGS +=3D -fcse-skip-blocks +OPT_CFLAGS +=3D -fgcse-sm +OPT_CFLAGS +=3D -fgcse-lm +OPT_CFLAGS +=3D -fgcse + +OPT_CFLAGS +=3D -fexpensive-optimizations +OPT_CFLAGS +=3D -fstrength-reduce +OPT_CFLAGS +=3D -frerun-cse-after-loop +OPT_CFLAGS +=3D -frerun-loop-opt +OPT_CFLAGS +=3D -fcaller-saves +OPT_CFLAGS +=3D -fforce-addr +OPT_CFLAGS +=3D -fforce-mem +OPT_CFLAGS +=3D -fpeephole2 +## +OPT_CFLAGS +=3D -fschedule-insns +OPT_CFLAGS +=3D -fschedule-insns2 +## +OPT_CFLAGS +=3D -fregmove +OPT_CFLAGS +=3D -fstrict-aliasing +OPT_CFLAGS +=3D -fdelete-null-pointer-checks +OPT_CFLAGS +=3D -freorder-blocks +# END + +OPT_CFLAGS +=3D -fno-gcse +OPT_CFLAGS +=3D -fdata-sections +OPT_CFLAGS +=3D -fprefetch-loop-arrays +OPT_CFLAGS +=3D -fmove-all-movables +OPT_CFLAGS +=3D -freduce-all-givs +OPT_CFLAGS +=3D -fno-guess-branch-probability + +OPT_CFLAGS +=3D -falign-functions +OPT_CFLAGS +=3D -falign-labels +OPT_CFLAGS +=3D -falign-loops +OPT_CFLAGS +=3D -falign-jumps + +OPT_CFLAGS +=3D -fssa +# END + +# -O3 +OPT_CFLAGS +=3D -finline-functions +OPT_CFLAGS +=3D -frename-registers +# END + + + + +##### +#harmless +OPT_CFLAGS +=3D -fmemoize-lookups +#unneeded +#OPT_CFLAGS +=3D -fpeephole +#bad +# this creates a link error. +#OPT_CFLAGS +=3D -fkeep-inline-functions +# +OPT_CFLAGS +=3D -funroll-loops +OPT_CFLAGS +=3D -funroll-all-loops +##### + +# Set the environment variable HOTSPARC_HOTSPARC_GENERIC to "true" +# to inhibit the effect of the previous line on CFLAGS. + +CPP =3D g++32 +CC =3D gcc32 + +AOUT_FLAGS +=3D -export-dynamic=20 +DEBUG_CFLAGS +=3D -g + diff -urN ../../hotspot1.3.1/build/linux/platform_i486 ../../hotspot1.3.1/b= uild/linux/platform_i486 --- ../../hotspot1.3.1/build/linux/platform_i486 Thu Nov 21 17:35:21 2002 +++ ../../hotspot1.3.1/build/linux/platform_i486 Wed Nov 20 14:20:54 2002 @@ -6,7 +6,7 @@ =20 lib_arch =3D i386 =20 -compiler =3D gcc31 +compiler =3D gcc32 =20 gnu_dis_arch =3D i386 =20 diff -urN ../../hotspot1.3.1/build/linux/platform_i486.gwk ../../hotspot1.3= .1/build/linux/platform_i486.gwk --- ../../hotspot1.3.1/build/linux/platform_i486.gwk Thu Jan 1 01:00:00 19= 70 +++ ../../hotspot1.3.1/build/linux/platform_i486.gwk Wed Nov 20 14:20:27 20= 02 @@ -0,0 +1,16 @@ +os_family =3D linux + +arch =3D i486 + +os_arch =3D linux_i486 + +lib_arch =3D i386 + +compiler =3D gcc31 + +gnu_dis_arch =3D i386 + +sysdefs =3D -DLINUX -D_GNU_SOURCE -DIA32 -D_USE_PTHREAD_SPECIFIC -pthread = -D_THREAD_SAFE + +mark_style =3D alignment + diff -urN ../../hotspot1.3.1/src/share/vm/utilities/globalDefinitions_gcc32= .hpp ../../hotspot1.3.1/src/share/vm/utilities/globalDefinitions_gcc32.hpp --- ../../hotspot1.3.1/src/share/vm/utilities/globalDefinitions_gcc32.hpp T= hu Jan 1 01:00:00 1970 +++ ../../hotspot1.3.1/src/share/vm/utilities/globalDefinitions_gcc32.hpp W= ed Nov 20 14:25:03 2002 @@ -0,0 +1,139 @@ +/* + * @(#)globalDefinitions_gcc.hpp 1.18 01/02/09 14:48:11 + * + * Copyright 1993-2001 by Sun Microsystems, Inc., + * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. + * All rights reserved. + *=20 + * This software is the confidential and proprietary information + * of Sun Microsystems, Inc. ("Confidential Information"). You + * shall not disclose such Confidential Information and shall use + * it only in accordance with the terms of the license agreement + * you entered into with Sun. + */ + +// CopyrightVersion 1.2 + +// This file holds compiler-dependent includes, +// globally used constants & types, class (forward) +// declarations and a few frequently used utility functions. + +# include +# include +# include +# include +# include +# include +# include + +#ifdef SOLARIS +# include +#endif + +# include +# include +# include +# include + +# include +# include + + +#ifdef LINUX +# include +# include +# include +# include + +#else + +// Compiler-specific primitive types +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; + +typedef signed char int8_t; +typedef signed short int16_t; +typedef signed int int32_t; +typedef signed long long int64_t; + +#endif /*LINUX*/ + +// promises that the system will not use traps 16-31 +#define ST_RESERVED_FOR_USER_0 0x10 + +// Additional Java basic types + +typedef unsigned char jubyte; +typedef unsigned short jushort; +typedef unsigned int juint; +typedef unsigned long long julong; + +//------------------------------------------------------------------------= ---------------------------- +// Special (possibly not-portable) casts +// Cast floats into same-size integers and vice-versa w/o changing bit-pat= tern +// %%%%%% These seem like standard C++ to me--how about factoring them out= ? - Ungar + +inline jint jint_cast (jfloat x) { return *(jint* )&x; } +inline jlong jlong_cast (jdouble x) { return *(jlong* )&x; } + +inline jfloat jfloat_cast (jint x) { return *(jfloat* )&x; } +inline jdouble jdouble_cast(jlong x) { return *(jdouble*)&x; } + +//------------------------------------------------------------------------= ---------------------------- +// Constant for jlong (specifying an long long canstant is C++ compiler sp= ecific) + +#ifdef LINUX //-billh +const int64_t min_jlong =3D 0x8000000000000000LL; +const int64_t max_jlong =3D 0x7fffffffffffffffLL; +#else +const jlong min_jlong =3D 0x8000000000000000L; +const jlong max_jlong =3D 0x7fffffffffffffffL; +#endif + +//------------------------------------------------------------------------= ---------------------------- +// Debugging + +#define DEBUG_EXCEPTION ::abort(); + +extern "C" void breakpoint(); +#define BREAKPOINT ::breakpoint() + +// checking for nanness + +inline int g_isnan(float f) { return isnanf(f); } +#if defined(SOLARIS) || defined(BSD4_4)=20 +inline int g_isnan(double f) { return isnand(f); } +#elif LINUX +inline int g_isnan(double f) { return isnan(f); } +#else +#error "missing platform-speicfic definition here" +#endif + + +// Checking for finiteness + +inline int g_isfinite(jfloat f) { return finite(f); } +inline int g_isfinite(jdouble f) { return finite(f); } + + +// Wide characters + +inline int wcslen(const jchar* x) { return wcslen((const wchar_t*)x); } + + +#ifdef PRODUCT +const int Interpreter_Code_Size =3D 55 * 1024; +#else +const int Interpreter_Code_Size =3D 75 * 1024; +#endif + +// Portability macros +#define PRAGMA_INTERFACE #pragma interface +#define PRAGMA_IMPLEMENTATION #pragma implementation +#if !defined(LINUX) && !defined(BSD4_4) +#define PRAGMA_IMPLEMENTATION_(arg) #pragma implementation(arg) +#endif /*LINUX*/ +#define VALUE_OBJ_CLASS_SPEC + diff -urN ../src/solaris/bin/jvm.cfg ../src/solaris/bin/jvm.cfg --- ../src/solaris/bin/jvm.cfg Sun May 6 14:26:52 2001 +++ ../src/solaris/bin/jvm.cfg Thu Nov 21 18:43:54 2002 @@ -8,7 +8,7 @@ # List of JVMs that can be used as the first option to java, javac, etc. # Order is important -- first in this list is the default JVM. # +-classic -client -hotspot -server --classic --=-WZeLTLaU7fbhUIp0apEy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 1:24:50 2002 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 DF2BC37B404 for ; Fri, 22 Nov 2002 01:24:46 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7514E43E4A for ; Fri, 22 Nov 2002 01:24:45 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18FA3D-00022R-00; Fri, 22 Nov 2002 01:24:39 -0800 Date: Fri, 22 Nov 2002 01:24:39 -0800 To: "Georg-W. Koltermann" Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE Message-ID: <20021122092439.GA7782@gnuppy.monkey.org> References: <1037283323.18267.30.camel@hunter.muc.macsch.com> <20021115003621.GA3359@gnuppy.monkey.org> <1037615069.439.27.camel@hunter.muc.macsch.com> <20021118105502.GA3955@gnuppy.monkey.org> <1037901021.81842.163.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037901021.81842.163.camel@hunter.muc.macsch.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 22, 2002 at 09:10:36AM +0100, Georg-W. Koltermann wrote: > Thank you all who helped with their advice. I've built hotspot on > 4.7-STABLE now and it seems to work. I ran jedit for a while in the > hotspot engine, and it did not crash. It was only very noisy, > complaining about keys that were not found and yellow/red zoning not > working. I think this behaviour is expected. Good. That's just the debug code, it should be delete now that I know that portion of the code is working correctly. It's delete in our CVS. > Unfortunately the hotspot engine would not run Together. It hung during > startup. Well... I couldn't really hope that it would work. Damn, I've been idle with doing HotSpot work since I've been dorking around with other things (being a bored loser) and have just now gotten back into it so that the VM safepointing stuff get the correct register values for GC and roll-forward operations. > I'll attach my patch. It does the following things: > > * Changes the build files so that both the classic VM (including the > native threads part) and the hotspot VM are built with GCC32. I didn't > bother to mark the port to depend on GCC32 as a build dependency, I just > changed the build process. That's done in our tree. The lag between patch releases is annoying and you were a victim of it. > * Changes the .java_wrapper so that it no longer activates native > threading in the classic VM. It would do that as soon as it found the > hotspot library on disk, and would fail (in the classic VM) rather > quickly. Sure, -classic is dead. I'm going to deprecated it under 1.3.1 since it's useless. > * Fixes a compilation error in the hotspot part which is due to some > recent changes in libc_r. This is based on recent discussion on this > list, it just removes (#ifdefs out) the problem code. Yes, same reason as above with -classic being turned off. It's just a hpi/ library that serves as a useless marker. > You can drop the patch into your jdk13/files and it will apply during > the build. Note, however, that a) you have to build the classic part > with "make WITH_NATIVE_THREADS=1", and then build the hotspot part by > hand as discussed in > http://www.freebsd.org/cgi/getmsg.cgi?fetch=63624+0+/usr/local/www/db/text/2002/freebsd-java/20020728.freebsd-java (only now you use GCC 3.2 instead of 3.1). bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 2:11:58 2002 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 ED4B437B401 for ; Fri, 22 Nov 2002 02:11:56 -0800 (PST) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E7CC43E3B for ; Fri, 22 Nov 2002 02:11:56 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.91 #2) id 18FAmu-0006Ug-00; Fri, 22 Nov 2002 11:11:52 +0100 Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE From: "Georg-W. Koltermann" To: Nick Johnson Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20021122003152.Q30835-100000@turing.morons.org> References: <20021122003152.Q30835-100000@turing.morons.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 22 Nov 2002 11:12:26 +0100 Message-Id: <1037959950.417.55.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Am Fr, 2002-11-22 um 09.33 schrieb Nick Johnson: > On 22 Nov 2002, Georg-W. Koltermann wrote: > > > Unfortunately the hotspot engine would not run Together. It hung during > > startup. Well... I couldn't really hope that it would work. > > Are you sure it hung? Even on my windows box and solaris box it takes > TogetherJ like 5 minutes (literally) to get started... > > Nick You are right, it doesn't completely hang. I noticed that about 30 minutes ago when I tried again. It pops up the splash screen after about 10 seconds, and then it hangs. If you hide and expose the splash screen, it does not get updated. The java process consumes hardly any cpu. Then after 10 *MINUTES* or so, it suddenly updates the splash screen, moving the progress bar further. Then it pauses again as above. The same repeats after another 10 minutes. I'll let it continue in the background and see what happens. -- Regards, Georg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 2:18:45 2002 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 847AF37B401 for ; Fri, 22 Nov 2002 02:18:44 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9AA943E4A for ; Fri, 22 Nov 2002 02:18:43 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18FAsf-0002AY-00; Fri, 22 Nov 2002 02:17:49 -0800 Date: Fri, 22 Nov 2002 02:17:49 -0800 To: "Georg-W. Koltermann" Cc: Nick Johnson , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE Message-ID: <20021122101749.GA8337@gnuppy.monkey.org> References: <20021122003152.Q30835-100000@turing.morons.org> <1037959950.417.55.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037959950.417.55.camel@hunter.muc.macsch.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 22, 2002 at 11:12:26AM +0100, Georg-W. Koltermann wrote: > You are right, it doesn't completely hang. I noticed that about 30 > minutes ago when I tried again. > > It pops up the splash screen after about 10 seconds, and then it hangs. > If you hide and expose the splash screen, it does not get updated. The > java process consumes hardly any cpu. > > Then after 10 *MINUTES* or so, it suddenly updates the splash screen, > moving the progress bar further. Then it pauses again as above. The > same repeats after another 10 minutes. > > I'll let it continue in the background and see what happens. There's section that deals with sleeping and signal. Enable that stuff in os_linux.cpp and try it again. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 3:11:38 2002 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 BE38637B401 for ; Fri, 22 Nov 2002 03:11:37 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30F3043E6E for ; Fri, 22 Nov 2002 03:11:37 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18FBiZ-0002Cr-00; Fri, 22 Nov 2002 03:11:27 -0800 Date: Fri, 22 Nov 2002 03:11:27 -0800 To: Achilleus Mantzios Cc: "Georg-W. Koltermann" , Nick Johnson , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Off topic - gcc32 Message-ID: <20021122111127.GA8473@gnuppy.monkey.org> References: <20021122101749.GA8337@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 22, 2002 at 01:16:41PM +0200, Achilleus Mantzios wrote: > I tried defining YYTOKENTYPE to passby this error, but i later failed > again to build so i quit fooling around with gcc32. > I decided to "bootstrap" gcc32 compilation using gcc31. > > Is it a good idea?? > Has anyone come across the error in gcc32 i encountered?? Forward this to the port maintainer (Dave Obrien ?) and -ports, I encountered the same problem, but got no reply on that list. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 3:30:11 2002 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 E8F7137B401 for ; Fri, 22 Nov 2002 03:30:10 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5966D43E9C for ; Fri, 22 Nov 2002 03:30:10 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18FC0V-0002E6-00; Fri, 22 Nov 2002 03:29:59 -0800 Date: Fri, 22 Nov 2002 03:29:59 -0800 To: Achilleus Mantzios Cc: "Georg-W. Koltermann" , Nick Johnson , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Off topic - gcc32 Message-ID: <20021122112959.GA8557@gnuppy.monkey.org> References: <20021122111127.GA8473@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 22, 2002 at 01:23:37PM +0200, Achilleus Mantzios wrote: > So you tried the package? No, I didn't try the package, I eventually reverted back to gcc 3.1 for compiles instead. Does it work BTW ? /me gets scared bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 5:32:21 2002 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 1F5FC37B401 for ; Fri, 22 Nov 2002 05:32:19 -0800 (PST) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4274543E9C for ; Fri, 22 Nov 2002 05:32:18 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.91 #2) id 18FDt8-0005q8-00; Fri, 22 Nov 2002 14:30:30 +0100 Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE From: "Georg-W. Koltermann" To: Bill Huey Cc: Nick Johnson , freebsd-java@FreeBSD.ORG In-Reply-To: <20021122101749.GA8337@gnuppy.monkey.org> References: <20021122003152.Q30835-100000@turing.morons.org> <1037959950.417.55.camel@hunter.muc.macsch.com> <20021122101749.GA8337@gnuppy.monkey.org> Content-Type: multipart/mixed; boundary="=-SCZY3kGorDBugjJYsETd" X-Mailer: Ximian Evolution 1.0.8 Date: 22 Nov 2002 14:31:06 +0100 Message-Id: <1037971868.417.59.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-SCZY3kGorDBugjJYsETd Content-Type: text/plain Content-Transfer-Encoding: 7bit Am Fr, 2002-11-22 um 11.17 schrieb Bill Huey: > > ... > > Then after 10 *MINUTES* or so, it suddenly updates the splash screen, > > moving the progress bar further. Then it pauses again as above. The > > same repeats after another 10 minutes. > > > > I'll let it continue in the background and see what happens. > > There's section that deals with sleeping and signal. Enable that stuff > in os_linux.cpp and try it again. > > bill I'm not sure if I understood you correctly. See attached patch for what I did. It didn't help :-( -- Regards, Georg. --=-SCZY3kGorDBugjJYsETd Content-Disposition: inline; filename=gwk.patch Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=gwk.patch; charset=ISO-8859-15 --- os_linux.cpp~ Fri Nov 22 11:28:44 2002 +++ os_linux.cpp Fri Nov 22 12:56:13 2002 @@ -1537,7 +1537,7 @@ int os::sleep(Thread* thread, jlong millis, bool interruptible) { assert(thread =3D=3D Thread::current(), "thread consistency check"); =20 -#if 0 +// gwk #if 0 // On Solaris machines (especially 2.5.1) we found that sometimes the VM= gets into a live lock // situation with a JavaThread being starved out of a lwp. The kernel do= esn't seem to generate // a SIGWAITING signal which would enable the threads library to create = a new lwp for the starving @@ -1552,10 +1552,10 @@ Threads_lock->lock_without_safepoint_check(); Threads_lock->unlock();=20 } -#endif +// gwk #endif =20 if (millis <=3D 0) { -#if 0 +//gwk #if 0 // NOTE: workaround for bug 4338139 if (thread->is_Java_thread()) { StateSaver sv(thread); @@ -1563,7 +1563,7 @@ pthread_yield(); return 0; } -#endif +// gwk #endif =20 pthread_yield(); =20 --=-SCZY3kGorDBugjJYsETd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Nov 22 11:29:53 2002 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 06A8637B401 for ; Fri, 22 Nov 2002 11:29:53 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 614AB43EB2 for ; Fri, 22 Nov 2002 11:29:52 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18FJUa-0000G5-00; Fri, 22 Nov 2002 11:29:32 -0800 Date: Fri, 22 Nov 2002 11:29:32 -0800 To: "Georg-W. Koltermann" Cc: Nick Johnson , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: [SUCCESS] Trying to compile HotSpot on 4.7-STABLE Message-ID: <20021122192932.GA984@gnuppy.monkey.org> References: <20021122003152.Q30835-100000@turing.morons.org> <1037959950.417.55.camel@hunter.muc.macsch.com> <20021122101749.GA8337@gnuppy.monkey.org> <1037971868.417.59.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037971868.417.59.camel@hunter.muc.macsch.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 22, 2002 at 02:31:06PM +0100, Georg-W. Koltermann wrote: > I'm not sure if I understood you correctly. See attached patch for what > I did. > > It didn't help :-( Sorry, to be vague. It's a line that's commented out involving INTERUPT* macro around nanosleep I believe. I talked about it on the list a while back. My dev machine isn't on so I can't tell you the specific function name. I'll get back to you on this latter on... bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message