From owner-freebsd-java Sun Jan 30 5:11:14 2000 Delivered-To: freebsd-java@freebsd.org Received: from nohow.demon.co.uk (nohow.demon.co.uk [212.228.18.189]) by hub.freebsd.org (Postfix) with ESMTP id 22EDF1505F for ; Sun, 30 Jan 2000 05:10:59 -0800 (PST) (envelope-from noway@nohow.demon.co.uk) Received: from localhost (noway@localhost) by nohow.demon.co.uk (8.9.3/8.9.3) with ESMTP id LAA40012 for ; Sun, 30 Jan 2000 11:35:49 GMT (envelope-from noway@nohow.demon.co.uk) Date: Sun, 30 Jan 2000 11:35:44 +0000 (GMT) From: Jose Marques To: freebsd-java@freebsd.org Subject: Linux JDK 1.2.2 RC4 Message-ID: X-No-Archive: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The Blackdown project have produced another release candidate (RC4) of their JDK 1.2.2 for Linux. See: http://www.blackdown.org/java-linux/jdk1.2-status/jdk1.2-status.html for details. A FreeBSD port for it is available at: http://www.jmcm.org/tech/ports/linux_jdk.html The JDK requires the linux_base-6.1 port to be installed which I believe implies that you need FreeBSD 3.4-STABLE or later to run it. -- Jose Marques To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jan 30 9:28:48 2000 Delivered-To: freebsd-java@freebsd.org Received: from lodge.guild.ab.ca (lodge.guild.ab.ca [209.91.118.66]) by hub.freebsd.org (Postfix) with ESMTP id A921E1512D for ; Sun, 30 Jan 2000 09:28:44 -0800 (PST) (envelope-from davidc@lodge.guild.ab.ca) Received: from localhost (davidc@localhost) by lodge.guild.ab.ca (8.9.3/8.9.3) with ESMTP id KAA82952; Sun, 30 Jan 2000 10:29:04 -0700 (MST) (envelope-from davidc@lodge.guild.ab.ca) Date: Sun, 30 Jan 2000 10:29:04 -0700 (MST) From: Chad David To: Jose Marques Cc: freebsd-java@FreeBSD.ORG Subject: Re: Linux JDK 1.2.2 RC4 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has anyone tested incoming sockets on it (or RC3 for that matter)? I have RC3 running on both -current and -stable, but incoming socket connections fail on both. The error is: java.net.SocketException: Resource temporarily unavailable: Resource temporarily unavailable And it is thrown from SocketInputStream.socketRead(native). Any ideas? Thanks Chad On Sun, 30 Jan 2000, Jose Marques wrote: > The Blackdown project have produced another release candidate (RC4) of > their JDK 1.2.2 for Linux. See: > > http://www.blackdown.org/java-linux/jdk1.2-status/jdk1.2-status.html > > for details. A FreeBSD port for it is available at: > > http://www.jmcm.org/tech/ports/linux_jdk.html > > The JDK requires the linux_base-6.1 port to be installed which I believe > implies that you need FreeBSD 3.4-STABLE or later to run it. > > -- > Jose Marques > > > > > > 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 Sun Jan 30 10:22: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from venus.rz.uni-frankfurt.de (venus.rz.uni-frankfurt.de [141.2.22.241]) by hub.freebsd.org (Postfix) with ESMTP id DE96514D33 for ; Sun, 30 Jan 2000 10:22:04 -0800 (PST) (envelope-from buchmann@stud.uni-frankfurt.de) Received: from smirnoff.rz.uni-frankfurt.de ([141.2.164.25]) by venus.rz.uni-frankfurt.de with esmtp (Exim 3.12 #2) id 12Eyyc-00012G-00 for freebsd-java@FreeBSD.ORG; Sun, 30 Jan 2000 19:21:34 +0100 Received: from hendrix.localnet.org (actually NAFp2-158.rz.uni-frankfurt.de) by smirnoff.rz.uni-frankfurt.de with Local SMTP (PP); Sun, 30 Jan 2000 19:21:14 +0100 Received: (from buchmann@localhost) by hendrix.localnet.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id TAA00510 for freebsd-java@FreeBSD.ORG; Sun, 30 Jan 2000 19:20:47 +0100 Date: Sun, 30 Jan 2000 19:20:46 +0100 From: Jan Buchmann To: freebsd-java@FreeBSD.ORG Subject: Re: Linux JDK 1.2.2 RC4 Message-ID: <20000130192046.A472@hendrix.localnet.org> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from davidc@guild.ab.ca on Sun, Jan 30, 2000 at 10:29:04AM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jan 30, 2000 at 10:29:04AM -0700, Chad David wrote: > > Has anyone tested incoming sockets on it (or RC3 for that matter)? > I have RC3 running on both -current and -stable, but incoming socket > connections fail on both. The error is: > java.net.SocketException: Resource temporarily unavailable: Resource > temporarily unavailable Hi Chad, I experienced the same error you mentioned above using Apache JServ. If someone knows a way to fix this I would be very thankful. At the moment I have to use JDK1.1.8 with tya, but I need some functionality from Java 2 (Security, CORBA, speed) :-) BTW: How compatible is FreeBSD with the other BSDs (NetBSD, OpenBSD) in terms of Java, will the FreeBSD ports run there? Bye Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jan 30 11:40:24 2000 Delivered-To: freebsd-java@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with ESMTP id EA9DD15322 for ; Sun, 30 Jan 2000 11:40:20 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 12F0BA-0001YE-00; Sun, 30 Jan 2000 11:38:36 -0800 Date: Sun, 30 Jan 2000 11:38:34 -0800 (PST) From: Tom To: Roy Lanek Cc: Nate Williams , Haikal Saadh , freebsd-java@FreeBSD.ORG Subject: Re: jdk1.3... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 29 Jan 2000, Roy Lanek wrote: > > Sun has shown no interest whatsoever in helping out the FreeBSD project > > do it's Java work.... > > > Moreover, given the recent launch/promotion/inauguration of *Solaris 8 > free* (free as in gratis) I dare to imagine that things will become worse > on FreeBSD. I doubt that free Solaris 8 will affect things at all. Free Solaris 7 didn't change anything, why would free Solaris 8? Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jan 30 14:58:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 7C9C4151C8 for ; Sun, 30 Jan 2000 14:58:30 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id OAA97644 for freebsd-java@freebsd.org; Sun, 30 Jan 2000 14:58:30 -0800 (PST) From: Archie Cobbs Message-Id: <200001302258.OAA97644@bubba.whistle.com> Subject: JDK 1.2 using Linux emulation To: freebsd-java@freebsd.org Date: Sun, 30 Jan 2000 14:58:30 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org A couple of questions regarding JDK 1.2 support using Linux emulation.. 1. Is anyone planning to commit this port? http://www.jmcm.org/tech/ports/linux_jdk.html 2. Shouldn't there be some mention of doing this on the FreeBSD Java website (or did I miss it)? -Archie P.S. The http://www.freebsd.org/java/install.html web page formatting is all screwed up, at least on my browser, making it unreadable. ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jan 30 15: 8:33 2000 Delivered-To: freebsd-java@freebsd.org Received: from p.wl.vg (209-9-69-194.sdsl.cais.net [209.9.69.194]) by hub.freebsd.org (Postfix) with ESMTP id 30C8214E8E for ; Sun, 30 Jan 2000 15:08:13 -0800 (PST) (envelope-from patrick@whetstonelogic.com) Received: from whetstonelogic.com (localhost [127.0.0.1]) by p.wl.vg (8.9.3/8.9.3) with ESMTP id SAA43672; Sun, 30 Jan 2000 18:06:53 -0500 (EST) (envelope-from patrick@whetstonelogic.com) From: patrick@whetstonelogic.com Message-Id: <200001302306.SAA43672@p.wl.vg> Date: Sun, 30 Jan 2000 18:06:51 -0500 (EST) Subject: Re: JDK 1.2 using Linux emulation To: archie@whistle.com Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <200001302258.OAA97644@bubba.whistle.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 30 Jan, Archie Cobbs wrote: > A couple of questions regarding JDK 1.2 support using Linux emulation.. > > 1. Is anyone planning to commit this port? > > http://www.jmcm.org/tech/ports/linux_jdk.html I'm building it right now to test it. Then we'll see... > 2. Shouldn't there be some mention of doing this on the FreeBSD > Java website (or did I miss it)? Not yet. But soon (if it builds/installs ok). > P.S. The http://www.freebsd.org/java/install.html web page > formatting is all screwed up, at least on my browser, > making it unreadable. I've fixed it. Thanks for mentioning it. (Always wanted to know what a border of 600 looked like!) Patrick ---------- Patrick Gardella patrick@whetstonelogic.com VP-Technology patrick@freebsd.org Whetstone Logic, Inc. This space intentionally left blank. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jan 30 17:30:55 2000 Delivered-To: freebsd-java@freebsd.org Received: from hobart.southcom.com.au (hobart.southcom.com.au [203.60.16.2]) by hub.freebsd.org (Postfix) with ESMTP id 2521815274 for ; Sun, 30 Jan 2000 17:30:51 -0800 (PST) (envelope-from shevlandj@kpi.com.au) Received: from elite (ws00.kpi.com.au [203.39.132.213]) by hobart.southcom.com.au (8.9.3/8.9.3) with SMTP id MAA87293; Mon, 31 Jan 2000 12:31:06 +1100 (EST) (envelope-from shevlandj@kpi.com.au) Message-ID: <002301bf6c2a$a9f9a640$d58427cb@kpi.com.au> From: "Joe Shevland" To: "Jan Buchmann" , References: <20000130192046.A472@hendrix.localnet.org> Subject: Re: Linux JDK 1.2.2 RC4 Date: Mon, 31 Jan 2000 12:35:07 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Aha, I'm getting the same problem using RC3 and 3.4-STABLE-27012000; I thought it was my configuration of JServ but seems not; I'd also be very keen on a fix... is it worth going to RC4? Cheers, Joe. ----- Original Message ----- From: "Jan Buchmann" To: Sent: Sunday, January 30, 2000 10:20 AM Subject: Re: Linux JDK 1.2.2 RC4 > On Sun, Jan 30, 2000 at 10:29:04AM -0700, Chad David wrote: > > > > Has anyone tested incoming sockets on it (or RC3 for that matter)? > > I have RC3 running on both -current and -stable, but incoming socket > > connections fail on both. The error is: > > java.net.SocketException: Resource temporarily unavailable: Resource > > temporarily unavailable > Hi Chad, > I experienced the same error you mentioned above using Apache JServ. If someone knows a way to fix this I would be very thankful. > > At the moment I have to use JDK1.1.8 with tya, but I need some functionality from Java 2 (Security, CORBA, speed) :-) > > BTW: How compatible is FreeBSD with the other BSDs (NetBSD, OpenBSD) in terms of Java, will the FreeBSD ports run there? > > Bye > Jan > > > 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 Sun Jan 30 21:23:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from jktmail02.indosat.net.id (jktmail02.indosat.net.id [202.155.15.22]) by hub.freebsd.org (Postfix) with ESMTP id 25E2914F03 for ; Sun, 30 Jan 2000 21:23:26 -0800 (PST) (envelope-from lanekr@indosat.net.id) Received: from [202.155.13.13] ([202.155.13.13]) by jktmail02.indosat.net.id with Microsoft SMTPSVC(5.5.1877.977.9); Mon, 31 Jan 2000 12:27:15 +0700 Date: Mon, 31 Jan 2000 12:28:03 +0700 (JAVT) From: Roy Lanek X-Sender: lanekr@cengkeh To: Tom Cc: Nate Williams , Haikal Saadh , freebsd-java@FreeBSD.ORG Subject: Re: jdk1.3... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ah! I did not even know that there was "Free Solaris 7". Bah. Free Solaris-Peano pour l'art then, glad to read that. And: when will we enter Java's bronze or *habilis* (FreeBSD's) period? Soon. Isn't that? Soon. Where is my bludgeon? ... bam-bam-bam! (Signal of happiness.) :) Roy On Sun, 30 Jan 2000, Tom wrote: > I doubt that free Solaris 8 will affect things at all. Free Solaris 7 > didn't change anything, why would free Solaris 8? > > Tom > > > > 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 Feb 2 7: 1:22 2000 Delivered-To: freebsd-java@freebsd.org Received: from lugh.relay.co.uk (lugh.relay.co.uk [194.72.177.254]) by builder.freebsd.org (Postfix) with ESMTP id BB0274056 for ; Wed, 2 Feb 2000 07:01:18 -0800 (PST) Received: from raku.enetgroup.co.uk ([194.72.178.7]) by lugh.relay.co.uk (Netscape Messaging Server 4.15) with ESMTP id FPB5PD00.H00 for ; Wed, 2 Feb 2000 15:00:49 +0000 Content-Length: 544 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 02 Feb 2000 15:01:20 -0000 (GMT) From: John Rochester To: freebsd-java@FreeBSD.org Subject: patches to linux module Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got some patches that fix two bugs that affect the blackdown jdk1.2.2. One fixes a bug with reading from a tty, and the other fixes a socket bug (Apache JServ works with this patch). They are for 3.4-STABLE. I've sent these patches to a committer (peter) but if you want them on your page until they get into -STABLE, let me know. I will also post something to comp.unix.bsd.freebsd.misc. John ---- John Rochester, Java Developer e-Net Software, Bath, UK jr@cs.mun.ca john.rochester@enetgroup.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 2 10:21:50 2000 Delivered-To: freebsd-java@freebsd.org Received: from asturias.rz.uni-frankfurt.de (asturias.rz.uni-frankfurt.de [141.2.21.72]) by builder.freebsd.org (Postfix) with ESMTP id 8454840A3 for ; Wed, 2 Feb 2000 10:21:46 -0800 (PST) Received: from smirnoff.rz.uni-frankfurt.de ([141.2.164.25]) by asturias.rz.uni-frankfurt.de with esmtp (Exim 3.12 #2) id 12G4MZ-0005rb-00 for freebsd-java@FreeBSD.ORG; Wed, 02 Feb 2000 19:18:47 +0100 Received: from hendrix.localnet.org (actually NAFp2-158.rz.uni-frankfurt.de) by smirnoff.rz.uni-frankfurt.de with Local SMTP (PP); Wed, 2 Feb 2000 19:18:41 +0100 Received: (from buchmann@localhost) by hendrix.localnet.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id TAA00666 for freebsd-java@FreeBSD.ORG; Wed, 2 Feb 2000 19:17:40 +0100 Date: Wed, 2 Feb 2000 19:17:40 +0100 From: Jan Buchmann To: freebsd-java@FreeBSD.ORG Subject: Re: patches to linux module Message-ID: <20000202191740.A566@hendrix.localnet.org> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from john.rochester@enetgroup.co.uk on Wed, Feb 02, 2000 at 03:01:20PM -0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi John, On Wed, Feb 02, 2000 at 03:01:20PM -0000, John Rochester wrote: > I've got some patches that fix two bugs that affect the blackdown jdk1.2.2. > One fixes a bug with reading from a tty, and the other fixes a socket bug > (Apache JServ works with this patch). They are for 3.4-STABLE. Is it possible to post them to the list, I can't wait to try them out :-). Bye Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 2 16:26:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by builder.freebsd.org (Postfix) with ESMTP id EE6E94203 for ; Wed, 2 Feb 2000 16:26:39 -0800 (PST) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id QAA94346; Wed, 2 Feb 2000 16:26:40 -0800 (PST) From: Archie Cobbs Message-Id: <200002030026.QAA94346@bubba.whistle.com> Subject: Re: patches to linux module In-Reply-To: <20000202191740.A566@hendrix.localnet.org> from Jan Buchmann at "Feb 2, 2000 07:17:40 pm" To: buchmann@stud.uni-frankfurt.de (Jan Buchmann) Date: Wed, 2 Feb 2000 16:26:39 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jan Buchmann writes: > > I've got some patches that fix two bugs that affect the blackdown jdk1.2.2. > > One fixes a bug with reading from a tty, and the other fixes a socket bug > > (Apache JServ works with this patch). They are for 3.4-STABLE. > > Is it possible to post them to the list, I can't wait to try them out :-). Yes, please put them somewhere visible to public ftp or http, or send them to me and I will. Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 2 17:43:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.31.83.86]) by builder.freebsd.org (Postfix) with ESMTP id B3963425B for ; Wed, 2 Feb 2000 17:43:46 -0800 (PST) Received: from elite (ws00.kpi.com.au [203.39.132.213]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id MAA08234; Thu, 3 Feb 2000 12:43:37 +1100 (EST) (envelope-from shevlandj@kpi.com.au) Message-ID: <006301bf6e88$05e27cc0$d58427cb@kpi.com.au> From: "Joe Shevland" To: "Jan Buchmann" , References: <20000202191740.A566@hendrix.localnet.org> Subject: Re: patches to linux module Date: Thu, 3 Feb 2000 12:48:27 -0800 Organization: KPI Logistics Pty Ltd MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hmmm, these patches are for the source I take it... I haven't spotted that yet, can anyone provide a quick URL...? Cheers, Joe. ----- Original Message ----- From: "Jan Buchmann" To: Sent: Wednesday, February 02, 2000 10:17 AM Subject: Re: patches to linux module > Hi John, > > On Wed, Feb 02, 2000 at 03:01:20PM -0000, John Rochester wrote: > > I've got some patches that fix two bugs that affect the blackdown jdk1.2.2. > > One fixes a bug with reading from a tty, and the other fixes a socket bug > > (Apache JServ works with this patch). They are for 3.4-STABLE. > > Is it possible to post them to the list, I can't wait to try them out :-). > > Bye > Jan > > > 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 Thu Feb 3 9:56:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from lugh.relay.co.uk (lugh.relay.co.uk [194.72.177.254]) by builder.freebsd.org (Postfix) with ESMTP id 006C64059 for ; Thu, 3 Feb 2000 09:56:14 -0800 (PST) Received: from raku.enetgroup.co.uk ([194.72.178.7]) by lugh.relay.co.uk (Netscape Messaging Server 4.15) with ESMTP id FPD8G500.800 for ; Thu, 3 Feb 2000 17:55:17 +0000 Content-Length: 4391 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.3.p0.FreeBSD:000203175550:345=_" Date: Thu, 03 Feb 2000 17:55:51 -0000 (GMT) From: John Rochester To: freebsd-java@FreeBSD.org Subject: patches to linux module Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format --_=XFMail.1.3.p0.FreeBSD:000203175550:345=_ Content-Type: text/plain; charset=us-ascii These patches only work on FreeBSD 3.4-STABLE - anything else, and you're on your own. Save the patches in a file, say /tmp/patches become root cd /usr/src/sys/i386/linux patch -p0 < /tmp/patches if the patches succeed, (they should fail only if you are not 3.4-STABLE) cd ../../modules/linux make I get some warnings about linux_sysent.c - they're ok. if the make succeeds, make install make clean Now you have two choices: The easy choice: reboot The fast choice: kill all processes using linux emulation kldunload linux kldload linux ---- John Rochester, Java Developer e-Net Software, Bath, UK jr@cs.mun.ca john.rochester@enetgroup.co.uk --_=XFMail.1.3.p0.FreeBSD:000203175550:345=_ Content-Disposition: attachment; filename="patches" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; name=patches; SizeOnDisk=3231 --- linux_socket.c.orig Wed Feb 2 12:49:23 2000 +++ linux_socket.c Wed Feb 2 13:00:25 2000 @@ -441,6 +441,11 @@ caddr_t name; int *anamelen; } */ bsd_args; + struct fcntl_args /* { + int fd; + int cmd; + long arg; + } */ f_args; int error; if ((error=copyin((caddr_t)args, (caddr_t)&linux_args, sizeof(linux_args))) ) @@ -448,7 +453,23 @@ bsd_args.s = linux_args.s; bsd_args.name = (caddr_t)linux_args.addr; bsd_args.anamelen = linux_args.namelen; - return oaccept(p, &bsd_args); + if (error = oaccept(p, &bsd_args)) + return error; + /* + * linux appears not to copy flags from the parent socket to the + * accepted one, so we must clear the flags in the new descriptor. + */ + f_args.fd = p->p_retval[0]; + f_args.cmd = F_SETFL; + f_args.arg = 0; + /* + * we ignore errors here since otherwise we would have an open file + * descriptor that wasn't returned to the user. + */ + (void) fcntl(p, &f_args); + /* put the file descriptor back as the return value */ + p->p_retval[0] = f_args.fd; + return 0; } struct linux_getsockname_args { --- linux_file.c.orig Wed Feb 2 12:49:18 2000 +++ linux_file.c Wed Feb 2 13:06:27 2000 @@ -196,18 +196,10 @@ } */ fcntl_args; struct linux_flock linux_flock; struct flock *bsd_flock; - struct filedesc *fdp; - struct file *fp; - struct vnode *vp; - struct vattr va; - long pgid; - struct pgrp *pgrp; - struct tty *tp, *(*d_tty) __P((dev_t)); caddr_t sg; sg = stackgap_init(); bsd_flock = (struct flock *)stackgap_alloc(&sg, sizeof(struct flock)); - d_tty = NULL; #ifdef DEBUG printf("Linux-emul(%d): fcntl(%d, %08x, *)\n", @@ -286,47 +278,9 @@ case LINUX_F_SETOWN: case LINUX_F_GETOWN: - /* - * We need to route around the normal fcntl() for these calls, - * since it uses TIOC{G,S}PGRP, which is too restrictive for - * Linux F_{G,S}ETOWN semantics. For sockets, this problem - * does not exist. - */ - fdp = p->p_fd; - if ((u_int)args->fd >= fdp->fd_nfiles || - (fp = fdp->fd_ofiles[args->fd]) == NULL) - return EBADF; - if (fp->f_type == DTYPE_SOCKET) { - fcntl_args.cmd = args->cmd == LINUX_F_SETOWN ? F_SETOWN : F_GETOWN; - fcntl_args.arg = args->arg; - return fcntl(p, &fcntl_args); - } - vp = (struct vnode *)fp->f_data; - if (vp->v_type != VCHR) - return EINVAL; - if ((error = VOP_GETATTR(vp, &va, p->p_ucred, p))) - return error; - - d_tty = cdevsw[major(va.va_rdev)]->d_devtotty; - if (!d_tty || (!(tp = (*d_tty)(va.va_rdev)))) - return EINVAL; - if (args->cmd == LINUX_F_GETOWN) { - p->p_retval[0] = tp->t_pgrp ? tp->t_pgrp->pg_id : NO_PID; - return 0; - } - if ((long)args->arg <= 0) { - pgid = -(long)args->arg; - } else { - struct proc *p1 = pfind((long)args->arg); - if (p1 == 0) - return (ESRCH); - pgid = (long)p1->p_pgrp->pg_id; - } - pgrp = pgfind(pgid); - if (pgrp == NULL || pgrp->pg_session != p->p_session) - return EPERM; - tp->t_pgrp = pgrp; - return 0; + fcntl_args.cmd = args->cmd == LINUX_F_SETOWN ? F_SETOWN : F_GETOWN; + fcntl_args.arg = args->arg; + return fcntl(p, &fcntl_args); } return EINVAL; } --_=XFMail.1.3.p0.FreeBSD:000203175550:345=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 3 16:29: 0 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns1.1connect.com (216-59-79-65.usa2.flashcom.net [216.59.79.65]) by builder.freebsd.org (Postfix) with ESMTP id 29F2C5240 for ; Thu, 3 Feb 2000 15:03:38 -0800 (PST) Received: from 1connect.com ([10.0.0.75]) by ns1.1connect.com (8.9.3/8.9.1) with ESMTP id PAA89880 for ; Thu, 3 Feb 2000 15:00:01 -0800 (PST) (envelope-from keith@1connect.com) Message-ID: <389A094B.43AE79C0@1connect.com> Date: Thu, 03 Feb 2000 15:03:39 -0800 From: Keith Wong X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: When we have JDK 2? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, Does anybody know, when the JDK 2 be available at FreeBSD ports? Thanks, Keith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 4 16:53:55 2000 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by builder.freebsd.org (Postfix) with ESMTP id 8DC30444D for ; Fri, 4 Feb 2000 16:53:53 -0800 (PST) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id QAA16390; Fri, 4 Feb 2000 16:54:11 -0800 (PST) From: Archie Cobbs Message-Id: <200002050054.QAA16390@bubba.whistle.com> Subject: Re: patches to linux module In-Reply-To: from John Rochester at "Feb 3, 2000 05:55:51 pm" To: john.rochester@enetgroup.co.uk (John Rochester) Date: Fri, 4 Feb 2000 16:54:11 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Rochester writes: > These patches only work on FreeBSD 3.4-STABLE - anything else, and you're > on your own. Hmm.. these are kernel patches.. Are you claiming that these patches are correct for FreeBSD in general, or is this just a hack for this one application (JDK)? If they are applicable in general you should file a PR so they get integrated into FreeBSD. > The fast choice: > kill all processes using linux emulation > kldunload linux > kldload linux If the linux.ko KLD really lets you unload itself even though there are processes using it, I'd file that as a separate PR. It should keep a reference count or something. Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 5 15:59: 4 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail-ob.kamp.net (mail-ob.kamp.net [195.62.97.26]) by builder.freebsd.org (Postfix) with ESMTP id 60B2A4656 for ; Sat, 5 Feb 2000 15:59:01 -0800 (PST) Received: from coffeebreak.de (port-37.d.kamp.de [195.62.120.229]) by mail-ob.kamp.net (8.9.3/8.9.3) with ESMTP id AAA01062 for ; Sun, 6 Feb 2000 00:59:18 +0100 Message-ID: <389CBA30.DE93EBF4@coffeebreak.de> Date: Sun, 06 Feb 2000 01:02:56 +0100 From: Joachim Jaeckel X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-20000127-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Interested in how I got Visual Age for Java running on FBSD? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, maybe this is completely off topic, because you've solved it allready - or you think that this is not really a freebsd-java related content. If so, please excuse me! If you are interested in how I got the Visual Age for Java for Linux, Version 3.0 running under FreeBSD, please send me an eMail, or tell me, if I should post it to this list, setup a Web-page with a little HowTo or maybe you would like to present that on the freebsd-java pages... Joachim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 1: 8:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by builder.freebsd.org (Postfix) with ESMTP id DA0543D16 for ; Mon, 7 Feb 2000 01:08:27 -0800 (PST) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JLMEXZLUAG000LVH@research.kpn.com> for freebsd-java@freebsd.org; Mon, 7 Feb 2000 10:09:05 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 07 Feb 2000 10:09:04 +0100 Content-return: allowed Date: Mon, 07 Feb 2000 10:09:04 +0100 From: "Koster, K.J." Subject: FW: Linux JDK Swing crashes... To: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522013137F1@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I have installed the Blackdown JDK on my machine at home > (home-grown PC, > FreeBSD 3.4 stable, XFree86 3.3.3.1), but any Swing app goes > down with a > scream. I have a feeling it is XFree86 related because it it > complaining > about something called a "Raster ShortInterleavedRaster". > > The error messages when I start the SwingSet demo: > LikeEver% java -jar SwingSet.jar > Error loading L&F: java.lang.IllegalArgumentException: Raster > ShortInterleavedRaster: width = 64 height = 64 #numDataElements 1 is > incompatible with ColorModel DirectColorModel: rmask=7c00 > gmask=3e0 bmask=1f > amask=0 > Exception in thread "main" java.lang.NullPointerException > at java.util.Hashtable.get(Hashtable.java, > To answer my own question: this problem is solved in RC4 of the blackdown JDK. It now runs fine, happily chomping away at my memory. Perhaps C++ was not such a bad idea after all. *duck* As part of my learning experience: if the system tells you to use "brandelf" to brand the Java 2 executable. you have to enable Linux emulation in /etc/cr.conf. It seems FreeBSD's error messages are as cryptic as Java's own. Correct, no doubt, but very cryptic. :-) Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 7:27: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from lugh.relay.co.uk (lugh.relay.co.uk [194.72.177.254]) by builder.freebsd.org (Postfix) with ESMTP id B56573F2A for ; Mon, 7 Feb 2000 07:26:09 -0800 (PST) Received: from raku.enetgroup.co.uk ([194.72.178.7]) by lugh.relay.co.uk (Netscape Messaging Server 4.15) with ESMTP id FPKG7B00.H01; Mon, 7 Feb 2000 15:25:59 +0000 Content-Length: 158 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200002050054.QAA16390@bubba.whistle.com> Date: Mon, 07 Feb 2000 15:26:41 -0000 (GMT) From: John Rochester To: Archie Cobbs Subject: Re: patches to linux module Cc: freebsd-java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have submitted this (but not as a PR - they never get looked at). kldunload will not unload. That is why I advised to kill all the processes first. john To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 9: 4:10 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 7A2723EB8 for ; Mon, 7 Feb 2000 09:04:03 -0800 (PST) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id SAA05096; Mon, 7 Feb 2000 18:04:00 +0100 (MET) Message-ID: <389F0918.C6DA0B2B@jollem.com> Date: Mon, 07 Feb 2000 18:04:08 +0000 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Jose Marques Cc: freebsd-java@freebsd.org Subject: Re: Linux JDK 1.2.2 RC4 References: Content-Type: multipart/mixed; boundary="------------0C2D35E18BB4204E20BA39B1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------0C2D35E18BB4204E20BA39B1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I'm attempting to run the Blackdown JDK1.2.2-rc4, but after downloading, make install-ing (using the correct tar.gz-ball from Jose Marques), this is what I get: bash-2.03# ./java ELF binary type not known. Use "brandelf" to brand it. Abort trap ELF binary type not known. Use "brandelf" to brand it. Abort trap ELF binary type not known. Use "brandelf" to brand it. Abort trap ./java: /bin/realpath: not found ./java: /bin/realpath: not found java was not found in /bin/i386/green_threads/java bash-2.03# This is probably a lack of know-how on my side, as others have installed it successfully, as it seems. I checked `man brandelf', and I tried: bash-2.03# brandelf -t Linux * In both the bin/i386/green_threads and bin/i386/native_threads directories, but that didn't seem to do the trick. Any cents left? Pleez? Pretty pleeez? ;) Ernst > The Blackdown project have produced another release candidate (RC4) of > their JDK 1.2.2 for Linux. See: -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------0C2D35E18BB4204E20BA39B1 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------0C2D35E18BB4204E20BA39B1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 9:17:18 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by builder.freebsd.org (Postfix) with ESMTP id C4F2C3E6D for ; Mon, 7 Feb 2000 09:17:15 -0800 (PST) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JLMVWX1ERM000NMZ@research.kpn.com> for freebsd-java@freebsd.org; Mon, 7 Feb 2000 18:15:23 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 07 Feb 2000 18:15:21 +0100 Content-return: allowed Date: Mon, 07 Feb 2000 18:15:20 +0100 From: "Koster, K.J." Subject: RE: Linux JDK 1.2.2 RC4 To: 'Ernst de Haan' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522013137FC@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > bash-2.03# ./java > ELF binary type not known. Use "brandelf" to brand it. > Abort trap > ELF binary type not known. Use "brandelf" to brand it. > Abort trap > ELF binary type not known. Use "brandelf" to brand it. > Abort trap > ./java: /bin/realpath: not found > ./java: /bin/realpath: not found > java was not found in /bin/i386/green_threads/java > bash-2.03# > > This is probably a lack of know-how on my side, as others > have installed > it successfully, as it seems. I checked `man brandelf', and I > tried: > > bash-2.03# brandelf -t Linux * > Rule #1 in Java: don't read the error message itself, but what *caused* the error message. In this case: Linux is not running on your machine. I had the same just last night, and I too read the brandelf manual page and tried to brandelf java. <:) > > In both the bin/i386/green_threads and bin/i386/native_threads > directories, but that didn't seem to do the trick. Any cents > left? Pleez? > Pretty pleeez? ;) > Enable the linux emulator on your machine. Add something like linux_enable="YES" to your rc.conf to make linux emulation start every time you reboot. Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 10:16: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by builder.freebsd.org (Postfix) with ESMTP id F36233F0C for ; Mon, 7 Feb 2000 10:15:55 -0800 (PST) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id JAA31047; Mon, 7 Feb 2000 09:47:49 -0800 (PST) From: Archie Cobbs Message-Id: <200002071747.JAA31047@bubba.whistle.com> Subject: Re: patches to linux module In-Reply-To: from John Rochester at "Feb 7, 2000 03:26:41 pm" To: john.rochester@enetgroup.co.uk (John Rochester) Date: Mon, 7 Feb 2000 09:47:49 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Rochester writes: > I have submitted this (but not as a PR - they never get looked at). Sometimes it takes a while, but they usually do eventually get dealt with.. > kldunload will not unload. That is why I advised to kill all the processes > first. OK, then there is no bug wrt. kldunload. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 11:36:11 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 1C01B40DE for ; Mon, 7 Feb 2000 11:36:03 -0800 (PST) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id UAA12528; Mon, 7 Feb 2000 20:36:36 +0100 (MET) Message-ID: <389F2CDB.E94EC909@jollem.com> Date: Mon, 07 Feb 2000 20:36:43 +0000 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: "Koster, K.J." Cc: "'FreeBSD Java mailing list'" Subject: Re: Linux JDK 1.2.2 RC4 References: <59063B5B4D98D311BC0D0001FA7E4522013137FC@l04.research.kpn.com> Content-Type: multipart/mixed; boundary="------------30CD0AB5E9D101A577DC76AA" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------30CD0AB5E9D101A577DC76AA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey, thanx a lot man! It's working now, I just had to execute `linux', and at least the java binary executed with no problems. Kewl! I'll just have to add a call to `linux' to my rc scripts. ta Ernst "Koster, K.J." wrote: > > > > > bash-2.03# ./java > > ELF binary type not known. Use "brandelf" to brand it. > > Abort trap > > ELF binary type not known. Use "brandelf" to brand it. > > Abort trap > > ELF binary type not known. Use "brandelf" to brand it. > > Abort trap > > ./java: /bin/realpath: not found > > ./java: /bin/realpath: not found > > java was not found in /bin/i386/green_threads/java > > bash-2.03# > > > > This is probably a lack of know-how on my side, as others > > have installed > > it successfully, as it seems. I checked `man brandelf', and I > > tried: > > > > bash-2.03# brandelf -t Linux * > > > Rule #1 in Java: don't read the error message itself, but what *caused* the > error message. In this case: Linux is not running on your machine. I had the > same just last night, and I too read the brandelf manual page and tried to > brandelf java. <:) > > > > > In both the bin/i386/green_threads and bin/i386/native_threads > > directories, but that didn't seem to do the trick. Any cents > > left? Pleez? > > Pretty pleeez? ;) > > > Enable the linux emulator on your machine. Add something like > linux_enable="YES" to your rc.conf to make linux emulation start every time > you reboot. > > Kees Jan > > ============================================== > You are only young once, > but you can stay immature all your life > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------30CD0AB5E9D101A577DC76AA Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------30CD0AB5E9D101A577DC76AA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 12:46:35 2000 Delivered-To: freebsd-java@freebsd.org Received: from calvin.coffeebreak.de (port-48.d.kamp.de [195.62.120.240]) by builder.freebsd.org (Postfix) with ESMTP id 33B803F7E for ; Mon, 7 Feb 2000 12:46:24 -0800 (PST) Received: from coffeebreak.de (localhost.calvin.de [127.0.0.1]) by calvin.calvin.de (8.9.3/8.9.3) with ESMTP id AAA01119 for ; Sun, 6 Feb 2000 00:58:24 +0100 (CET) (envelope-from Joachim.Jaeckel@coffeebreak.de) Message-ID: <389CB920.CDF32745@coffeebreak.de> Date: Sun, 06 Feb 2000 00:58:24 +0100 From: Joachim Jaeckel X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-20000127-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Interested in how I got Visual Age for Java running on FBSD? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, maybe this is completely off topic, because you've solved it allready - or you think that this is not really a freebsd-java related content. If so, please excuse me! If you are interested in how I got the Visual Age for Java for Linux, Version 3.0 running under FreeBSD, please send me an eMail, or tell me, if I should post it to this list, setup a Web-page with a little HowTo or maybe you would like to present that on the freebsd-java pages... Joachim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 12:46:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from calvin.coffeebreak.de (port-48.d.kamp.de [195.62.120.240]) by builder.freebsd.org (Postfix) with ESMTP id E944142D9 for ; Mon, 7 Feb 2000 12:46:37 -0800 (PST) Received: from coffeebreak.de (localhost.calvin.de [127.0.0.1]) by calvin.calvin.de (8.9.3/8.9.3) with ESMTP id UAA00515 for ; Sat, 5 Feb 2000 20:14:14 +0100 (CET) (envelope-from Joachim.Jaeckel@coffeebreak.de) Message-ID: <389C7686.66EEB86C@coffeebreak.de> Date: Sat, 05 Feb 2000 20:14:14 +0100 From: Joachim Jaeckel X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-20000127-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Interested in how I got Visual Age for Java running on FBSD? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, maybe this is completely off topic, because you've solved it allready - or you think that this is not really a freebsd-java related content. If so, please excuse me! If you are interested in how I got the Visual Age for Java for Linux, Version 3.0 running under FreeBSD, please send me an eMail, or tell me, if I should post it to this list, setup a Web-page with a little HowTo or maybe you would like to present that on the freebsd-java pages... Please send any comment to >> Joachim.Jaeckel@coffeebreak.de <<, because I´m not allready subscribed to this list. Joachim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 13:49: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail-ob.kamp.net (mail-ob.kamp.net [195.62.97.26]) by builder.freebsd.org (Postfix) with ESMTP id E3FD04027 for ; Mon, 7 Feb 2000 13:48:57 -0800 (PST) Received: from coffeebreak.de (port-9.d.kamp.de [195.62.120.201]) by mail-ob.kamp.net (8.9.3/8.9.3) with ESMTP id WAA25193 for ; Mon, 7 Feb 2000 22:49:33 +0100 Message-ID: <389F3ECE.78CE9EF6@coffeebreak.de> Date: Mon, 07 Feb 2000 22:53:18 +0100 From: Joachim Jaeckel X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-20000127-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: How to run Visual-Age for Java/Linux under FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, because of the many mails I got, here's the description. Maybe you would like to present it on the FreeBSD-Java pages (after a read-through/correcting my english ;-) Additionally, I'll create a small WEB-page which will be available around this week under http://www.coffeebreak.de (/freebsd or something like this...) How to do it: This description is based on the components I had, when I start it. I'm using - a 4.0 -current snapshot from the 27. january 2000, - and a linux_base-6.0.shar, downloaded at the 18. december 1999 I think that you should be able to use VAJ even with the 3.4-RELEASE of FreeBSD and the current linux_base-6.1. But you need definetly a RedHat-6.x compatible linux-emulator. 1. I installed the linux_base-6.0 port. 2. The linux_base port doesn't contain the /usr/compat/linux/usr/X11R6/lib/libXpm.so.4* link and library, I had to extract these lib's from the linux_base-5.2 port. 3. I downloaded Visual-Age from the spc (IBM developer connection, the company I worked for, is a member of the spc). The filename is vajp3ux.zip. This version contains the Visual Age for Java - Professional Version 3.0 for Linux, with the 1.1.7 jdk and an 1.0.3 JFC. 4. Start the linux emulation The following should be done by the user who would like to use the VAJ. 5. The user NEEDS a .Xresources file with the following contents: *basicLocale: C *timeFormat: C *numeric: C *displayLang: C *inputLang: C (without this file loaded, you'll get some weird error-messages, when you try to start the VAJ! - and it'll hang...) 6. Extract the vaj zip-file as the user who would like to work with it. 7. call "./vajide" 8. Create "cool-" programs ;-) 9. Send me a short mail of success, that I know that someone other could run it, too. 10. Make your programs available under the BSD-License, to the BSD-Community! ;-) I hope, that I have not forgotten something to mention?! If you've problems to start it, please contact me, that we could check yours and my kernel-options... (but I think that would not be a problem...) Hope that helps! Ciao, Joachim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 7 23:25:39 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail-ob.kamp.net (mail-ob.kamp.net [195.62.97.26]) by builder.freebsd.org (Postfix) with ESMTP id 668AF3F56 for ; Mon, 7 Feb 2000 23:25:36 -0800 (PST) Received: from coffeebreak.de (port-45.d.kamp.de [195.62.120.237]) by mail-ob.kamp.net (8.9.3/8.9.3) with ESMTP id IAA07772 for ; Tue, 8 Feb 2000 08:26:21 +0100 Message-ID: <389FC5FF.C46CF217@coffeebreak.de> Date: Tue, 08 Feb 2000 08:30:07 +0100 From: Joachim Jaeckel X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-20000127-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: How to run Visual-Age for Java/Linux under FreeBSD References: <389F3ECE.78CE9EF6@coffeebreak.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello again, the WEB-page with the HowTo is now up and running. You can reach the page under: http://www.coffeebreak.de/freebsd Any comments or suggestions are welcome! Ciao, Joachim. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 8 3:20:13 2000 Delivered-To: freebsd-java@freebsd.org Received: from euromail1.genrad.com (x92.genrad.co.uk [195.99.3.92]) by builder.freebsd.org (Postfix) with ESMTP id 10F1241C4 for ; Tue, 8 Feb 2000 03:20:07 -0800 (PST) Received: from CDP437 (cdp437.uk.genrad.com [132.223.131.31]) by euromail1.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1PVHKQGP; Tue, 8 Feb 2000 11:20:54 -0000 From: Robert Swindells To: nate@yogotech.com Cc: freebsd-java@FreeBSD.ORG In-reply-to: <200001281718.KAA03740@nomad.yogotech.com> (message from Nate Williams on Fri, 28 Jan 2000 10:18:28 -0700 (MST)) Subject: Re: jdk1.3... Reply-To: rjs@fdy2.demon.co.uk Message-Id: <20000208112007.10F1241C4@builder.freebsd.org> Date: Tue, 8 Feb 2000 03:20:07 -0800 (PST) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> ...any ideas if this will ever be ported to freebsd? >Maybe.. >> If so when? >I'm guessing after JDK1.2.2 is ported. 1.3 looks much easier to add other architectures to, the build tree for 'solaris' will build Linux as well. Are diffs to where you have got up to with 1.2.2 available ? I didn't subscribe to the original closed list when the 1.1 port started. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 8 3:52:40 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by builder.freebsd.org (Postfix) with ESMTP id 7C21B41C4 for ; Tue, 8 Feb 2000 03:52:36 -0800 (PST) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id EAA11747; Tue, 8 Feb 2000 04:53:22 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id EAA26784; Tue, 8 Feb 2000 04:53:21 -0700 (MST) (envelope-from nate) Date: Tue, 8 Feb 2000 04:53:21 -0700 (MST) Message-Id: <200002081153.EAA26784@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: rjs@fdy2.demon.co.uk Cc: nate@yogotech.com, freebsd-java@FreeBSD.ORG Subject: Re: jdk1.3... In-Reply-To: <200002081121.EAA11542@ns.yogotech.com> References: <200001281718.KAA03740@nomad.yogotech.com> <200002081121.EAA11542@ns.yogotech.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >I'm guessing after JDK1.2.2 is ported. > > 1.3 looks much easier to add other architectures to, the build tree > for 'solaris' will build Linux as well. Then it's probably going to be more difficult, because it's more difficult to break out the differences. > Are diffs to where you have got up to with 1.2.2 available ? I didn't > subscribe to the original closed list when the 1.1 port started. They are not, although an earlier set is available on Keith White's WWW page. Check the archives for his posting, which is pretty close to what we have at this point, modulo some additional patches that were made post-March to the JDK1.1 port that we merged into JDK1.2. (And, the JDK1.1 patches are available on the standard FreeBSD/Java WWW page.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 9 16:41:54 2000 Delivered-To: freebsd-java@freebsd.org Received: from web906.mail.yahoo.com (web906.mail.yahoo.com [128.11.23.81]) by builder.freebsd.org (Postfix) with SMTP id 3777441C5 for ; Wed, 9 Feb 2000 16:41:52 -0800 (PST) Received: (qmail 7797 invoked by uid 60001); 9 Feb 2000 23:42:56 -0000 Message-ID: <20000209234256.7796.qmail@web906.mail.yahoo.com> Received: from [159.76.89.185] by web906.mail.yahoo.com; Wed, 09 Feb 2000 15:42:56 PST Date: Wed, 9 Feb 2000 15:42:56 -0800 (PST) From: Chris Reply-To: chris@tourneyland.com Subject: Has anyone used Tomcat? To: java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey everybody, Does anyone have any experience with Tomcat for FreeBSD? Is there any work on a port for Apache that contains Tomcat? (An apache+ssl+mysql+php+Tomcat port would be delish.) Thanks, Chris __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 9 17:20:23 2000 Delivered-To: freebsd-java@freebsd.org Received: from cbl-skelly3.hs.earthlink.net (CBL-skelly3.hs.earthlink.net [209.178.114.61]) by builder.freebsd.org (Postfix) with ESMTP id ABDAC434F for ; Wed, 9 Feb 2000 17:20:16 -0800 (PST) Received: from uta003594 (uta003594.jpl.nasa.gov [128.149.211.36]) by cbl-skelly3.hs.earthlink.net (8.9.2/8.9.2) with SMTP id RAA12009; Wed, 9 Feb 2000 17:19:47 -0800 (PST) (envelope-from kelly@ad1440.net) Message-ID: <04a701bf7365$4101ee80$24d39580@jpl.nasa.gov> From: "Sean Kelly" To: , References: <20000209234256.7796.qmail@web906.mail.yahoo.com> Subject: Re: Has anyone used Tomcat? Date: Wed, 9 Feb 2000 17:22:08 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Does anyone have any experience > with Tomcat for FreeBSD? Yep. I've got it running right now. > Is there any work on a port for Apache that > contains Tomcat? Not that I know of. I could whip up a port that just extracts Tomcat to /usr/local in no time, but a good port ought to put the webserver.xml config file in /usr/local/etc, put the generated servlets somewhere under /var, stick the admin port file in /var/run, find an appropriate place for the web pages, JSPs, and servlet classes, put the startup and shutdown scripts in /usr/local/sbin, etc., etc., etc. --Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 10 23:29:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by builder.freebsd.org (Postfix) with ESMTP id 67DD5469B for ; Thu, 10 Feb 2000 23:29:09 -0800 (PST) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id IAA28918 for ; Fri, 11 Feb 2000 08:28:55 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id IAA13235 for ; Fri, 11 Feb 2000 08:29:26 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id IAA13584 for java@freebsd.org; Fri, 11 Feb 2000 08:29:07 +0100 (CET) Date: Fri, 11 Feb 2000 08:29:07 +0100 (CET) From: Christoph Kukulies Message-Id: <200002110729.IAA13584@gil.physik.rwth-aachen.de> To: java@freebsd.org Subject: mess after installing some java jdks Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I wanted to install netbeans from sun.javasoft.com and found that I was not running the right JVM (1.2 I had in my path). OK, I installed jdk 1.1.8 from ports and now I have something messed and I don't know how to repair: (I also over-installed linux-jdk-1.2 before that) ~> echo $PATH .:/home/kuku/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/local/teTeX/bin:/usr/local/samba/bin:/usr/local/jdk1.1.8/bin ~> echo $CLASSPATH CLASSPATH: Undefined variable. isdn-kukulies# ~> java /usr/local/jdk1.2/bin/i386/green_threads/java: error in loading shared libraries libhpi.so: cannot open shared object file: No such file or directory ~> which java /usr/local/jdk1.1.8/bin/java ~> locate libhpi.so /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/green_threads/libhpi.so /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/native_threads/libhpi.so /usr/local/jdk1.2/jre/lib/i386/green_threads/libhpi.so /usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so -- Chris Christoph P. U. Kukulies kuku@gil.physik.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 Thu Feb 10 23:42:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from rztsun.rz.tu-harburg.de (rztsun.rz.tu-harburg.de [134.28.200.14]) by builder.freebsd.org (Postfix) with ESMTP id 46BBD46A6 for ; Thu, 10 Feb 2000 23:42:41 -0800 (PST) Received: from tu-harburg.de (data.et8.tu-harburg.de [134.28.45.64]) by rztsun.rz.tu-harburg.de (8.9.0/8.8.8) with ESMTP id IAA14008; Fri, 11 Feb 2000 08:42:20 +0100 (MET) Message-ID: <38A3BD5C.F2E1470@tu-harburg.de> Date: Fri, 11 Feb 2000 08:42:20 +0100 From: Sven Reimers X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Christoph Kukulies Cc: java@FreeBSD.ORG Subject: Re: mess after installing some java jdks References: <200002110729.IAA13584@gil.physik.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I am just curious. You had 1.2 and stepped backed to 1.1.8. Is that right? I got Forte for Java running on 1.2. It seems as if java still tries to fire up a 1.2-linux-java, although it points to 1.1.8. Did you try to remove all of your jdk's and start from scratch? It looks like some messed up links. But just to state: it definitely works, you can have two jdk's on your system. Sven Christoph Kukulies wrote: > > I wanted to install netbeans from sun.javasoft.com and found that > I was not running the right JVM (1.2 I had in my path). > > OK, I installed jdk 1.1.8 from ports and now I have something messed > and I don't know how to repair: > (I also over-installed linux-jdk-1.2 before that) > > ~> echo $PATH > .:/home/kuku/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/local/teTeX/bin:/usr/local/samba/bin:/usr/local/jdk1.1.8/bin > > ~> echo $CLASSPATH > CLASSPATH: Undefined variable. > isdn-kukulies# > > ~> java > /usr/local/jdk1.2/bin/i386/green_threads/java: error in loading shared libraries > libhpi.so: cannot open shared object file: No such file or directory > > ~> which java > /usr/local/jdk1.1.8/bin/java > > ~> locate libhpi.so > /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/green_threads/libhpi.so > /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/native_threads/libhpi.so > /usr/local/jdk1.2/jre/lib/i386/green_threads/libhpi.so > /usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > 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 Thu Feb 10 23:58: 9 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by builder.freebsd.org (Postfix) with ESMTP id 0F73B46BF for ; Thu, 10 Feb 2000 23:58:06 -0800 (PST) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JLRXLZZ48S000ODK@research.kpn.com> for freebsd-java@freebsd.org; Fri, 11 Feb 2000 08:57:48 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Fri, 11 Feb 2000 08:57:47 +0100 Content-return: allowed Date: Fri, 11 Feb 2000 08:57:46 +0100 From: "Koster, K.J." Subject: RE: mess after installing some java jdks To: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E452201313801@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > ~> locate libhpi.so > > > /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/green_t hreads/libhpi.so > > > /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/native_ threads/libhpi.so > > /usr/local/jdk1.2/jre/lib/i386/green_threads/libhpi.so > > /usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so > > locate is not reliable in this particular case, since its information may be quite old, depending on when /etc/daily last ran. Try looking with "ls" :-) Also: I have 2 JDK, but I always set the paths in my makefiles. The PATH environment does not have the JDK in it, to avoid confusion. Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 11 1:45:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id DA73D46B3 for ; Fri, 11 Feb 2000 01:44:55 -0800 (PST) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id KAA08549; Fri, 11 Feb 2000 10:44:39 +0100 (MET) Message-ID: <38A3DA08.2A944D9F@jollem.com> Date: Fri, 11 Feb 2000 10:44:40 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: "Koster, K.J." Cc: "'FreeBSD Java mailing list'" Subject: Re: mess after installing some java jdks References: <59063B5B4D98D311BC0D0001FA7E452201313801@l04.research.kpn.com> Content-Type: multipart/mixed; boundary="------------0C72FAD502182D7DBAB541A3" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------0C72FAD502182D7DBAB541A3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey, I doubt you _have_ to switch back to JDK 1.1, but in case you do, maybe you can write a few scripts that will switch between JDK 1.1 and JDK 1.2. As an example, I've attached the scripts I use: * init-classpath : Initializes JAVA_HOME and CLASSPATH * init-path : Initializes PATH (called from .profile as well) * jdk11 : Sets the environment for JDK 1.1 * jdk12 : Sets the environment for JDK 1.2 Let me know if this is of any help. You should probably source the appropriate script, like this: bash-2.03$ pwd /home/ernst bash-2.03$ echo ~/bin/* init-classpath init-path jdk11 jdk12 bash-2.03$ . jdk11 >> Initializing Java libraries for JDK 1.1 -- Java Development Kit 1.1 -- Java Foundation Classes 1.1.1 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 WARNING: MySQL mm JDBC Driver 2.0pre4 for JDBC 1.0: /usr/local/share/java/classes/mm/mm.mysql.jdbc-2.0pre4/mysql_1_uncomp.jar not found -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) WARNING: Custom Java libraries: /home/ernst/java/lib not found There's still a few minor bugs in the scripts (it currently only works for zip and jar files), but I'm working on that. And an improvement I want to make is define all the libraries in a separate file (.javalibs or so). Ernst "Koster, K.J." wrote: > > > > > > > ~> locate libhpi.so > > > > > /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/green_t > hreads/libhpi.so > > > > > /usr/ports/java/linux-jdk-1.2/work/jdk1.2/jre/lib/i386/native_ > threads/libhpi.so > > > /usr/local/jdk1.2/jre/lib/i386/green_threads/libhpi.so > > > /usr/local/jdk1.2/jre/lib/i386/native_threads/libhpi.so > > > > locate is not reliable in this particular case, since its information may be > quite old, depending on when /etc/daily last ran. Try looking with "ls" :-) > > Also: I have 2 JDK, but I always set the paths in my makefiles. The PATH > environment does not have the JDK in it, to avoid confusion. > > Kees Jan > > ============================================== > You are only young once, > but you can stay immature all your life > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------0C72FAD502182D7DBAB541A3 Content-Type: text/plain; charset=us-ascii; name="init-classpath" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="init-classpath" #!/bin/sh # # init-java-libs.sh # # Initialize the CLASSPATH that applies to either JDK 1.1 or JDK 1.2 # # This shell script should be called after the following environment # variable has been initialized: # # JAVA_VERSION -- Either JAVA_1_1 or JAVA_1_2 # #----------------------------------------------------------------------------- # Settings # Customize this section for your particular configuration. JAVA_CLASSES_HOME=/usr/local/share/java/classes JDK_1_1_HOME=/usr/local/jdk1.1.8 JDK_1_2_HOME=/usr/local/linux-jdk1.2.2 CUSTOM_JAVA_LIBS=${HOME}/java/lib #----------------------------------------------------------------------------- # Function definitions add ( ) { if [ "${title}" = "" ] then echo "WARNING: location and title must be specified" return elif [ "${location}" = "" ] then echo "WARNING: location must be specified" elif [ "${title}" = "" ] then echo "WARNING: title must be specified" fi if [ ! -f ${location} ] then echo "WARNING: $title: $location not found" else echo " -- $title" CLASSPATH=$CLASSPATH:$location fi } #----------------------------------------------------------------------------- # Check the preconditions if [ ""${JAVA_VERSION} = "" ] then echo "ERROR: JAVA_VERSION is not set" exit 1 fi case $JAVA_VERSION in "JAVA_1_1") echo ">> Initializing Java libraries for JDK 1.1" ;; "JAVA_1_2") echo ">> Initializing Java libraries for JDK 1.2" ;; *) echo "ERROR: Variable JAVA_VERSION should be either JAVA_1_1 or JAVA_1_2" exit 1 ;; esac #----------------------------------------------------------------------------- # Check the settings if [ ! -d ${JAVA_CLASSES_HOME} ] then echo "Directory ${JAVA_CLASSES_HOME} not found" exit 2 fi if [ ! -d ${JDK_1_1_HOME} ] then echo "Directory ${JAVA_CLASSES_HOME} not found" exit 2 fi if [ ! -d ${JDK_1_2_HOME} ] then echo "Directory ${JAVA_CLASSES_HOME} not found" exit 2 fi #----------------------------------------------------------------------------- # Set the JAVA_HOME variable if [ ${JAVA_VERSION} = "JAVA_1_1" ] then JAVA_HOME=${JDK_1_1_HOME} elif [ ${JAVA_VERSION} = "JAVA_1_2" ] then JAVA_HOME=${JDK_1_2_HOME} fi export JAVA_HOME #----------------------------------------------------------------------------- # Java Development Kit CLASSPATH="" if [ ${JAVA_VERSION} = "JAVA_1_1" ] then title="Java Development Kit 1.1" location="$JAVA_HOME/lib/classes.zip" add elif [ ${JAVA_VERSION} = "JAVA_1_2" ] then title="Java Development Kit 1.2" location="$JAVA_HOME/jre/lib/rt.jar" add fi export CLASSPATH #----------------------------------------------------------------------------- # Java Foundation Classes 1.1.1 # NOTE: JFC is integrated in JDK 1.2 if [ ${JAVA_VERSION} = "JAVA_1_1" ] then title="Java Foundation Classes 1.1.1" location=$JAVA_CLASSES_HOME/jfc-1.1.1/swingall.jar add fi #----------------------------------------------------------------------------- # Java Servlet Development Kit 2.0 title="Java Servlet Development Kit 2.0" location=$JAVA_CLASSES_HOME/jsdk.jar add #----------------------------------------------------------------------------- # JavaBeans Activation Framework # PENDING: Isn't this already included in JDK 1.2 ? title="JavaBeans Activation Framework 1.0.1" location=$JAVA_CLASSES_HOME/activation.jar add #----------------------------------------------------------------------------- # MySQL mm JDBC drivers if [ $JAVA_VERSION = "JAVA_1_1" ] then # Use the JDBC 1.0 driver for JDK 1.1 title="MySQL mm JDBC Driver 2.0pre4 for JDBC 1.0" location=$JAVA_CLASSES_HOME/mm/mm.mysql.jdbc-2.0pre4/mysql_1_uncomp.jar add elif [ $JAVA_VERSION = "JAVA_1_2" ] then # Use the JDBC 2.0 driver for JDK 1.2 title="MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0" location=$JAVA_CLASSES_HOME/mm/mm.mysql.jdbc-2.0pre4/mysql_2_uncomp.jar add fi #----------------------------------------------------------------------------- # ObjectStore PSE Pro 6.0 title="ObjectStore PSE Pro 3.0 (runtime)" location=$HOME/psepro/pro_g.zip add title="ObjectStore PSE Pro 3.0 (tools)" location=$HOME/psepro/tools_g.zip add #----------------------------------------------------------------------------- # Custom Java libraries if [ ! ""${CUSTOM_JAVA_LIBS} = "" ] then title="Custom Java libraries" location=$CUSTOM_JAVA_LIBS add fi --------------0C72FAD502182D7DBAB541A3 Content-Type: text/plain; charset=us-ascii; name="init-path" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="init-path" #!/bin/sh # # init-path.sh # # Initializes the PATH environment variable. # if [ ""${HOME} = "" ] then echo "ERROR: Variable HOME should be set" exit 1 fi PATH=/bin\:/usr/bin\:/usr/X11R6/bin\:/usr/local/bin\:${HOME}/bin export PATH --------------0C72FAD502182D7DBAB541A3 Content-Type: text/plain; charset=us-ascii; name="jdk11" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk11" #!/bin/sh # # jdk11 # # Initializes the JDK 1.1 environment # # Set the JDK version to 1.1 JAVA_VERSION=JAVA_1_1 export JAVA_VERSION # Initialize the CLASSPATH . ${HOME}/bin/init-classpath # Set the PATH . ${HOME}/bin/init-path PATH=$PATH:$JAVA_HOME/bin export PATH --------------0C72FAD502182D7DBAB541A3 Content-Type: text/plain; charset=us-ascii; name="jdk12" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="jdk12" #!/bin/sh # # jdk12 # # Initializes the JDK 1.2 environment # # Set the JDK version to 1.2 JAVA_VERSION=JAVA_1_2 export JAVA_VERSION # Initialize the CLASSPATH . ${HOME}/bin/init-classpath # Set the PATH . ${HOME}/bin/init-path PATH=$PATH:$JAVA_HOME/bin export PATH --------------0C72FAD502182D7DBAB541A3 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------0C72FAD502182D7DBAB541A3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 11 2: 2:33 2000 Delivered-To: freebsd-java@freebsd.org Received: from rivendell.mel.vet.com.au (rivendell.mel.vet.com.au [203.103.154.61]) by builder.freebsd.org (Postfix) with ESMTP id 0BE0B3D2C for ; Fri, 11 Feb 2000 02:02:24 -0800 (PST) Received: (from lodea@localhost) by rivendell.mel.vet.com.au (8.9.3/8.9.3) id VAA24942; Fri, 11 Feb 2000 21:01:25 +1100 (EST) Date: Fri, 11 Feb 2000 21:01:25 +1100 From: "Lachlan O'Dea" To: Christoph Kukulies Cc: java@FreeBSD.ORG Subject: Re: mess after installing some java jdks Message-ID: <20000211210125.N24203@vet.com.au> Mail-Followup-To: Christoph Kukulies , java@FreeBSD.ORG References: <200002110729.IAA13584@gil.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.3i In-Reply-To: <200002110729.IAA13584@gil.physik.rwth-aachen.de>; from kuku@gilberto.physik.RWTH-Aachen.DE on Fri, Feb 11, 2000 at 08:29:07AM +0100 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 11, 2000 at 08:29:07AM +0100, Christoph Kukulies wrote: > > I wanted to install netbeans from sun.javasoft.com and found that > I was not running the right JVM (1.2 I had in my path). > > OK, I installed jdk 1.1.8 from ports and now I have something messed > and I don't know how to repair: > (I also over-installed linux-jdk-1.2 before that) [cut] Maybe you still have JAVA_HOME set to /usr/local/jdk1.2. -- Lachlan O'Dea Computer Associates Pty Ltd Webmaster Vet - Anti-Virus Software http://www.vet.com.au/ "A Jedi must have the deepest commitment, the most serious mind." - Yoda, Jedi Master To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 11 2:50:59 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by builder.freebsd.org (Postfix) with ESMTP id B193F46E0 for ; Fri, 11 Feb 2000 02:50:52 -0800 (PST) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id LAA08755 for ; Fri, 11 Feb 2000 11:50:35 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id LAA16203 for ; Fri, 11 Feb 2000 11:51:08 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id LAA14456; Fri, 11 Feb 2000 11:50:48 +0100 (CET) Date: Fri, 11 Feb 2000 11:50:48 +0100 From: Christoph Kukulies To: Christoph Kukulies , java@FreeBSD.ORG Subject: Re: mess after installing some java jdks Message-ID: <20000211115048.A14435@gil.physik.rwth-aachen.de> References: <200002110729.IAA13584@gil.physik.rwth-aachen.de> <20000211210125.N24203@vet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000211210125.N24203@vet.com.au>; from lodea@vet.com.au on Fri, Feb 11, 2000 at 09:01:25PM +1100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 11, 2000 at 09:01:25PM +1100, Lachlan O'Dea wrote: > On Fri, Feb 11, 2000 at 08:29:07AM +0100, Christoph Kukulies wrote: > > > > I wanted to install netbeans from sun.javasoft.com and found that > > I was not running the right JVM (1.2 I had in my path). > > > > OK, I installed jdk 1.1.8 from ports and now I have something messed > > and I don't know how to repair: > > (I also over-installed linux-jdk-1.2 before that) > > [cut] > > Maybe you still have JAVA_HOME set to /usr/local/jdk1.2. Thanks. That was exactly the problem! Phew, this inflation of environmental variables. -- Chris Christoph P. U. Kukulies kuku@gil.physik.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 Feb 11 6:36:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by builder.freebsd.org (Postfix) with ESMTP id 14E103D3B for ; Fri, 11 Feb 2000 06:36:23 -0800 (PST) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id PAA25096 for ; Fri, 11 Feb 2000 15:36:07 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id PAA18913 for ; Fri, 11 Feb 2000 15:36:39 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id PAA15525 for java@freebsd.org; Fri, 11 Feb 2000 15:36:22 +0100 (CET) Date: Fri, 11 Feb 2000 15:36:22 +0100 (CET) From: Christoph Kukulies Message-Id: <200002111436.PAA15525@gil.physik.rwth-aachen.de> To: java@freebsd.org Subject: NetBeans (Forte) under Java 2 slower than under 1.1.8 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org During unpacking of the Forte platformindependent .class file I noticed the following: The Installshield like Wizard window fills very slow with text. In the xterm the following scrolls by: /home/kuku> ls nb* nbdev212.class nbdx2212.class /home/kuku> java nbdx2212 InstallShield Java (TM) Edition Extracting installation code.................................done Warning: Name: HorScrollBar Class: XmScrollBar The specified scrollbar value is greater than the maximum scrollbar value minus the scrollbar slider size. Warning: Name: HorScrollBar Class: XmScrollBar The specified scrollbar value is greater than the maximum scrollbar value minus the scrollbar slider size. and more such messages. And the GUI builder slooow. Slower than under jdk 1.1.8 (native). Is it because of the linux emulation? -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de During unpacking of the Forte platformindependent .class file I noticed the following: The Installshield like Wizard window fills very slow with text. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 11 6:48:24 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 9D158470A for ; Fri, 11 Feb 2000 06:48:20 -0800 (PST) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id PAA08073; Fri, 11 Feb 2000 15:47:58 +0100 (MET) Message-ID: <38A4211D.906109BC@jollem.com> Date: Fri, 11 Feb 2000 15:47:57 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Christoph Kukulies Cc: java@freebsd.org Subject: Re: NetBeans (Forte) under Java 2 slower than under 1.1.8 References: <200002111436.PAA15525@gil.physik.rwth-aachen.de> Content-Type: multipart/mixed; boundary="------------97652CE3436E02FC01C90DB7" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------97652CE3436E02FC01C90DB7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Christoph && every1 interested, I noticed the same with the platform-independent InstallShield for both ObjectStore 3.0 and 6.0. Running on JDK 1.1.8 improved speed by a factor 10 or so, as well as the error. Ernst Christoph Kukulies wrote: > > During unpacking of the Forte platformindependent .class file > I noticed the following: > > The Installshield like Wizard window fills very slow with text. > In the xterm the following scrolls by: > > /home/kuku> ls nb* > nbdev212.class nbdx2212.class > /home/kuku> java nbdx2212 > InstallShield Java (TM) Edition > Extracting installation code.................................done > Warning: > Name: HorScrollBar > Class: XmScrollBar > The specified scrollbar value is greater than the maximum > scrollbar value minus the scrollbar slider size. > > Warning: > Name: HorScrollBar > Class: XmScrollBar > The specified scrollbar value is greater than the maximum > scrollbar value minus the scrollbar slider size. > > and more such messages. > > And the GUI builder slooow. Slower than under jdk 1.1.8 (native). > Is it because of the linux emulation? > > -- > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > During unpacking of the Forte platformindependent .class file > I noticed the following: > > The Installshield like Wizard window fills very slow with text. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------97652CE3436E02FC01C90DB7 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------97652CE3436E02FC01C90DB7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 11 7: 1:17 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by builder.freebsd.org (Postfix) with ESMTP id 683234771 for ; Fri, 11 Feb 2000 07:01:13 -0800 (PST) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id QAA01172; Fri, 11 Feb 2000 16:00:19 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id QAA19376; Fri, 11 Feb 2000 16:00:44 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id QAA15715; Fri, 11 Feb 2000 16:00:27 +0100 (CET) Date: Fri, 11 Feb 2000 16:00:27 +0100 From: Christoph Kukulies To: Ernst de Haan Cc: Christoph Kukulies , java@freebsd.org Subject: Re: NetBeans (Forte) under Java 2 slower than under 1.1.8 Message-ID: <20000211160026.A15680@gil.physik.rwth-aachen.de> References: <200002111436.PAA15525@gil.physik.rwth-aachen.de> <38A4211D.906109BC@jollem.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38A4211D.906109BC@jollem.com>; from ernst@jollem.com on Fri, Feb 11, 2000 at 03:47:57PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 11, 2000 at 03:47:57PM +0100, Ernst de Haan wrote: > Hi Christoph && every1 interested, > > I noticed the same with the platform-independent InstallShield for both > ObjectStore 3.0 and 6.0. Running on JDK 1.1.8 improved speed by a factor > 10 or so, as well as the error. > > Ernst > > > Christoph Kukulies wrote: > > > > During unpacking of the Forte platformindependent .class file > > I noticed the following: > > > > The Installshield like Wizard window fills very slow with text. > > In the xterm the following scrolls by: Thanks for the data point. At least I know that it's not my setup. I'll go into comp.lang.java maybe ... -- Chris Christoph P. U. Kukulies kuku@gil.physik.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 Feb 11 10:42:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by builder.freebsd.org (Postfix) with ESMTP id 9245D3DAC for ; Fri, 11 Feb 2000 10:42:14 -0800 (PST) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id TAA25680 for ; Fri, 11 Feb 2000 19:42:03 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id TAA23519 for ; Fri, 11 Feb 2000 19:42:34 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id TAA17083 for java@freebsd.org; Fri, 11 Feb 2000 19:42:19 +0100 (CET) Date: Fri, 11 Feb 2000 19:42:19 +0100 (CET) From: Christoph Kukulies Message-Id: <200002111842.TAA17083@gil.physik.rwth-aachen.de> To: java@freebsd.org Subject: f4jsetup.sh (Forte) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sun seems to offer different forms of Forte for Java. One is a combined install shellscript with embedded (uuencoded and binary stuff) I seem to get a bad magic when trying to install it under FreeBSD 3.4 Testing /usr/local/linux-jdk1.2/bin/java... 1 suitable java interpreter(s) detected 0) I want to specify a path to an interpreter. 1) Use /usr/local/linux-jdk1.2/bin/java 2) Terminate this installation. Select a choice [0-2]: 1 Extracting installation class Exception in thread "main" java.lang.ClassFormatError: f4jsetup (Bad magic number) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Compiled Code) at java.security.SecureClassLoader.defineClass(Compiled Code) at java.net.URLClassLoader.defineClass(Compiled Code) at java.net.URLClassLoader.access$1(Compiled Code) at java.net.URLClassLoader$1.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Compiled Code) at java.lang.ClassLoader.loadClass(Compiled Code) at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code) at java.lang.ClassLoader.loadClass(Compiled Code) -- Chris Christoph P. U. Kukulies kuku@gil.physik.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 Feb 11 10:50:30 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by builder.freebsd.org (Postfix) with ESMTP id 1BBC63DBF for ; Fri, 11 Feb 2000 10:50:23 -0800 (PST) Received: from cortez.sss.rpi.edu (rooneg@cortez.sss.rpi.edu [128.113.113.33]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id NAA18274; Fri, 11 Feb 2000 13:50:11 -0500 Received: from localhost (rooneg@localhost) by cortez.sss.rpi.edu (8.8.5/8.8.6) with SMTP id NAA99096; Fri, 11 Feb 2000 13:50:11 -0500 X-Authentication-Warning: cortez.sss.rpi.edu: rooneg owned process doing -bs Date: Fri, 11 Feb 2000 13:50:10 -0500 (EST) From: Garrett Rooney X-Sender: rooneg@cortez.sss.rpi.edu To: Christoph Kukulies Cc: java@FreeBSD.ORG Subject: Re: f4jsetup.sh (Forte) In-Reply-To: <200002111842.TAA17083@gil.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 11 Feb 2000, Christoph Kukulies wrote: > > Sun seems to offer different forms of Forte for Java. > One is a combined install shellscript with embedded (uuencoded and binary > stuff) I got similar results using the shell archive and simple class file installers under redhat linux this morning. the rpm install worked fine, although it doesn't detect your jdk automatically, so you have to give it a command line option or set an environmental variable to get it to work. haven't confirmed that this works on freebsd, since i'm stuck at work. -garrett x------------------------------------------------------------------------x | rooneg@rpi.edu garrett rooney | | http://www.rpi.edu/~rooneg unix geek | |------------------------------------------------------------------------| | "it's called sarcasm... without it you're just bitching." - anonymous | x------------------------------------------------------------------------x To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 11 10:59:58 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 1C9A34784 for ; Fri, 11 Feb 2000 10:59:53 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id TAA02332; Fri, 11 Feb 2000 19:59:40 +0100 (MET) Message-ID: <38A45C1D.EB8A374C@jollem.com> Date: Fri, 11 Feb 2000 19:59:41 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: OutOfMemoryError bug in JDK 1.1.8 ? Content-Type: multipart/mixed; boundary="------------CDA8471D36C751CC9DB690A3" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------CDA8471D36C751CC9DB690A3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have probably found a bug in JDK 1.1.8. The OutOfMemoryError cannot be caught by Java code. I can catch the exception just fine on the Linux JDK 1.2. I've written a program that tests how many objects can be created. Perhaps some interesting numbers: max_obj creations_per_sec bytes_per_obj ------- ----------------- ------------- jdk-1.1.8 3.3 M 400.000 20 linux-jdk-1.2.2-rc4 3.3 M 690.000 20 I run FreeBSD 3.4-STABLE on a P2-400, 128 MB. Anyone interested in the code, let me know. Here's the output of two tests, the first is for jdk1.1.8, the second for linux-jdk-1.2.2-rc4: -------------------- bash-2.03$ ./ObjectCreationTest.sh 128M 128M 3M >> Starting ObjectCreationTest, settings are: -- Java version: 1.1 -- Initial heap: 128M -- Maximum heap: 128M -- Object count: 3M JVM vendor: (unknown) JVM name: (unknown) JVM version: (unknown) OS: FreeBSD OS version: 3.4-STABLE OS architecture: x86 >> Collecting garbage... [ DONE ] Total memory: 127MB 1023kB 1016B Free memory: 127MB 887kB 696B Used memory: 136kB 320B >> Creating 3145728 object instances... [ DONE ] Created 3145728 objects in 7765 ms Created 405116.2910495814 objects per second Total memory: 127MB 1023kB 1016B Free memory: 67MB 497kB 720B Used memory: 60MB 526kB 296B >> Collecting garbage... [ DONE ] Total memory: 127MB 1023kB 1016B Free memory: 127MB 885kB 696B Used memory: 138kB 320B bash-2.03$ -------------------- bash-2.03$ ./ObjectCreationTest.sh 128M 128M 3M >> Starting ObjectCreationTest, settings are: -- Java version: 1.2 -- Initial heap: 128M -- Maximum heap: 128M -- Object count: 3M JVM vendor: Blackdown Java-Linux Team JVM name: Classic VM JVM version: 1.2.2 OS: Linux OS version: 2.0.36 OS architecture: i386 >> Collecting garbage... [ DONE ] Total memory: 127MB 1023kB 1016B Free memory: 127MB 748kB Used memory: 275kB 1016B >> Creating 3145728 object instances... [ DONE ] Created 3145728 objects in 5541 ms Created 567718.4623714131 objects per second Total memory: 127MB 1023kB 1016B Free memory: 67MB 358kB 24B Used memory: 60MB 665kB 992B >> Collecting garbage... [ DONE ] Total memory: 127MB 1023kB 1016B Free memory: 127MB 747kB 216B Used memory: 276kB 800B bash-2.03$ -------------------- Ernst --------------CDA8471D36C751CC9DB690A3 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------CDA8471D36C751CC9DB690A3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 12 13:34:31 2000 Delivered-To: freebsd-java@freebsd.org Received: from buddha.mass.pyramid.com (146-115-56-184.c4-0.wtr-ubr1.sbo-wtr.ma.cable.rcn.com [146.115.56.184]) by builder.freebsd.org (Postfix) with ESMTP id D54D940B1 for ; Sat, 12 Feb 2000 13:34:23 -0800 (PST) Received: (from bein@localhost) by buddha.mass.pyramid.com (8.9.3/8.9.3) id VAA26978; Sat, 12 Feb 2000 21:34:05 GMT Date: Sat, 12 Feb 2000 16:28:19 -0500 From: David Bein Organization: Network Hackers Unlimited X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Netscape 4.* and Java on Freebsd 2.2.8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <38A5D072.19DE8B11@bein@rcn.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi ... I am trying to track down what the *$%&#@ is going on in my netscape browser when I hit a page which is wired for Java. I get this message :Starting java" in the lower status line and shortly thereafter it coredumps. From ktrace I can see that it must be doing "abort()" because the SIGBUS is self-generated. Any ideas ??? Note that I am using what was off the 2.2.8 CD. I do not have every possible font installed. I just did a brand new download from netscape for 4.7 which seems to run fine except for this minor annoyance. When I did the original system install I was a bit short of disk space so perhaps the issue is that I needed to install something out of the ports collection which I did not know about. Thanks ... --David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 12 15:33:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id D4867407A for ; Sat, 12 Feb 2000 15:33:37 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id AAA23398; Sun, 13 Feb 2000 00:33:35 +0100 (MET) Message-ID: <38A5EDD1.F5176070@jollem.com> Date: Sun, 13 Feb 2000 00:33:37 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Java 1.2 beta for Linux ? Content-Type: multipart/mixed; boundary="------------05DF386461B54EAC57574A75" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------05DF386461B54EAC57574A75 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I heard rumours about a beta of an IBM JDK 1.2 for Linux. Someone claims he found it somewhere on their site. But I cannot find it. Would anyone of you happen to know more on this one? Ever tested it on FreeBSD? Ernst -- What's the difference between every and any everyway? --------------05DF386461B54EAC57574A75 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------05DF386461B54EAC57574A75-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 10:51: 4 2000 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by builder.freebsd.org (Postfix) with ESMTP id BE66A3F63 for ; Mon, 14 Feb 2000 10:51:02 -0800 (PST) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id KAA05429; Mon, 14 Feb 2000 10:50:46 -0800 (PST) From: Archie Cobbs Message-Id: <200002141850.KAA05429@bubba.whistle.com> Subject: Re: Java 1.2 beta for Linux ? In-Reply-To: <38A5EDD1.F5176070@jollem.com> from Ernst de Haan at "Feb 13, 2000 00:33:37 am" To: ernst@jollem.com (Ernst de Haan) Date: Mon, 14 Feb 2000 10:50:46 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst de Haan writes: > I heard rumours about a beta of an IBM JDK 1.2 for Linux. Someone claims > he found it somewhere on their site. But I cannot find it. Would anyone of > you happen to know more on this one? Ever tested it on FreeBSD? See: http://www.freebsd.org/java/newsflash.html -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 11:53: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id D9EB04A8F for ; Mon, 14 Feb 2000 11:52:58 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id UAA15654; Mon, 14 Feb 2000 20:52:38 +0100 (MET) Message-ID: <38A85D07.27CE5433@jollem.com> Date: Mon, 14 Feb 2000 20:52:39 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Archie Cobbs Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.2 beta for Linux ? References: <200002141850.KAA05429@bubba.whistle.com> Content-Type: multipart/mixed; boundary="------------253360CCFA32E075FDBD678F" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------253360CCFA32E075FDBD678F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Archie? What's there to see on the FreeBSD site? I was asking about an _IBM_ implementation of Java 2 for Linux. Or is there anything you can see that I can't? ;-) I currently run the Blackdown JDK 1.2.2 rc4 just fine. Ernst Archie Cobbs wrote: > > Ernst de Haan writes: > > I heard rumours about a beta of an IBM JDK 1.2 for Linux. Someone claims > > he found it somewhere on their site. But I cannot find it. Would anyone of > > you happen to know more on this one? Ever tested it on FreeBSD? > > See: > > http://www.freebsd.org/java/newsflash.html > > -Archie > > ___________________________________________________________________________ > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------253360CCFA32E075FDBD678F Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------253360CCFA32E075FDBD678F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 12:10:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by builder.freebsd.org (Postfix) with ESMTP id 3585F3D7C for ; Mon, 14 Feb 2000 12:10:13 -0800 (PST) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id LAA05879; Mon, 14 Feb 2000 11:57:47 -0800 (PST) From: Archie Cobbs Message-Id: <200002141957.LAA05879@bubba.whistle.com> Subject: Re: Java 1.2 beta for Linux ? In-Reply-To: <38A85D07.27CE5433@jollem.com> from Ernst de Haan at "Feb 14, 2000 08:52:39 pm" To: ernst@jollem.com (Ernst de Haan) Date: Mon, 14 Feb 2000 11:57:47 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst de Haan writes: > What's there to see on the FreeBSD site? I was asking about an _IBM_ > implementation of Java 2 for Linux. Or is there anything you can see that > I can't? ;-) Oops, sorry I didn't see the "IBM" (kindof strange since that's where I work :-) I do know that IBM has their own version of the JDK with a better JIT engine.. this is public knowledge. Whether they plan to release it or not, that I don't know. That would definitely be cool if they did. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 12:18:10 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id A508642B9 for ; Mon, 14 Feb 2000 12:18:06 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id VAA21881; Mon, 14 Feb 2000 21:18:18 +0100 (MET) Message-ID: <38A8630C.4E50B3F8@jollem.com> Date: Mon, 14 Feb 2000 21:18:20 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Archie Cobbs Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.2 beta for Linux ? References: <200002141957.LAA05879@bubba.whistle.com> Content-Type: multipart/mixed; boundary="------------2B06DECCFD0EF4EA71CFAE0F" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------2B06DECCFD0EF4EA71CFAE0F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Well, Somebody I know claims he downloaded it. Perhaps there has been an accident, the link could have been active for a few hours or so? I'll ask this guy. If I can obtain it, I'll let ya know. Would be kewl indeed if IBM would release it. I see IBM doing lots of things for both Java and Linux. Too bad their licenses are not so great. Really makes one scratch himself behind the ear. Ernst Archie Cobbs wrote: > > Ernst de Haan writes: > > What's there to see on the FreeBSD site? I was asking about an _IBM_ > > implementation of Java 2 for Linux. Or is there anything you can see that > > I can't? ;-) > > Oops, sorry I didn't see the "IBM" (kindof strange since that's > where I work :-) > > I do know that IBM has their own version of the JDK with a better JIT > engine.. this is public knowledge. Whether they plan to release it or > not, that I don't know. That would definitely be cool if they did. > > -Archie > > ___________________________________________________________________________ > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------2B06DECCFD0EF4EA71CFAE0F Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------2B06DECCFD0EF4EA71CFAE0F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 12:24:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by builder.freebsd.org (Postfix) with ESMTP id 78730420E for ; Mon, 14 Feb 2000 12:24:11 -0800 (PST) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id MAA08798; Mon, 14 Feb 2000 12:24:19 -0800 (PST) From: Archie Cobbs Message-Id: <200002142024.MAA08798@bubba.whistle.com> Subject: Re: Java 1.2 beta for Linux ? In-Reply-To: <38A8630C.4E50B3F8@jollem.com> from Ernst de Haan at "Feb 14, 2000 09:18:20 pm" To: ernst@jollem.com (Ernst de Haan) Date: Mon, 14 Feb 2000 12:24:19 -0800 (PST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst de Haan writes: > Somebody I know claims he downloaded it. Perhaps there has been an > accident, the link could have been active for a few hours or so? I'll ask > this guy. If I can obtain it, I'll let ya know. Could very well be.. it would be on www.developerworks.ibm.com if so. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 13:11: 0 2000 Delivered-To: freebsd-java@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by builder.freebsd.org (Postfix) with ESMTP id 4CD303ED0 for ; Mon, 14 Feb 2000 13:10:58 -0800 (PST) Received: from [10.1.10.109] (m93885536.whistle.com [207.76.205.244]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id NAA29840 for ; Mon, 14 Feb 2000 13:11:15 -0800 (PST) Mime-Version: 1.0 X-Sender: mark@alpo.whistle.com Message-Id: In-Reply-To: <200002142024.MAA08798@bubba.whistle.com> References: <200002142024.MAA08798@bubba.whistle.com> Date: Mon, 14 Feb 2000 13:10:46 -0800 To: freebsd-java@FreeBSD.ORG From: Mark Peek Subject: Re: Java 1.2 beta for Linux ? Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 12:24 PM -0800 2/14/2000, Archie Cobbs wrote: >Ernst de Haan writes: >> Somebody I know claims he downloaded it. Perhaps there has been an >> accident, the link could have been active for a few hours or so? I'll ask >> this guy. If I can obtain it, I'll let ya know. > >Could very well be.. it would be on www.developerworks.ibm.com if so. Archie, I think you meant either or . Following the links, I found this JDK page that lists a JDK 1.2.2 for AIX but only 1.1.8 for Linux. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 16:27: 5 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id E31634A08 for ; Mon, 14 Feb 2000 16:25:48 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id BAA10537; Tue, 15 Feb 2000 01:26:07 +0100 (MET) Message-ID: <38A89D20.4FE31D8A@jollem.com> Date: Tue, 15 Feb 2000 01:26:08 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Sun JDK 1.2.2 _Final_ for Linux Content-Type: multipart/mixed; boundary="------------D9F45512F82992F83E63F11F" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------D9F45512F82992F83E63F11F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey, The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to final. See: * http://java.sun.com/products/jdk/1.2/download-linux.html Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD 3.4-STABLE system, I will attempt to get this one running as well. I wanna do some performance comparisons. I recall that the Blackdown port didn't have native thread support, but the Sun JDK did. Am I rite? Hmmm, seems I will have to expand my set of scripts that switches my environment to a different JDK. :-) Hehe. -- Ernst --------------D9F45512F82992F83E63F11F Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------D9F45512F82992F83E63F11F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 17:27:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from rivendell.mel.vet.com.au (rivendell.mel.vet.com.au [203.103.154.61]) by builder.freebsd.org (Postfix) with ESMTP id 9EF614AEC for ; Mon, 14 Feb 2000 17:22:04 -0800 (PST) Received: (from lodea@localhost) by rivendell.mel.vet.com.au (8.9.3/8.9.3) id MAA44407 for freebsd-java@FreeBSD.ORG; Tue, 15 Feb 2000 12:22:22 +1100 (EST) Date: Tue, 15 Feb 2000 12:22:22 +1100 From: "Lachlan O'Dea" To: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux Message-ID: <20000215122222.B44286@vet.com.au> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <38A89D20.4FE31D8A@jollem.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.3i In-Reply-To: <38A89D20.4FE31D8A@jollem.com>; from ernst@jollem.com on Tue, Feb 15, 2000 at 01:26:08AM +0100 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Feb 15, 2000 at 01:26:08AM +0100, Ernst de Haan wrote: > Hey, > > The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to final. > See: > > * http://java.sun.com/products/jdk/1.2/download-linux.html > > Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD 3.4-STABLE > system, I will attempt to get this one running as well. I wanna do some > performance comparisons. I recall that the Blackdown port didn't have > native thread support, but the Sun JDK did. Am I rite? Close. The Blackdown port supports both native and green threads, the Inprise port supports native threads only. I believe the IBM ports, including the forthcoming 1.3 port are also native threads only. Has anyone got native threads working under 3.x or 4.0? My attempts under 3.3 so far have not been successful. -- Lachlan O'Dea Computer Associates Pty Ltd Webmaster Vet - Anti-Virus Software http://www.vet.com.au/ "for generous dead should not be checked by cold counsel." - Gandalf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 14 19:25: 7 2000 Delivered-To: freebsd-java@freebsd.org Received: from rivendell.mel.vet.com.au (rivendell.mel.vet.com.au [203.103.154.61]) by builder.freebsd.org (Postfix) with ESMTP id 525D73F88 for ; Mon, 14 Feb 2000 19:25:03 -0800 (PST) Received: (from lodea@localhost) by rivendell.mel.vet.com.au (8.9.3/8.9.3) id OAA44864 for freebsd-java@FreeBSD.ORG; Tue, 15 Feb 2000 14:25:21 +1100 (EST) Date: Tue, 15 Feb 2000 14:25:21 +1100 From: "Lachlan O'Dea" To: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux Message-ID: <20000215142520.C44286@vet.com.au> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <38A89D20.4FE31D8A@jollem.com> <20000215122222.B44286@vet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.3i In-Reply-To: <20000215122222.B44286@vet.com.au>; from lodea@vet.com.au on Tue, Feb 15, 2000 at 12:22:22PM +1100 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Feb 15, 2000 at 12:22:22PM +1100, Lachlan O'Dea wrote: > On Tue, Feb 15, 2000 at 01:26:08AM +0100, Ernst de Haan wrote: > > Hey, > > > > The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to final. > > See: > > > > * http://java.sun.com/products/jdk/1.2/download-linux.html > > > > Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD 3.4-STABLE > > system, I will attempt to get this one running as well. I wanna do some > > performance comparisons. I recall that the Blackdown port didn't have > > native thread support, but the Sun JDK did. Am I rite? > > Close. The Blackdown port supports both native and green threads, the > Inprise port supports native threads only. I believe the IBM ports, > including the forthcoming 1.3 port are also native threads only. My apologies, I was mistaken. The final release from Sun does have green threads support. In fact the readme claims that only green threads are supported. The native-threads libraries are included, however I get: rivendell ~ > /usr/local/java/bin/java -native -version Warning: native threads are not supported in this release Bad system call Also, running AWT stuff gives me the same results as the last RC - the Java process just eats CPU (ps always lists it as R+) and displays nothing. This is under 3.3. -- Lachlan O'Dea Computer Associates Pty Ltd Webmaster Vet - Anti-Virus Software http://www.vet.com.au/ "Fundamentalism isn't about religion. It's about power." - Salman Rushdie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 1:56:13 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id E9A6B4270 for ; Tue, 15 Feb 2000 01:56:08 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id KAA19132; Tue, 15 Feb 2000 10:56:22 +0100 (MET) Message-ID: <38A922C7.39475118@jollem.com> Date: Tue, 15 Feb 2000 10:56:23 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: "Lachlan O'Dea" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <38A89D20.4FE31D8A@jollem.com> <20000215122222.B44286@vet.com.au> <20000215142520.C44286@vet.com.au> Content-Type: multipart/mixed; boundary="------------A5524D7256884CD95F691A69" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------A5524D7256884CD95F691A69 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Lachlan et all, Hmm. Seems I'm not the first one getting the Sun JDK 1.2.2 running on Linux, Lachlan, it's your honour :-) This is what I get when executing java -version for the Sun JDK 1.2.2: bash-2.03$ java -version /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found Error: can't find libjava.so. bash-2.03$ When I do a find, I get: bash-2.03$ find /usr/local/sun-linux-jdk1.2.2 -name libjava.so /usr/local/sun-linux-jdk1.2.2/jre/lib/i386/libjava.so bash-2.03$ So it _should_ be able to find it IMO. This is my environment: bash-2.03$ set | grep "JAVA\|CLASS" CLASSPATH=:/usr/local/sun-linux-jdk1.2.2/jre/lib/rt.jar:/usr/local/share/java/classes/jsdk.jar:/usr/local/share/java/classes/activation.jar:/usr/local/share/java/classes/mm/mm.mysql.jdbc-2.0pre4/mysql_2_uncomp.jar:/usr/local/share/java/classes/psepro3/pro_g.jar:/usr/local/share/java/classes/psepro3/tools_g.jar:/home/ernst/java/lib CUSTOM_JAVA_LIBS=/home/ernst/java/lib JAVA_CLASSES_HOME=/usr/local/share/java/classes JAVA_HOME=/usr/local/sun-linux-jdk1.2.2 bash-2.03$ Any ideas? Probably something with LD_LIB_CONFIG or so? Ernst Lachlan O'Dea wrote: > > On Tue, Feb 15, 2000 at 12:22:22PM +1100, Lachlan O'Dea wrote: > > On Tue, Feb 15, 2000 at 01:26:08AM +0100, Ernst de Haan wrote: > > > Hey, > > > > > > The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to final. > > > See: > > > > > > * http://java.sun.com/products/jdk/1.2/download-linux.html > > > > > > Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD 3.4-STABLE > > > system, I will attempt to get this one running as well. I wanna do some > > > performance comparisons. I recall that the Blackdown port didn't have > > > native thread support, but the Sun JDK did. Am I rite? > > > > Close. The Blackdown port supports both native and green threads, the > > Inprise port supports native threads only. I believe the IBM ports, > > including the forthcoming 1.3 port are also native threads only. > > My apologies, I was mistaken. The final release from Sun does have green > threads support. In fact the readme claims that only green threads are > supported. The native-threads libraries are included, however I get: > > rivendell ~ > /usr/local/java/bin/java -native -version > Warning: native threads are not supported in this release > Bad system call > > Also, running AWT stuff gives me the same results as the last RC - the > Java process just eats CPU (ps always lists it as R+) and displays > nothing. This is under 3.3. > > -- > Lachlan O'Dea Computer Associates Pty Ltd > Webmaster Vet - Anti-Virus Software > http://www.vet.com.au/ > > "Fundamentalism isn't about religion. It's about power." > - Salman Rushdie > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------A5524D7256884CD95F691A69 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------A5524D7256884CD95F691A69-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 2: 7: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by builder.freebsd.org (Postfix) with ESMTP id 7E2F54381 for ; Tue, 15 Feb 2000 02:04:50 -0800 (PST) Received: from iscool.ist.co.uk (iscool [89.0.0.33]) by isbalham.ist.co.uk (8.9.2/8.8.7) with SMTP id KAA21472; Tue, 15 Feb 2000 10:05:12 GMT (envelope-from nick@iscool.ist.co.uk) Message-Id: <200002151005.KAA21472@isbalham.ist.co.uk> Received: from ispider by iscool.ist.co.uk; Tue, 15 Feb 00 10:05:10 GMT Date: Tue, 15 Feb 2000 10:05:10 +0000 (GMT) From: Nicholas Wright Reply-To: Nicholas Wright Subject: Re: Sun JDK 1.2.2 _Final_ for Linux To: lodea@vet.com.au, ernst@jollem.com Cc: freebsd-java@FreeBSD.ORG Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-Md5: FP0Xt7CeOou8KVrtJAOZ6w== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Have you solved the first problem of "/usr/bin/expr" not being found? Nicholas > Delivered-To: freebsd-java@freebsd.org > Date: Tue, 15 Feb 2000 10:56:23 +0100 > From: Ernst de Haan > X-Accept-Language: en, nl > Mime-Version: 1.0 > To: "Lachlan O'Dea" > Cc: freebsd-java@ORG.FreeBSD > Subject: Re: Sun JDK 1.2.2 _Final_ for Linux > X-Loop: FreeBSD.org > > Hi Lachlan et all, > > Hmm. Seems I'm not the first one getting the Sun JDK 1.2.2 running on > Linux, Lachlan, it's your honour :-) > This is what I get when executing java -version for the Sun JDK 1.2.2: > > bash-2.03$ java -version > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > Error: can't find libjava.so. > bash-2.03$ > > When I do a find, I get: > > bash-2.03$ find /usr/local/sun-linux-jdk1.2.2 -name libjava.so > /usr/local/sun-linux-jdk1.2.2/jre/lib/i386/libjava.so > bash-2.03$ > > So it _should_ be able to find it IMO. This is my environment: > > bash-2.03$ set | grep "JAVA\|CLASS" > CLASSPATH=:/usr/local/sun-linux-jdk1.2.2/jre/lib/rt.jar:/usr/local/share/ja va/classes/jsdk.jar:/usr/local/share/java/classes/activation.jar:/usr/local /share/java/classes/mm/mm.mysql.jdbc-2.0pre4/mysql_2_uncomp.jar:/usr/local/ share/java/classes/psepro3/pro_g.jar:/usr/local/share/java/classes/psepro3/ tools_g.jar:/home/ernst/java/lib > CUSTOM_JAVA_LIBS=/home/ernst/java/lib > JAVA_CLASSES_HOME=/usr/local/share/java/classes > JAVA_HOME=/usr/local/sun-linux-jdk1.2.2 > bash-2.03$ > > Any ideas? Probably something with LD_LIB_CONFIG or so? > > Ernst > > > Lachlan O'Dea wrote: > > > > On Tue, Feb 15, 2000 at 12:22:22PM +1100, Lachlan O'Dea wrote: > > > On Tue, Feb 15, 2000 at 01:26:08AM +0100, Ernst de Haan wrote: > > > > Hey, > > > > > > > > The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to final. > > > > See: > > > > > > > > * http://java.sun.com/products/jdk/1.2/download-linux.html > > > > > > > > Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD 3.4-STABLE > > > > system, I will attempt to get this one running as well. I wanna do some > > > > performance comparisons. I recall that the Blackdown port didn't have > > > > native thread support, but the Sun JDK did. Am I rite? > > > > > > Close. The Blackdown port supports both native and green threads, the > > > Inprise port supports native threads only. I believe the IBM ports, > > > including the forthcoming 1.3 port are also native threads only. > > > > My apologies, I was mistaken. The final release from Sun does have green > > threads support. In fact the readme claims that only green threads are > > supported. The native-threads libraries are included, however I get: > > > > rivendell ~ > /usr/local/java/bin/java -native -version > > Warning: native threads are not supported in this release > > Bad system call > > > > Also, running AWT stuff gives me the same results as the last RC - the > > Java process just eats CPU (ps always lists it as R+) and displays > > nothing. This is under 3.3. > > > > -- > > Lachlan O'Dea Computer Associates Pty Ltd > > Webmaster Vet - Anti-Virus Software > > http://www.vet.com.au/ > > > > "Fundamentalism isn't about religion. It's about power." > > - Salman Rushdie > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message =========================================================================== Nicholas Wright Imperial Software Technology Software Engineer --------------------------------------------------------------------------- Email : nick@ist.co.uk or support@ist.co.uk Berkshire House 120 Hawthorne Ave, #101 252 Kings Road Palo Alto Reading RG1 4HP United Kingdom California 94301 USA Tel: +44 118 958 7055 Tel: 650 688 0200 FAX: +44 118 958 9005 FAX: 650 688 1054 =========================================================================== ****** VISAJ AT http://www.ist.co.uk/visaj ****** =========================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 2:22:36 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 0D2534226 for ; Tue, 15 Feb 2000 02:22:31 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id LAA24214; Tue, 15 Feb 2000 11:22:41 +0100 (MET) Message-ID: <38A928F2.6D400849@jollem.com> Date: Tue, 15 Feb 2000 11:22:42 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Nicholas Wright Cc: lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <200002151005.KAA21472@isbalham.ist.co.uk> Content-Type: multipart/mixed; boundary="------------9D49DA8665FDA440724267A9" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------9D49DA8665FDA440724267A9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Well, I manually added a symbolic link: # pwd /usr/bin # ln -s /bin/expr # To get rid of the `expr: not found' messages. Well, this is what I get now: bash-2.03$ java -version expr: syntax error java version "1.2.2" Classic VM (build 1.2.2-L, green threads, nojit) bash-2.03$ Hehe. Better than before. But still not perfect. I'm gonna try to get rid of the first error as well, and I'll try to run some of my code. Ernst Nicholas Wright wrote: > > Hi > > Have you solved the first problem of "/usr/bin/expr" not being found? > > Nicholas > > > Delivered-To: freebsd-java@freebsd.org > > Date: Tue, 15 Feb 2000 10:56:23 +0100 > > From: Ernst de Haan > > X-Accept-Language: en, nl > > Mime-Version: 1.0 > > To: "Lachlan O'Dea" > > Cc: freebsd-java@ORG.FreeBSD > > Subject: Re: Sun JDK 1.2.2 _Final_ for Linux > > X-Loop: FreeBSD.org > > > > Hi Lachlan et all, > > > > Hmm. Seems I'm not the first one getting the Sun JDK 1.2.2 running on > > Linux, Lachlan, it's your honour :-) > > This is what I get when executing java -version for the Sun JDK 1.2.2: > > > > bash-2.03$ java -version > > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > > Error: can't find libjava.so. > > bash-2.03$ > > > > When I do a find, I get: > > > > bash-2.03$ find /usr/local/sun-linux-jdk1.2.2 -name libjava.so > > /usr/local/sun-linux-jdk1.2.2/jre/lib/i386/libjava.so > > bash-2.03$ > > > > So it _should_ be able to find it IMO. This is my environment: > > > > bash-2.03$ set | grep "JAVA\|CLASS" > > > CLASSPATH=:/usr/local/sun-linux-jdk1.2.2/jre/lib/rt.jar:/usr/local/share/ja > va/classes/jsdk.jar:/usr/local/share/java/classes/activation.jar:/usr/local > /share/java/classes/mm/mm.mysql.jdbc-2.0pre4/mysql_2_uncomp.jar:/usr/local/ > share/java/classes/psepro3/pro_g.jar:/usr/local/share/java/classes/psepro3/ > tools_g.jar:/home/ernst/java/lib > > CUSTOM_JAVA_LIBS=/home/ernst/java/lib > > JAVA_CLASSES_HOME=/usr/local/share/java/classes > > JAVA_HOME=/usr/local/sun-linux-jdk1.2.2 > > bash-2.03$ > > > > Any ideas? Probably something with LD_LIB_CONFIG or so? > > > > Ernst > > > > > > Lachlan O'Dea wrote: > > > > > > On Tue, Feb 15, 2000 at 12:22:22PM +1100, Lachlan O'Dea wrote: > > > > On Tue, Feb 15, 2000 at 01:26:08AM +0100, Ernst de Haan wrote: > > > > > Hey, > > > > > > > > > > The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to > final. > > > > > See: > > > > > > > > > > * http://java.sun.com/products/jdk/1.2/download-linux.html > > > > > > > > > > Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD > 3.4-STABLE > > > > > system, I will attempt to get this one running as well. I wanna do > some > > > > > performance comparisons. I recall that the Blackdown port didn't > have > > > > > native thread support, but the Sun JDK did. Am I rite? > > > > > > > > Close. The Blackdown port supports both native and green threads, the > > > > Inprise port supports native threads only. I believe the IBM ports, > > > > including the forthcoming 1.3 port are also native threads only. > > > > > > My apologies, I was mistaken. The final release from Sun does have > green > > > threads support. In fact the readme claims that only green threads are > > > supported. The native-threads libraries are included, however I get: > > > > > > rivendell ~ > /usr/local/java/bin/java -native -version > > > Warning: native threads are not supported in this release > > > Bad system call > > > > > > Also, running AWT stuff gives me the same results as the last RC - the > > > Java process just eats CPU (ps always lists it as R+) and displays > > > nothing. This is under 3.3. > > > > > > -- > > > Lachlan O'Dea Computer Associates Pty Ltd > > > Webmaster Vet - Anti-Virus Software > > > http://www.vet.com.au/ > > > > > > "Fundamentalism isn't about religion. It's about power." > > > - Salman Rushdie > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-java" in the body of the message > =========================================================================== > Nicholas Wright Imperial Software Technology Software Engineer > --------------------------------------------------------------------------- > Email : nick@ist.co.uk or support@ist.co.uk > Berkshire House 120 Hawthorne Ave, #101 > 252 Kings Road Palo Alto > Reading RG1 4HP United Kingdom California 94301 USA > Tel: +44 118 958 7055 Tel: 650 688 0200 > FAX: +44 118 958 9005 FAX: 650 688 1054 > =========================================================================== > ****** VISAJ AT http://www.ist.co.uk/visaj ****** > =========================================================================== > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------9D49DA8665FDA440724267A9 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------9D49DA8665FDA440724267A9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 2:25:10 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 10DA142F4 for ; Tue, 15 Feb 2000 02:25:06 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id LAA24723; Tue, 15 Feb 2000 11:25:21 +0100 (MET) Message-ID: <38A92992.1D054EA4@jollem.com> Date: Tue, 15 Feb 2000 11:25:22 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Jose Marques Cc: freebsd-java@freebsd.org Subject: Re: Linux JDK 1.2.2 RC4 References: Content-Type: multipart/mixed; boundary="------------C2C77CD55FBB13B36CBE7CBC" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------C2C77CD55FBB13B36CBE7CBC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jose, Would you care creating a ports Makefile for the Sun JDK 1.2.2-final as well? I've never written a port Makefile, so uhmmm... /:-) We seem to have the Sun JDK 1.2.2 up and running (mostly). Ernst Jose Marques wrote: > > The Blackdown project have produced another release candidate (RC4) of > their JDK 1.2.2 for Linux. See: > > http://www.blackdown.org/java-linux/jdk1.2-status/jdk1.2-status.html > > for details. A FreeBSD port for it is available at: > > http://www.jmcm.org/tech/ports/linux_jdk.html > > The JDK requires the linux_base-6.1 port to be installed which I believe > implies that you need FreeBSD 3.4-STABLE or later to run it. > > -- > Jose Marques > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------C2C77CD55FBB13B36CBE7CBC Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------C2C77CD55FBB13B36CBE7CBC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 2:33:29 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 5B200422F for ; Tue, 15 Feb 2000 02:33:24 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id LAA27000; Tue, 15 Feb 2000 11:33:34 +0100 (MET) Message-ID: <38A92B7F.22445E63@jollem.com> Date: Tue, 15 Feb 2000 11:33:35 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Nicholas Wright Cc: lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <200002151005.KAA21472@isbalham.ist.co.uk> Content-Type: multipart/mixed; boundary="------------6D0AB3C5289DE37985EC19DF" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------6D0AB3C5289DE37985EC19DF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Okay, I managed to get my fingers under what the Sun java executable actually tries to do, but I'm no hero with expr, so anyone care to take a look? I removed the link at /usr/bin/expr -> /bin/expr en then wrote my own shell script instead: bash-2.03# cat /usr/bin/expr #!/bin/sh echo $* |tee `mktemp /tmp/expr.XX` bash-2.03# And this is the first output (or the second)?: lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ And the second (or the first?): lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ : / Any ideas? Ernst Nicholas Wright wrote: > > Hi > > Have you solved the first problem of "/usr/bin/expr" not being found? > > Nicholas > > > Delivered-To: freebsd-java@freebsd.org > > Date: Tue, 15 Feb 2000 10:56:23 +0100 > > From: Ernst de Haan > > X-Accept-Language: en, nl > > Mime-Version: 1.0 > > To: "Lachlan O'Dea" > > Cc: freebsd-java@ORG.FreeBSD > > Subject: Re: Sun JDK 1.2.2 _Final_ for Linux > > X-Loop: FreeBSD.org > > > > Hi Lachlan et all, > > > > Hmm. Seems I'm not the first one getting the Sun JDK 1.2.2 running on > > Linux, Lachlan, it's your honour :-) > > This is what I get when executing java -version for the Sun JDK 1.2.2: > > > > bash-2.03$ java -version > > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > > Error: can't find libjava.so. > > bash-2.03$ > > > > When I do a find, I get: > > > > bash-2.03$ find /usr/local/sun-linux-jdk1.2.2 -name libjava.so > > /usr/local/sun-linux-jdk1.2.2/jre/lib/i386/libjava.so > > bash-2.03$ > > > > So it _should_ be able to find it IMO. This is my environment: > > > > bash-2.03$ set | grep "JAVA\|CLASS" > > > CLASSPATH=:/usr/local/sun-linux-jdk1.2.2/jre/lib/rt.jar:/usr/local/share/ja > va/classes/jsdk.jar:/usr/local/share/java/classes/activation.jar:/usr/local > /share/java/classes/mm/mm.mysql.jdbc-2.0pre4/mysql_2_uncomp.jar:/usr/local/ > share/java/classes/psepro3/pro_g.jar:/usr/local/share/java/classes/psepro3/ > tools_g.jar:/home/ernst/java/lib > > CUSTOM_JAVA_LIBS=/home/ernst/java/lib > > JAVA_CLASSES_HOME=/usr/local/share/java/classes > > JAVA_HOME=/usr/local/sun-linux-jdk1.2.2 > > bash-2.03$ > > > > Any ideas? Probably something with LD_LIB_CONFIG or so? > > > > Ernst > > > > > > Lachlan O'Dea wrote: > > > > > > On Tue, Feb 15, 2000 at 12:22:22PM +1100, Lachlan O'Dea wrote: > > > > On Tue, Feb 15, 2000 at 01:26:08AM +0100, Ernst de Haan wrote: > > > > > Hey, > > > > > > > > > > The Sun JDK 1.2.2 for Linux has now been upgraded from beta/rc to > final. > > > > > See: > > > > > > > > > > * http://java.sun.com/products/jdk/1.2/download-linux.html > > > > > > > > > > Altho the Blackdown JDK 1.2.2 rc4 works fine on my FreeBSD > 3.4-STABLE > > > > > system, I will attempt to get this one running as well. I wanna do > some > > > > > performance comparisons. I recall that the Blackdown port didn't > have > > > > > native thread support, but the Sun JDK did. Am I rite? > > > > > > > > Close. The Blackdown port supports both native and green threads, the > > > > Inprise port supports native threads only. I believe the IBM ports, > > > > including the forthcoming 1.3 port are also native threads only. > > > > > > My apologies, I was mistaken. The final release from Sun does have > green > > > threads support. In fact the readme claims that only green threads are > > > supported. The native-threads libraries are included, however I get: > > > > > > rivendell ~ > /usr/local/java/bin/java -native -version > > > Warning: native threads are not supported in this release > > > Bad system call > > > > > > Also, running AWT stuff gives me the same results as the last RC - the > > > Java process just eats CPU (ps always lists it as R+) and displays > > > nothing. This is under 3.3. > > > > > > -- > > > Lachlan O'Dea Computer Associates Pty Ltd > > > Webmaster Vet - Anti-Virus Software > > > http://www.vet.com.au/ > > > > > > "Fundamentalism isn't about religion. It's about power." > > > - Salman Rushdie > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-java" in the body of the message > =========================================================================== > Nicholas Wright Imperial Software Technology Software Engineer > --------------------------------------------------------------------------- > Email : nick@ist.co.uk or support@ist.co.uk > Berkshire House 120 Hawthorne Ave, #101 > 252 Kings Road Palo Alto > Reading RG1 4HP United Kingdom California 94301 USA > Tel: +44 118 958 7055 Tel: 650 688 0200 > FAX: +44 118 958 9005 FAX: 650 688 1054 > =========================================================================== > ****** VISAJ AT http://www.ist.co.uk/visaj ****** > =========================================================================== > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------6D0AB3C5289DE37985EC19DF Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------6D0AB3C5289DE37985EC19DF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 2:58:41 2000 Delivered-To: freebsd-java@freebsd.org Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3]) by builder.freebsd.org (Postfix) with ESMTP id 053B14183 for ; Tue, 15 Feb 2000 02:58:38 -0800 (PST) Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162]) by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id LAA11187; Tue, 15 Feb 2000 11:58:59 +0100 (MET) Received: from localhost (dieringe@localhost) by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id LAA06255; Tue, 15 Feb 2000 11:58:58 +0100 (MET) Date: Tue, 15 Feb 2000 11:58:58 +0100 (MET) From: Martin Dieringer To: Ernst de Haan Cc: Nicholas Wright , lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux In-Reply-To: <38A92B7F.22445E63@jollem.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org edit bin/.java_wrapper like this: # Resolve symlinks. See 4152645. while [ -h "$PRG" ]; do <<--------- -h instead of -L ls=`/bin/ls -ld "$PRG"` link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` if /usr/bin/expr "$link" : '\/' > /dev/null; then <<------ backslash! PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" fi and, further down: DEFAULT_THREADS_FLAG=green instead of "native" I have the RC4 from blackdown running, with j3d and jbuilder3 working, but the sun-jdk doesn't run at all... martin On Tue, 15 Feb 2000, Ernst de Haan wrote: > Okay, > > I managed to get my fingers under what the Sun java executable actually > tries to do, but I'm no hero with expr, so anyone care to take a look? > > I removed the link at /usr/bin/expr -> /bin/expr en then wrote my own > shell script instead: > > bash-2.03# cat /usr/bin/expr > #!/bin/sh > echo $* |tee `mktemp /tmp/expr.XX` > bash-2.03# > > And this is the first output (or the second)?: > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ > > And the second (or the first?): > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ : / > > Any ideas? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 3:13:38 2000 Delivered-To: freebsd-java@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by builder.freebsd.org (Postfix) with ESMTP id A29484194 for ; Tue, 15 Feb 2000 03:13:34 -0800 (PST) Received: from rostock.zgdv.de (kingfisher.egd.igd.fhg.de [153.96.43.107]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA6D3B for ; Tue, 15 Feb 2000 12:12:43 +0100 Message-ID: <38A9344B.E4D797DB@rostock.zgdv.de> Date: Tue, 15 Feb 2000 12:11:07 +0100 From: "Thomas Runge" Organization: http://www.rostock.zgdv.de X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <200002151005.KAA21472@isbalham.ist.co.uk> <38A928F2.6D400849@jollem.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst de Haan wrote: > > Well, > > I manually added a symbolic link: > > # pwd > /usr/bin > # ln -s /bin/expr > # > > To get rid of the `expr: not found' messages. I guess, you need the Linux version of "expr". Put it in /compat/linux/usr/bin/ and try again. -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 3:24: 3 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 5CA17433C for ; Tue, 15 Feb 2000 03:23:57 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id MAA07103; Tue, 15 Feb 2000 12:24:03 +0100 (MET) Message-ID: <38A93754.507A09AD@jollem.com> Date: Tue, 15 Feb 2000 12:24:04 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Thomas Runge Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <200002151005.KAA21472@isbalham.ist.co.uk> <38A928F2.6D400849@jollem.com> <38A9344B.E4D797DB@rostock.zgdv.de> Content-Type: multipart/mixed; boundary="------------8E38F57A3E5EEBE24093ED4A" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------8E38F57A3E5EEBE24093ED4A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Tom, Would u know where to actually `get' the expr file? And what version would I need? The one that comes with RedHat 6.1? Is there a `FreeBSD-way' of doing this? Shouldn't it just come with the linux_base 6.1 port? Hehe, many questions there. :) Ernst Thomas Runge wrote: > > Ernst de Haan wrote: > > > > Well, > > > > I manually added a symbolic link: > > > > # pwd > > /usr/bin > > # ln -s /bin/expr > > # > > > > To get rid of the `expr: not found' messages. > > I guess, you need the Linux version of "expr". Put it in > /compat/linux/usr/bin/ and try again. > > -- > Tom > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------8E38F57A3E5EEBE24093ED4A Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------8E38F57A3E5EEBE24093ED4A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 3:31:59 2000 Delivered-To: freebsd-java@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by builder.freebsd.org (Postfix) with ESMTP id 137A342D5 for ; Tue, 15 Feb 2000 03:31:57 -0800 (PST) Received: from rostock.zgdv.de (kingfisher.egd.igd.fhg.de [153.96.43.107]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA6E70 for ; Tue, 15 Feb 2000 12:31:11 +0100 Message-ID: <38A9389E.776B6EC8@rostock.zgdv.de> Date: Tue, 15 Feb 2000 12:29:34 +0100 From: "Thomas Runge" Organization: http://www.rostock.zgdv.de X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <200002151005.KAA21472@isbalham.ist.co.uk> <38A928F2.6D400849@jollem.com> <38A9344B.E4D797DB@rostock.zgdv.de> <38A93754.507A09AD@jollem.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ernst de Haan wrote: > > Hi Tom, > > Would u know where to actually `get' the expr file? And what version would > I need? The one that comes with RedHat 6.1? Is there a `FreeBSD-way' of > doing this? Shouldn't it just come with the linux_base 6.1 port? Well, I don't know much about the linux_base-port(s). I installed it some time ago and IIRC, I manually added some files from some location and don't remember, from which distribution. But I can send you "mine" linux-expr, which seems to depend on glibc-2. -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 3:36: 7 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id B3BE9433F for ; Tue, 15 Feb 2000 03:36:04 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id MAA09603; Tue, 15 Feb 2000 12:36:21 +0100 (MET) Message-ID: <38A93A37.DA767E98@jollem.com> Date: Tue, 15 Feb 2000 12:36:23 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Thomas Runge Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <200002151005.KAA21472@isbalham.ist.co.uk> <38A928F2.6D400849@jollem.com> <38A9344B.E4D797DB@rostock.zgdv.de> <38A93754.507A09AD@jollem.com> <38A9389E.776B6EC8@rostock.zgdv.de> Content-Type: multipart/mixed; boundary="------------055CEDDB3999FAFF140BC762" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------055CEDDB3999FAFF140BC762 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Well, I think just copying and renaming files and stuff is pretty scary from a maintenance point of view. As you said: "... and don't remember". But then again, I'd love to see the son of a gun working :) Pleeezzz send it to me! I know I'll regret it, but at least I'll have had some fun! ;-) Ernst Thomas Runge wrote: > > Ernst de Haan wrote: > > > > Hi Tom, > > > > Would u know where to actually `get' the expr file? And what version would > > I need? The one that comes with RedHat 6.1? Is there a `FreeBSD-way' of > > doing this? Shouldn't it just come with the linux_base 6.1 port? > > Well, I don't know much about the linux_base-port(s). I installed > it some time ago and IIRC, I manually added some files from some > location and don't remember, from which distribution. > But I can send you "mine" linux-expr, which seems to depend on > glibc-2. > > -- > Tom > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------055CEDDB3999FAFF140BC762 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------055CEDDB3999FAFF140BC762-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 3:40: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 6A9124183 for ; Tue, 15 Feb 2000 03:40:02 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id MAA10430; Tue, 15 Feb 2000 12:40:21 +0100 (MET) Message-ID: <38A93B26.701A8B85@jollem.com> Date: Tue, 15 Feb 2000 12:40:22 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Thomas Runge Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: <200002151005.KAA21472@isbalham.ist.co.uk> <38A928F2.6D400849@jollem.com> <38A9344B.E4D797DB@rostock.zgdv.de> <38A93754.507A09AD@jollem.com> <38A9389E.776B6EC8@rostock.zgdv.de> Content-Type: multipart/mixed; boundary="------------7CB2DE470F198031865AD314" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------7CB2DE470F198031865AD314 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Seems I have the Linux expr binary! bash-2.03$ ls /compat/linux/usr/bin/expr /compat/linux/usr/bin/expr bash-2.03$ But it just doesn't get started? Perhaps the script should be marked as `linux' somehow? Because it is the script that is called, and how should FreeBSD know that the script assumes Linux? Ernst Thomas Runge wrote: > > Ernst de Haan wrote: > > > > Hi Tom, > > > > Would u know where to actually `get' the expr file? And what version would > > I need? The one that comes with RedHat 6.1? Is there a `FreeBSD-way' of > > doing this? Shouldn't it just come with the linux_base 6.1 port? > > Well, I don't know much about the linux_base-port(s). I installed > it some time ago and IIRC, I manually added some files from some > location and don't remember, from which distribution. > But I can send you "mine" linux-expr, which seems to depend on > glibc-2. > > -- > Tom > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------7CB2DE470F198031865AD314 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------7CB2DE470F198031865AD314-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 3:43:14 2000 Delivered-To: freebsd-java@freebsd.org Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3]) by builder.freebsd.org (Postfix) with ESMTP id C35EA433C for ; Tue, 15 Feb 2000 03:43:11 -0800 (PST) Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162]) by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id MAA12781; Tue, 15 Feb 2000 12:43:35 +0100 (MET) Received: from localhost (dieringe@localhost) by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id MAA15886; Tue, 15 Feb 2000 12:43:34 +0100 (MET) Date: Tue, 15 Feb 2000 12:43:34 +0100 (MET) From: Martin Dieringer To: Ernst de Haan Cc: Thomas Runge , freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux In-Reply-To: <38A93A37.DA767E98@jollem.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org you don't need the linux-expr if you just make this one simple adjustment to the .java_wrapper as I mailed before. m. On Tue, 15 Feb 2000, Ernst de Haan wrote: > Well, I think just copying and renaming files and stuff is pretty scary > from a maintenance point of view. As you said: "... and don't remember". > > But then again, I'd love to see the son of a gun working :) Pleeezzz send > it to me! I know I'll regret it, but at least I'll have had some fun! ;-) > > Ernst > > Thomas Runge wrote: > > > > Ernst de Haan wrote: > > > > > > Hi Tom, > > > > > > Would u know where to actually `get' the expr file? And what version would > > > I need? The one that comes with RedHat 6.1? Is there a `FreeBSD-way' of > > > doing this? Shouldn't it just come with the linux_base 6.1 port? > > > > Well, I don't know much about the linux_base-port(s). I installed > > it some time ago and IIRC, I manually added some files from some > > location and don't remember, from which distribution. > > But I can send you "mine" linux-expr, which seems to depend on > > glibc-2. > > > > -- > > Tom > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message _____________________________________________________________________ Martin Dieringer mailto:dieringe@zedat.fu-berlin.de Moeckernstr. 76 http://userpage.fu-berlin.de/~dieringe/ 10965 Berlin Tel.: 030 / 78 99 21 99 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 4: 1:22 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id 3314A4359 for ; Tue, 15 Feb 2000 04:01:13 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id NAA14936; Tue, 15 Feb 2000 13:01:15 +0100 (MET) Message-ID: <38A9400C.9A0CA779@jollem.com> Date: Tue, 15 Feb 2000 13:01:16 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Martin Dieringer Cc: Nicholas Wright , lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: Content-Type: multipart/mixed; boundary="------------960E955D0BEC35ED87719A18" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------960E955D0BEC35ED87719A18 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Martin, I'm afraid your patch doesnt help. I still get: bash-2.03$ java -version /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found Error: can't find libjava.so. bash-2.03$ And: DEFAULT_THREADS_FLAG=green didn't have to be changed, it was already enabled. Ernst Martin Dieringer wrote: > > edit bin/.java_wrapper like this: > > # Resolve symlinks. See 4152645. > while [ -h "$PRG" ]; do <<--------- -h instead of -L > ls=`/bin/ls -ld "$PRG"` > link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` > if /usr/bin/expr "$link" : '\/' > /dev/null; then <<------ backslash! > PRG="$link" > else > PRG="`/usr/bin/dirname $PRG`/$link" > fi > > and, further down: > DEFAULT_THREADS_FLAG=green > instead of "native" > > I have the RC4 from blackdown running, with j3d and jbuilder3 working, but > the sun-jdk doesn't run at all... > > martin > > On Tue, 15 Feb 2000, Ernst de Haan wrote: > > > Okay, > > > > I managed to get my fingers under what the Sun java executable actually > > tries to do, but I'm no hero with expr, so anyone care to take a look? > > > > I removed the link at /usr/bin/expr -> /bin/expr en then wrote my own > > shell script instead: > > > > bash-2.03# cat /usr/bin/expr > > #!/bin/sh > > echo $* |tee `mktemp /tmp/expr.XX` > > bash-2.03# > > > > And this is the first output (or the second)?: > > > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ > > > > And the second (or the first?): > > > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ : / > > > > Any ideas? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------960E955D0BEC35ED87719A18 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------960E955D0BEC35ED87719A18-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 7: 8:30 2000 Delivered-To: freebsd-java@freebsd.org Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3]) by builder.freebsd.org (Postfix) with ESMTP id BB44F435E for ; Tue, 15 Feb 2000 07:08:25 -0800 (PST) Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162]) by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA19917; Tue, 15 Feb 2000 16:08:49 +0100 (MET) Received: from localhost (dieringe@localhost) by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA22766; Tue, 15 Feb 2000 16:08:46 +0100 (MET) Date: Tue, 15 Feb 2000 16:08:46 +0100 (MET) From: Martin Dieringer To: Ernst de Haan Cc: Nicholas Wright , lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux In-Reply-To: <38A9400C.9A0CA779@jollem.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 15 Feb 2000, Ernst de Haan wrote: > Martin, > > I'm afraid your patch doesnt help. I still get: > > bash-2.03$ java -version > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > Error: can't find libjava.so. > bash-2.03$ do you have /usr/bin/expr? if not, link it to /bin/expr ln -s /bin/expr /usr/bin/ > > And: > > DEFAULT_THREADS_FLAG=green > > didn't have to be changed, it was already enabled. ok that's fine martin > > Ernst > > > Martin Dieringer wrote: > > > > edit bin/.java_wrapper like this: > > > > # Resolve symlinks. See 4152645. > > while [ -h "$PRG" ]; do <<--------- -h instead of -L > > ls=`/bin/ls -ld "$PRG"` > > link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` > > if /usr/bin/expr "$link" : '\/' > /dev/null; then <<------ backslash! > > PRG="$link" > > else > > PRG="`/usr/bin/dirname $PRG`/$link" > > fi > > > > and, further down: > > DEFAULT_THREADS_FLAG=green > > instead of "native" > > > > I have the RC4 from blackdown running, with j3d and jbuilder3 working, but > > the sun-jdk doesn't run at all... > > > > martin > > > > On Tue, 15 Feb 2000, Ernst de Haan wrote: > > > > > Okay, > > > > > > I managed to get my fingers under what the Sun java executable actually > > > tries to do, but I'm no hero with expr, so anyone care to take a look? > > > > > > I removed the link at /usr/bin/expr -> /bin/expr en then wrote my own > > > shell script instead: > > > > > > bash-2.03# cat /usr/bin/expr > > > #!/bin/sh > > > echo $* |tee `mktemp /tmp/expr.XX` > > > bash-2.03# > > > > > > And this is the first output (or the second)?: > > > > > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > > > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ > > > > > > And the second (or the first?): > > > > > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > > > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ : / > > > > > > Any ideas? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message _____________________________________________________________________ Martin Dieringer mailto:dieringe@zedat.fu-berlin.de Moeckernstr. 76 http://userpage.fu-berlin.de/~dieringe/ 10965 Berlin Tel.: 030 / 78 99 21 99 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 7:20: 1 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id A4090465A for ; Tue, 15 Feb 2000 07:19:52 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id QAA25396; Tue, 15 Feb 2000 16:19:03 +0100 (MET) Message-ID: <38A96E68.B0D4450D@jollem.com> Date: Tue, 15 Feb 2000 16:19:04 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Martin Dieringer Cc: Nicholas Wright , lodea@vet.com.au, freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: Content-Type: multipart/mixed; boundary="------------B46C359FCA6177C3317DCDA2" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------B46C359FCA6177C3317DCDA2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ollrighty then! It seems to work. At least I can execute a java -version now: bash-2.03$ java -version java version "1.2.2" Classic VM (build 1.2.2-L, green threads, nojit) Kewl. I extended my shells scripts so I can now do: bash-2.03$ . jdk11 >> Initializing Java libraries for JDK 1.1 -- Java Development Kit 1.1 -- Swing 1.0.3 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 1.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries bash-2.03$ java -version java_X version "1.1.8" bash-2.03$ . jdk12b >> Initializing Java libraries for Blackdown JDK 1.2 -- Java Development Kit 1.2 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries bash-2.03$ . jdk12s >> Initializing Java libraries for Sun JDK 1.2 -- Java Development Kit 1.2 -- Java Servlet Development Kit 2.0 -- JavaBeans Activation Framework 1.0.1 -- MySQL mm JDBC Driver 2.0pre4 for JDBC 2.0 -- ObjectStore PSE Pro 3.0 (runtime) -- ObjectStore PSE Pro 3.0 (tools) -- Custom Java libraries Kewl. 3 JVMs on a platform that is not supported by Sun. :> Ernst Martin Dieringer wrote: > > On Tue, 15 Feb 2000, Ernst de Haan wrote: > > > Martin, > > > > I'm afraid your patch doesnt help. I still get: > > > > bash-2.03$ java -version > > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > > /usr/local/sun-linux-jdk1.2.2/bin/java: /usr/bin/expr: not found > > Error: can't find libjava.so. > > bash-2.03$ > > do you have /usr/bin/expr? if not, link it to /bin/expr > ln -s /bin/expr /usr/bin/ > > > > > And: > > > > DEFAULT_THREADS_FLAG=green > > > > didn't have to be changed, it was already enabled. > > ok that's fine > > martin > > > > > Ernst > > > > > > Martin Dieringer wrote: > > > > > > edit bin/.java_wrapper like this: > > > > > > # Resolve symlinks. See 4152645. > > > while [ -h "$PRG" ]; do <<--------- -h instead of -L > > > ls=`/bin/ls -ld "$PRG"` > > > link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` > > > if /usr/bin/expr "$link" : '\/' > /dev/null; then <<------ backslash! > > > PRG="$link" > > > else > > > PRG="`/usr/bin/dirname $PRG`/$link" > > > fi > > > > > > and, further down: > > > DEFAULT_THREADS_FLAG=green > > > instead of "native" > > > > > > I have the RC4 from blackdown running, with j3d and jbuilder3 working, but > > > the sun-jdk doesn't run at all... > > > > > > martin > > > > > > On Tue, 15 Feb 2000, Ernst de Haan wrote: > > > > > > > Okay, > > > > > > > > I managed to get my fingers under what the Sun java executable actually > > > > tries to do, but I'm no hero with expr, so anyone care to take a look? > > > > > > > > I removed the link at /usr/bin/expr -> /bin/expr en then wrote my own > > > > shell script instead: > > > > > > > > bash-2.03# cat /usr/bin/expr > > > > #!/bin/sh > > > > echo $* |tee `mktemp /tmp/expr.XX` > > > > bash-2.03# > > > > > > > > And this is the first output (or the second)?: > > > > > > > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > > > > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ > > > > > > > > And the second (or the first?): > > > > > > > > lrwxr-xr-x 1 root wheel 13 Feb 15 10:46 > > > > /usr/local/sun-linux-jdk1.2.2/bin/java -> .java_wrapper : .*-> \(.*\)$ : / > > > > > > > > Any ideas? > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-java" in the body of the message > > _____________________________________________________________________ > Martin Dieringer mailto:dieringe@zedat.fu-berlin.de > Moeckernstr. 76 http://userpage.fu-berlin.de/~dieringe/ > 10965 Berlin Tel.: 030 / 78 99 21 99 --------------B46C359FCA6177C3317DCDA2 Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------B46C359FCA6177C3317DCDA2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 7:39:28 2000 Delivered-To: freebsd-java@freebsd.org Received: from axp5.physik.fu-berlin.de (axp5.physik.fu-berlin.de [160.45.34.3]) by builder.freebsd.org (Postfix) with ESMTP id 5587C4452 for ; Tue, 15 Feb 2000 07:39:24 -0800 (PST) Received: from sirius.physik.fu-berlin.de (sirius.physik.fu-berlin.de [160.45.34.162]) by axp5.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA20559; Tue, 15 Feb 2000 16:39:48 +0100 (MET) Received: from localhost (dieringe@localhost) by sirius.physik.fu-berlin.de (8.9.1a/8.9.1) with ESMTP id QAA25280; Tue, 15 Feb 2000 16:39:47 +0100 (MET) Date: Tue, 15 Feb 2000 16:39:47 +0100 (MET) From: Martin Dieringer To: Ernst de Haan Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux In-Reply-To: <38A96E68.B0D4450D@jollem.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 15 Feb 2000, Ernst de Haan wrote: > It seems to work. At least I can execute a java -version now: > > bash-2.03$ java -version > java version "1.2.2" > Classic VM (build 1.2.2-L, green threads, nojit) congratulations. You don't happen to be able to run the appletviewer? If anybody should, please let us know how - martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 7:54:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by builder.freebsd.org (Postfix) with ESMTP id BA3724C1C for ; Tue, 15 Feb 2000 07:54:11 -0800 (PST) Received: from jollem.com (ernst@c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id QAA03905; Tue, 15 Feb 2000 16:54:22 +0100 (MET) Message-ID: <38A976AC.EF68C319@jollem.com> Date: Tue, 15 Feb 2000 16:54:20 +0100 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: Martin Dieringer Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun JDK 1.2.2 _Final_ for Linux References: Content-Type: multipart/mixed; boundary="------------CC25B0D53D90C5BC683ED82C" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------CC25B0D53D90C5BC683ED82C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am not able to run the appletrunner, no. :< It freezes my terminal too, ^C, ^D, ^Z, nothing works. Ernst Martin Dieringer wrote: > > On Tue, 15 Feb 2000, Ernst de Haan wrote: > > It seems to work. At least I can execute a java -version now: > > > > bash-2.03$ java -version > > java version "1.2.2" > > Classic VM (build 1.2.2-L, green threads, nojit) > > congratulations. You don't happen to be able to run the appletviewer? > If anybody should, please let us know how - > > martin > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message --------------CC25B0D53D90C5BC683ED82C Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------CC25B0D53D90C5BC683ED82C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 15 9:31:49 2000 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by builder.freebsd.org (Postfix) with ESMTP id B0C2A4F72 for ; Tue, 15 Feb 2000 09:24:17 -0800 (PST) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/10) with ESMTP id SAA05130 for ; Tue, 15 Feb 2000 18:24:42 +0100 (MET) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id SAA05263 for ; Tue, 15 Feb 2000 18:25:17 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.3/8.6.9) id SAA38496 for java@freebsd.org; Tue, 15 Feb 2000 18:24:45 +0100 (CET) Date: Tue, 15 Feb 2000 18:24:45 +0100 (CET) From: Christoph Kukulies Message-Id: <200002151724.SAA38496@gil.physik.rwth-aachen.de> To: java@freebsd.org Subject: Forte4j installation problem? Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I installed Forte 4 Java from javasoft, the linux version. It runs but I cannot compile a simple Swing Class. Create a JFrame with a jLabel, jTextfield and jButton. Trying to compile it gives: /c/kuku/forte4j/bin/fastjavac/fastjavac: error in loading shared libraries : undefined symbol: iconv_open in the Compiler window. -- Chris Christoph P. U. Kukulies kuku@gil.physik.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 Tue Feb 15 10: 7:21 2000 Delivered-To: freebsd-java@freebsd.org Received: from nohow.demon.co.uk (nohow.demon.co.uk [212.228.18.189]) by builder.freebsd.org (Postfix) with ESMTP id 21FF552F5 for ; Tue, 15 Feb 2000 10:00:57 -0800 (PST) Received: from localhost (noway@localhost) by nohow.demon.co.uk (8.9.3/8.9.3) with ESMTP id PAA37732; Tue, 15 Feb 2000 15:40:29 GMT (envelope-from noway@nohow.demon.co.uk) Date: Tue, 15 Feb 2000 15:40:28 +0000 (GMT) From: Jose Marques To: Ernst de Haan Cc: freebsd-java@freebsd.org Subject: Re: Linux JDK 1.2.2 RC4 In-Reply-To: <38A92992.1D054EA4@jollem.com> Message-ID: X-No-Archive: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 15 Feb 2000, Ernst de Haan wrote: > Would you care creating a ports Makefile for the Sun JDK 1.2.2-final as > well? I've never written a port Makefile, so uhmmm... /:-) I've created a port but as far as I can tell the Sun JDK doesn't work properly - at least on FreeBSD 3.4-Stable. Command line tests appear to work but JFC demos do not - no windows appear, top shows java using all the CPU and a kill -9 is required to terminate java. I had the same problem with the release candidate. Anybody have any luck with the Sun JDK 1.2.2-final and JFC on FreeBSD? -- Jose Marques To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Feb 18 6:34:48 2000 Delivered-To: freebsd-java@freebsd.org Received: from servidor1.cursosvirtuales.com.ar (www.cursosvirtuales.com.ar [200.10.104.198]) by hub.freebsd.org (Postfix) with ESMTP id F04A937B96D for ; Fri, 18 Feb 2000 06:34:43 -0800 (PST) (envelope-from fpscha@servidor1.cursosvirtuales.com.ar) Received: (from fpscha@localhost) by servidor1.cursosvirtuales.com.ar (8.9.3/8.9.3) id LAA01952 for java@freebsd.org; Fri, 18 Feb 2000 11:52:28 -0300 (ART) From: "Fernando P. Schapachnik" Message-Id: <200002181452.LAA01952@servidor1.cursosvirtuales.com.ar> Subject: JDBC question To: java@freebsd.org Date: Fri, 18 Feb 2000 11:52:28 -0300 (ART) X-From: Fernando Schapachnik Reply-To: fernando@cursosvirtuales.com.ar X-OS: FreeBSD 2.2.8 - http://www.freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear sirs, Sorry if this has been asked before, but the mailing lists archive is down right now. I'd like to know what do I need to do in order to get JDBC access to an Informix server. Any help/pointer/URL would be greatly appretiated. Regards! Fernando P. Schapachnik -- Cursos Virtuales a través de Internet -- fernando@cursosvirtuales.com.ar -- http://www.cursosvirtuales.com.ar -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 19 1:31:13 2000 Delivered-To: freebsd-java@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id D6DC837BBC1 for ; Sat, 19 Feb 2000 01:29:48 -0800 (PST) (envelope-from eugene@iclub.nsu.ru) Received: from localhost (eugene@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id PAA99932; Sat, 19 Feb 2000 15:25:45 +0600 (NS) (envelope-from eugene@iclub.nsu.ru) Date: Sat, 19 Feb 2000 15:25:45 +0600 (NS) From: Krisztian Depoisson To: fernando@cursosvirtuales.com.ar Cc: java@FreeBSD.ORG Subject: Re: JDBC question In-Reply-To: <200002181452.LAA01952@servidor1.cursosvirtuales.com.ar> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=KOI8-R Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 18 Feb 2000, Fernando P. Schapachnik wrote: > Dear sirs, > Sorry if this has been asked before, but the mailing lists archive is down right now. > > I'd like to know what do I need to do in order to get JDBC access to an Informix server. Any help/pointer/URL would be greatly appretiated. > > Regards! > > Fernando P. Schapachnik -- Cursos Virtuales a través de Internet -- > fernando@cursosvirtuales.com.ar -- http://www.cursosvirtuales.com.ar -- > > You should get Informix JDBC driver , and then using java.sql.* interfaces and classes you can apply to Informix server . You can find an Informix driver at http://www.javasoft.com/ Thanks ! eugene A. Panov kris@relcom.kz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 19 7:13:33 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.geocrawler.com (sourceforge.net [198.186.203.33]) by hub.freebsd.org (Postfix) with ESMTP id 3CF8C37BC5B for ; Sat, 19 Feb 2000 07:13:29 -0800 (PST) (envelope-from nobody@www.geocrawler.com) Received: (from nobody@localhost) by www.geocrawler.com (8.9.3/8.9.3) id HAA01476; Sat, 19 Feb 2000 07:13:30 -0800 Date: Sat, 19 Feb 2000 07:13:30 -0800 Message-Id: <200002191513.HAA01476@www.geocrawler.com> To: freebsd-java@freebsd.org Subject: Tomcat+Apche on FreeBSD From: "pankaj" Reply-To: "pankaj" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message was sent from Geocrawler.com by "pankaj" Be sure to reply to that address. Hi, I have installed tomcat on FreeBSD. I want to integrate it with Apache. Can anyone help me. I couldn't find any help on apache web site for this. Also I want to change the jsp extension to *.asp. What config file to change for this purpose. Thanks Pankaj Geocrawler.com - The Knowledge Archive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message