From owner-freebsd-java Sun Nov 15 10:27:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA19717 for freebsd-java-outgoing; Sun, 15 Nov 1998 10:27:09 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from oak.nri.com ([198.95.206.58]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA19712 for ; Sun, 15 Nov 1998 10:27:08 -0800 (PST) (envelope-from kenji@nri.com) Received: (qmail 7971 invoked by uid 148); 15 Nov 1998 18:26:45 -0000 Message-ID: <19981115102645.B7796@oak.nri.com> Date: Sun, 15 Nov 1998 10:26:45 -0800 From: Kenji Nakamura To: freebsd-java@FreeBSD.ORG Subject: subscribe Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mutt 0.91.1i-jp1 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe freebsd-java -- ========================================================================== Kenji Nakamura kenji@nri.com NRI Pacific, Inc. 1400 FashionIsland Blvd. #1010 Direct: +1-650-638-7285 San Mateo, CA 94404 Fax: +1-650-638-7255 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Nov 15 11:35:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24802 for freebsd-java-outgoing; Sun, 15 Nov 1998 11:35:42 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.digidemic.com (adsl-209-233-33-55.snfc21.pacbell.net [209.233.33.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24797 for ; Sun, 15 Nov 1998 11:35:39 -0800 (PST) (envelope-from topping@digidemic.com) Received: from nexus (nexus.digidemic.com [192.168.0.10]) by ns.digidemic.com (8.9.1/8.9.1) with SMTP id LAA09502 for ; Sun, 15 Nov 1998 11:34:53 -0800 (PST) Reply-To: From: "Brian Topping" To: Subject: subscribe Date: Sun, 15 Nov 1998 11:40:27 -0800 Message-ID: <000401be10cf$cca8ecd0$0a00a8c0@nexus.digidemic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 03:43:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27770 for freebsd-java-outgoing; Tue, 17 Nov 1998 03:43:59 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from scorpion.netspace.net.au (scorpion.netspace.net.au [203.10.110.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27765 for ; Tue, 17 Nov 1998 03:43:55 -0800 (PST) (envelope-from graeme@netspace.net.au) Received: from whirlwind.netspace.net.au (whirlwind.netspace.net.au [203.10.110.70]) by scorpion.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id WAA12700 for ; Tue, 17 Nov 1998 22:43:42 +1100 (EST) Received: from netspace.net.au (dialup-t1-445.Melbourne.netspace.net.au [210.15.251.191]) by whirlwind.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id WAA14938 for ; Tue, 17 Nov 1998 22:42:24 +1100 (EST) Message-Id: <199811171142.WAA14938@whirlwind.netspace.net.au> Date: Tue, 17 Nov 1998 22:42:45 +1100 (EST) From: gcross@netspace.net.au Reply-To: gcross@netspace.net.au Subject: Can't find java/lang/Thread? To: freebsd-java@FreeBSD.ORG MIME-Version: 1.0 Content-Type: MULTIPART/signed; micalg=pgp-md5; protocol="application/pgp-signature"; BOUNDARY="0-1804289383-911302976=:5586" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0-1804289383-911302976=:5586 Content-Type: TEXT/plain; CHARSET=US-ASCII I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD 2.2.7 system and followed the installation instructions as per the README file. But when I run javac or appletviewer, I get: [~/source/java]$ /usr/local/jdk1.1.7/bin/javac Unable to initialize threads: cannot find class java/lang/Thread I have checked the mail archives for this list, and it is suggested that you explicitly set CLASSPATH, but that has not made any difference. I have checked jdk1.1.7/lib/classes.zip and it definitely exists. Any suggestions on what I am doing wrong? Thanks Graeme -- Graeme Cross gcross@netspace.net.au --0-1804289383-911302976=:5586 Content-Type: APPLICATION/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBNlFhOclBq9Wvf+qtAQHSngQAtjPb2RwC6XxXT++zBf8fPufj6WkR7nNk Tm1dgq7LrCq2N43edStLkF0aEtJxVySMkHPl74WBIPwTqyJ63meG9w8BuUK2utFk zAdGN1y3K0sxtZJWgU1cReylumpDlMmikA9XoelRzXvd3A9TTL51CwfBTaCmmen8 D+7M9Wihd+g= =Sv9L -----END PGP MESSAGE----- --0-1804289383-911302976=:5586-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 08:27:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA01420 for freebsd-java-outgoing; Tue, 17 Nov 1998 08:27:50 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA01412 for ; Tue, 17 Nov 1998 08:27:49 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA22340; Tue, 17 Nov 1998 09:27:22 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA23961; Tue, 17 Nov 1998 09:27:22 -0700 Date: Tue, 17 Nov 1998 09:27:22 -0700 Message-Id: <199811171627.JAA23961@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gcross@netspace.net.au Cc: freebsd-java@FreeBSD.ORG Subject: Re: Can't find java/lang/Thread? In-Reply-To: <199811171142.WAA14938@whirlwind.netspace.net.au> References: <199811171142.WAA14938@whirlwind.netspace.net.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD > 2.2.7 system and followed the installation instructions as per the > README file. > > But when I run javac or appletviewer, I get: > > [~/source/java]$ /usr/local/jdk1.1.7/bin/javac > Unable to initialize threads: cannot find class java/lang/Thread I'll bet you have another java compiler installed on your system that has the environment screwed up. Check for LD_LIBRARY_PATH being set wrong, or the CLASSPATH being set wrong. Make sure to unset both of them. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 12:48:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10537 for freebsd-java-outgoing; Tue, 17 Nov 1998 12:48:53 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from scorpion.netspace.net.au (scorpion.netspace.net.au [203.10.110.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10504 for ; Tue, 17 Nov 1998 12:48:47 -0800 (PST) (envelope-from graeme@netspace.net.au) Received: from whirlwind.netspace.net.au (whirlwind.netspace.net.au [203.10.110.70]) by scorpion.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id HAA21673; Wed, 18 Nov 1998 07:48:22 +1100 (EST) Received: from netspace.net.au (dialup-t1-153.Melbourne.netspace.net.au [210.15.250.153]) by whirlwind.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id HAA12103; Wed, 18 Nov 1998 07:47:20 +1100 (EST) Message-Id: <199811172047.HAA12103@whirlwind.netspace.net.au> Date: Wed, 18 Nov 1998 07:47:32 +1100 (EST) From: gcross@netspace.net.au Reply-To: gcross@netspace.net.au Subject: Re: Can't find java/lang/Thread? To: nate@mt.sri.com cc: freebsd-java@FreeBSD.ORG In-Reply-To: <199811171627.JAA23961@mt.sri.com> MIME-Version: 1.0 Content-Type: MULTIPART/signed; micalg=pgp-md5; protocol="application/pgp-signature"; BOUNDARY="0-1804289383-911335677=:6407" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0-1804289383-911335677=:6407 Content-Type: TEXT/plain; CHARSET=US-ASCII On 17 Nov, Nate Williams wrote: >> I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD >> 2.2.7 system and followed the installation instructions as per the >> README file. >> >> But when I run javac or appletviewer, I get: >> >> [~/source/java]$ /usr/local/jdk1.1.7/bin/javac >> Unable to initialize threads: cannot find class java/lang/Thread > > I'll bet you have another java compiler installed on your system that > has the environment screwed up. No: this is the first Java compiler to be installed on this PC. > Check for LD_LIBRARY_PATH being set > wrong, or the CLASSPATH being set wrong. Make sure to unset both of > them. Neither of them is currently set, but I still see the same problem. I wondered if classes.zip may have been corrupt, but I can view the contents (using unzip -v) without any reports of errors. I might try the previous 1.1.6 release and see if the problem still exists. Any other suggestions? Thanks Graeme -- Graeme Cross gcross@netspace.net.au --0-1804289383-911335677=:6407 Content-Type: APPLICATION/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBNlHg6clBq9Wvf+qtAQHf7QQAwEmVHu7Za0IIqzQdScSZhGQMTYS6a7xX qoICHhojXpPg3fzYeHRIe7lLEY8By++N6DYxXLNdvxUfAcNcaKMzy3Wo9oUvmqxG 1GSbcUAKhqfo4Hn6mwdOxkYZwoQJB3xC5qaVKn+ZBb8RQselUnUaa7iHbjMaV//E wW3m+SUK2HE= =7vUA -----END PGP MESSAGE----- --0-1804289383-911335677=:6407-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 12:52:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11227 for freebsd-java-outgoing; Tue, 17 Nov 1998 12:52:41 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11221 for ; Tue, 17 Nov 1998 12:52:39 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id NAA24314; Tue, 17 Nov 1998 13:52:13 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA25581; Tue, 17 Nov 1998 13:52:12 -0700 Date: Tue, 17 Nov 1998 13:52:12 -0700 Message-Id: <199811172052.NAA25581@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gcross@netspace.net.au Cc: nate@mt.sri.com, freebsd-java@FreeBSD.ORG Subject: Re: Can't find java/lang/Thread? In-Reply-To: <199811172047.HAA12103@whirlwind.netspace.net.au> References: <199811171627.JAA23961@mt.sri.com> <199811172047.HAA12103@whirlwind.netspace.net.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD > >> 2.2.7 system and followed the installation instructions as per the > >> README file. > >> > >> But when I run javac or appletviewer, I get: > >> > >> [~/source/java]$ /usr/local/jdk1.1.7/bin/javac > >> Unable to initialize threads: cannot find class java/lang/Thread > > > > I'll bet you have another java compiler installed on your system that > > has the environment screwed up. > > No: this is the first Java compiler to be installed on this PC. What is the environment variable 'JAVA_HOME' set to? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 13:04:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA13488 for freebsd-java-outgoing; Tue, 17 Nov 1998 13:04:30 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from scorpion.netspace.net.au (scorpion.netspace.net.au [203.10.110.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA13482 for ; Tue, 17 Nov 1998 13:04:25 -0800 (PST) (envelope-from graeme@netspace.net.au) Received: from whirlwind.netspace.net.au (whirlwind.netspace.net.au [203.10.110.70]) by scorpion.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id IAA22087; Wed, 18 Nov 1998 08:04:01 +1100 (EST) Received: from netspace.net.au (dialup-t1-153.Melbourne.netspace.net.au [210.15.250.153]) by whirlwind.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id IAA15158; Wed, 18 Nov 1998 08:02:58 +1100 (EST) Message-Id: <199811172102.IAA15158@whirlwind.netspace.net.au> Date: Wed, 18 Nov 1998 08:03:22 +1100 (EST) From: gcross@netspace.net.au Reply-To: gcross@netspace.net.au Subject: Re: Can't find java/lang/Thread? To: nate@mt.sri.com cc: freebsd-java@FreeBSD.ORG In-Reply-To: <199811172052.NAA25581@mt.sri.com> MIME-Version: 1.0 Content-Type: MULTIPART/signed; micalg=pgp-md5; protocol="application/pgp-signature"; BOUNDARY="0-1804289383-911336616=:6523" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0-1804289383-911336616=:6523 Content-Type: TEXT/plain; CHARSET=US-ASCII On 17 Nov, Nate Williams wrote: >> >> I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD >> >> 2.2.7 system and followed the installation instructions as per the >> >> README file. >> >> >> >> But when I run javac or appletviewer, I get: >> >> >> >> [~/source/java]$ /usr/local/jdk1.1.7/bin/javac >> >> Unable to initialize threads: cannot find class java/lang/Thread >> > >> > I'll bet you have another java compiler installed on your system that >> > has the environment screwed up. >> >> No: this is the first Java compiler to be installed on this PC. > > What is the environment variable 'JAVA_HOME' set to? > JAVA_HOME is not expressly set - my understanding was that environment variables such as that were set by the wrappers in jdk1.1.7/bin/*? I have tried setting it, and still see the same problem: [/usr/home/graeme]$ export JAVA_HOME=/usr/local/jdk1.1.7/ [/usr/home/graeme]$ javac Unable to initialize threads: cannot find class java/lang/Thread Cheers Graeme -- Graeme Cross gcross@netspace.net.au --0-1804289383-911336616=:6523 Content-Type: APPLICATION/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBNlHkoMlBq9Wvf+qtAQF0EAQAq8pyA3/TmESEy1o+dsr9QiUwBTBdIMfB +QQ6ohZIWPWIHuD/H0bO4xpqrPChk9pQDc3VczXft8lpegCem0CMY7btUAYdoM64 wfiPA6F+NYGL5d3JeF/4lYk+uhqcjgrZ+Ek6C+S6+4yHIvTDw8gdDZG8UAIV1ToC +xd1hiQrNs4= =fsye -----END PGP MESSAGE----- --0-1804289383-911336616=:6523-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 13:07:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14243 for freebsd-java-outgoing; Tue, 17 Nov 1998 13:07:49 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14210 for ; Tue, 17 Nov 1998 13:07:39 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA24426; Tue, 17 Nov 1998 14:07:12 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA25676; Tue, 17 Nov 1998 14:07:12 -0700 Date: Tue, 17 Nov 1998 14:07:12 -0700 Message-Id: <199811172107.OAA25676@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gcross@netspace.net.au Cc: nate@mt.sri.com, freebsd-java@FreeBSD.ORG Subject: Re: Can't find java/lang/Thread? In-Reply-To: <199811172102.IAA15158@whirlwind.netspace.net.au> References: <199811172052.NAA25581@mt.sri.com> <199811172102.IAA15158@whirlwind.netspace.net.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> >> I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD > >> >> 2.2.7 system and followed the installation instructions as per the > >> >> README file. > >> >> > >> >> But when I run javac or appletviewer, I get: > >> >> > >> >> [~/source/java]$ /usr/local/jdk1.1.7/bin/javac > >> >> Unable to initialize threads: cannot find class java/lang/Thread > >> > > >> > I'll bet you have another java compiler installed on your system that > >> > has the environment screwed up. > >> > >> No: this is the first Java compiler to be installed on this PC. > > > > What is the environment variable 'JAVA_HOME' set to? > > > > JAVA_HOME is not expressly set - my understanding was that environment > variables such as that were set by the wrappers in jdk1.1.7/bin/*? Hmmm, you got me. It works for me *right now* on my box since I'm 'eating my own code' and using the same binaries on my box as I distributed. You can try backing up to an earlier release, but I doubt it will change things. I have no idea why it's not working. If you want to give me an account on the box I can try and see if I can figure it out. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 18:37:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA05005 for freebsd-java-outgoing; Tue, 17 Nov 1998 18:37:39 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from scorpion.netspace.net.au (scorpion.netspace.net.au [203.10.110.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04997 for ; Tue, 17 Nov 1998 18:37:35 -0800 (PST) (envelope-from graeme@netspace.net.au) Received: from whirlwind.netspace.net.au (whirlwind.netspace.net.au [203.10.110.70]) by scorpion.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id NAA08656; Wed, 18 Nov 1998 13:37:15 +1100 (EST) Received: from netspace.net.au (dialup-t1-170.Melbourne.netspace.net.au [210.15.250.170]) by whirlwind.netspace.net.au (8.9.1/8.9.1/NS) with ESMTP id NAA21133; Wed, 18 Nov 1998 13:36:06 +1100 (EST) Message-Id: <199811180236.NAA21133@whirlwind.netspace.net.au> Date: Wed, 18 Nov 1998 13:36:34 +1100 (EST) From: gcross@netspace.net.au Reply-To: gcross@netspace.net.au Subject: Re: Can't find java/lang/Thread? To: nate@mt.sri.com cc: freebsd-java@FreeBSD.ORG In-Reply-To: <199811172107.OAA25676@mt.sri.com> MIME-Version: 1.0 Content-Type: MULTIPART/signed; micalg=pgp-md5; protocol="application/pgp-signature"; BOUNDARY="0-1804289383-911356607=:6863" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0-1804289383-911356607=:6863 Content-Type: TEXT/plain; CHARSET=US-ASCII On 17 Nov, Nate Williams wrote: >> >> >> I have installed jdk1.1.7.V98-11-5.tar.gz in /usr/local/ on a FreeBSD >> >> >> 2.2.7 system and followed the installation instructions as per the >> >> >> README file. >> >> >> >> >> >> But when I run javac or appletviewer, I get: >> >> >> >> >> >> [~/source/java]$ /usr/local/jdk1.1.7/bin/javac >> >> >> Unable to initialize threads: cannot find class java/lang/Thread >> >> > > > Hmmm, you got me. It works for me *right now* on my box since I'm > 'eating my own code' and using the same binaries on my box as I > distributed. > > You can try backing up to an earlier release, but I doubt it will change > things. I have no idea why it's not working. > > If you want to give me an account on the box I can try and see if I can > figure it out. > I would willing give you an account, Nate, but this is my home machine and it is only intermittently connected to the net via a 56k modem. I'm away for the next couple of days - when I get back, I will have another go at it: if/when I discover the cause of the problem, I will post a summary to the list. Thanks for the help so far, Graeme -- Graeme Cross gcross@netspace.net.au --0-1804289383-911356607=:6863 Content-Type: APPLICATION/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBNlIytslBq9Wvf+qtAQHUqwP/djc81f3acMYhaHfu3eUpGo1igQhm6UJZ YSBhtVMg5UJ6Lw5I1KPZoJ28Ar8uF81hkzKIWzqX2JbfRuZIJ70j31uBG7SygTK0 vsXtq/PRoD2s6RN7qfCsyQwKMgIUZoouxkEIeWw/ygOwFbPciNAszK/NunxTiSQa xz+8vhQ9f/c= =FETs -----END PGP MESSAGE----- --0-1804289383-911356607=:6863-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Nov 17 19:18:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA08509 for freebsd-java-outgoing; Tue, 17 Nov 1998 19:18:14 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from teel.info-noire.com (03.XP11-2-1.Sherbrooke.InterLinx.qc.ca [207.253.144.23]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA08504 for ; Tue, 17 Nov 1998 19:18:09 -0800 (PST) (envelope-from alex@gel.usherb.ca) Received: from localhost (alex@localhost) by teel.info-noire.com (8.8.8/8.8.8) with SMTP id WAA11444; Tue, 17 Nov 1998 22:21:25 -0500 (EST) (envelope-from alex@teel.info-noire.com) Date: Tue, 17 Nov 1998 22:21:25 -0500 (EST) From: Alex Boisvert Reply-To: boia01@gel.usherb.ca To: Gunther Schadow cc: freebsd-java@FreeBSD.ORG Subject: Re: green threads vs. native threads ... In-Reply-To: <199811132244.RAA14641@aurora.rg.iupui.edu> 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, 13 Nov 1998, Gunther Schadow wrote: [snip] > However, as it turned out, both threads are still waiting on each > other and, most of the time, the threads seem to execute sequentially > rather than parallel. [snip] > > w**********.*..*..*..*..*..*..*..*..*..w > > But look at the rest: ****************************** > *********************................................................. > ..w**************************...************************************** > .*.*.***************************************************************** > ***r.................................********************************* > r..................................................................... > ...........................................................w********** [snip] > ..........w********************************************............... > ............................. > > It seems like the two threads do no longer run in parallel. As you said, FreeBSD's JDK uses green threads. Green threads run at the user-level, not at the system-level. Which means that they don't "schedule" the same way as all the other (native) processes in your machine. With our JDK, you have to explicitly specify a 'timeslice' to make sure that your processor time is shared among each Java thread. To do this, you have to supply a command-line parameter to the VM, like this: java -ts100 YourMainClass This will give each thread 100 miliseconds of execution time before being preempted by another thread (context switch). Of course, threads can block and yield some of their allocated timeslice. Without this timeslicing concept enabled, your threads run as long as they don't block, which explains why you were seeing many dots "." and many asterisks "*" in a row. Give it a try... Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 18 15:21:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27958 for freebsd-java-outgoing; Wed, 18 Nov 1998 15:21:12 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from n-space.com.au (mail.n-space.com.au [150.101.16.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27953 for ; Wed, 18 Nov 1998 15:21:08 -0800 (PST) (envelope-from michaelg@n-space.com.au) Received: from n-space.com.au (a013.n-space.com.au [203.25.239.13]) by n-space.com.au (8.8.8/8.8.8) with ESMTP id KAA17754; Thu, 19 Nov 1998 10:24:44 +1030 Message-ID: <36535524.B541686D@n-space.com.au> Date: Thu, 19 Nov 1998 09:45:48 +1030 From: Michael Gratton Organization: n-space X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: boia01@gel.usherb.ca CC: Gunther Schadow , freebsd-java@FreeBSD.ORG Subject: Re: green threads vs. native threads ... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi guys, I came in on this thread late, so I'm not sure if this has been asked, but does the FreeBSD-Java team have any plans for a native threads VM? Alex Boisvert wrote: [snip] > As you said, FreeBSD's JDK uses green threads. Green threads run at the > user-level, not at the system-level. Which means that they don't > "schedule" the same way as all the other (native) processes in your > machine. [snip] -- Michael Gratton - michaelg@n-space.com.au Systems Administrator, N-Space - http://www.n-space.com.au/ "the number of UNIX installations has grown to 10, with more expected" -DR/KT, 1972 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 18 15:47:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02143 for freebsd-java-outgoing; Wed, 18 Nov 1998 15:47:37 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02135 for ; Wed, 18 Nov 1998 15:47:35 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA04812; Wed, 18 Nov 1998 16:46:53 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA01053; Wed, 18 Nov 1998 16:46:51 -0700 Date: Wed, 18 Nov 1998 16:46:51 -0700 Message-Id: <199811182346.QAA01053@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael Gratton Cc: boia01@gel.usherb.ca, Gunther Schadow , freebsd-java@FreeBSD.ORG Subject: Re: green threads vs. native threads ... In-Reply-To: <36535524.B541686D@n-space.com.au> References: <36535524.B541686D@n-space.com.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I came in on this thread late, so I'm not sure if this has been asked, but > does the FreeBSD-Java team have any plans for a native threads VM? You have to have native-threads in the OS before you can expect to have the JDK use them. It's kind of a moot point to ask for the JDK to use something that doesn't exist. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 18 18:04:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA21726 for freebsd-java-outgoing; Wed, 18 Nov 1998 18:04:46 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from public.bta.net.cn (public.bta.net.cn [202.96.0.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA21706; Wed, 18 Nov 1998 18:04:41 -0800 (PST) (envelope-from robinson@public.bta.net.cn) Received: (from robinson@localhost) by public.bta.net.cn (8.9.1/8.9.1) id KAA29588; Thu, 19 Nov 1998 10:02:46 +0800 (GMT) Date: Thu, 19 Nov 1998 10:02:46 +0800 (GMT) From: Michael Robinson Message-Id: <199811190202.KAA29588@public.bta.net.cn> To: michaelg@n-space.com.au, nate@mt.sri.com Subject: Re: green threads vs. native threads ... Cc: boia01@gel.usherb.ca, freebsd-java@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, gunther@aurora.rg.iupui.edu Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams writes: >> I came in on this thread late, so I'm not sure if this has been asked, but >> does the FreeBSD-Java team have any plans for a native threads VM? > >You have to have native-threads in the OS before you can expect to have >the JDK use them. It's kind of a moot point to ask for the JDK to use >something that doesn't exist. Would it be a moot point to ask for the FreeBSD kernel to support native threads? As it is, the FreeBSD Linux emulation is getting more and more broken as more and more software makes use of Linux native threads support. Once FreeBSD gets too far behind the curve in this respect, it will start to lose developer mindshare, and end up a museum piece. -Micahel Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 18 19:44:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA01436 for freebsd-java-outgoing; Wed, 18 Nov 1998 19:44:47 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from stcgate.statcan.ca (stcgate.statcan.ca [142.206.192.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA01415 for ; Wed, 18 Nov 1998 19:44:46 -0800 (PST) (envelope-from jeays@statcan.ca) Received: from stcinet (stcinet.statcan.ca [142.206.128.146]) by stcgate.statcan.ca (8.9.1/8.6.9) with SMTP id WAA21986 For ; Wed, 18 Nov 1998 22:50:12 -0500 (EST) Received: from statcan.ca by statcan.ca (SMI-8.6/SMI-SVR4) id WAA13689; Wed, 18 Nov 1998 22:47:56 -0500; sender jeays@statcan.ca Date: Wed, 18 Nov 1998 22:43:57 -0500 (EST) From: Mike Jeays X-Sender: jeays@austral To: freebsd-java@FreeBSD.ORG Subject: Window positioning in 1.1.7 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 I recently installed jdk1.1.7.V98-11-5.tar.gz, and everything I have tried so far seems OK, with two exceptions: AWT applications, and applets run with appletviewer, come up with their main window positioned incorrectly, with the top left-hand corner maybe 10 or twenty pixels above and left of the screen. This didn't happen with 1.1.5. I can move them down manually with the window-manager (fvwm2). Appletviewer does not take -geometry parameters; if it did, -g +20+20 would probably solve the problem. With this version and with earlier ones, I get many messages of the form Warning: translation table syntax error: Unknown keysym name: osfActivate Warning: ... found while parsing 'osfActivate:KeySelect()' when invoking appletviewer. Is there a way to get rid of them? I presume I am missing a configuration file of some kind? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 18 22:03:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA14713 for freebsd-java-outgoing; Wed, 18 Nov 1998 22:03:16 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14696; Wed, 18 Nov 1998 22:03:14 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id XAA07196; Wed, 18 Nov 1998 23:02:46 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id XAA02331; Wed, 18 Nov 1998 23:02:46 -0700 Date: Wed, 18 Nov 1998 23:02:46 -0700 Message-Id: <199811190602.XAA02331@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael Robinson Cc: freebsd-java@FreeBSD.ORG, freebsd-current@FreeBSD.ORG, gunther@aurora.rg.iupui.edu Subject: Re: green threads vs. native threads ... In-Reply-To: <199811190202.KAA29588@public.bta.net.cn> References: <199811190202.KAA29588@public.bta.net.cn> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Moved from -stable to -current, since -stable will never see any such move ] > >> I came in on this thread late, so I'm not sure if this has been asked, but > >> does the FreeBSD-Java team have any plans for a native threads VM? > > > >You have to have native-threads in the OS before you can expect to have > >the JDK use them. It's kind of a moot point to ask for the JDK to use > >something that doesn't exist. > > Would it be a moot point to ask for the FreeBSD kernel to support native > threads? Sure. Patches to implement them are gladly accepted. Oh, you mean forcing someone to implement threads in FreeBSD? Naw, that's not the way it's done. New features get done because someone thems to be done and does them. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Nov 18 22:06:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15117 for freebsd-java-outgoing; Wed, 18 Nov 1998 22:06:36 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15112 for ; Wed, 18 Nov 1998 22:06:34 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id XAA07232; Wed, 18 Nov 1998 23:06:06 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id XAA02361; Wed, 18 Nov 1998 23:06:06 -0700 Date: Wed, 18 Nov 1998 23:06:06 -0700 Message-Id: <199811190606.XAA02361@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Jeays Cc: freebsd-java@FreeBSD.ORG Subject: Re: Window positioning in 1.1.7 In-Reply-To: References: X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I recently installed jdk1.1.7.V98-11-5.tar.gz, and everything I have tried > so far seems OK, with two exceptions: > > AWT applications, and applets run with appletviewer, come up with their > main window positioned incorrectly, with the top left-hand corner maybe 10 > or twenty pixels above and left of the screen. This didn't happen with > 1.1.5. That's because Sun modified the code in JDK1.1.6 (which affects JDK1.1.7) and 'broke' this behavior while it fixed other behavior. This behavior is not specific to FreeBSD, but also exists on Solaris. If you can figure out how to fix this w/out breaking other functionality, feel free to dig in and send the patches. > > With this version and with earlier ones, I get many messages of the form > > Warning: translation table syntax error: Unknown keysym name: osfActivate > Warning: ... found while parsing 'osfActivate:KeySelect()' I don't see this, so it's some sort of extra config file or something. Check your .Xdefaults or see if there an X environment variable pointing to some really old config file or something. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 19 01:10:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA04765 for freebsd-java-outgoing; Thu, 19 Nov 1998 01:10:39 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from public.bta.net.cn (public.bta.net.cn [202.96.0.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA04749; Thu, 19 Nov 1998 01:10:30 -0800 (PST) (envelope-from robinson@public.bta.net.cn) Received: (from robinson@localhost) by public.bta.net.cn (8.9.1/8.9.1) id RAA01871; Thu, 19 Nov 1998 17:10:03 +0800 (GMT) Date: Thu, 19 Nov 1998 17:10:03 +0800 (GMT) From: Michael Robinson Message-Id: <199811190910.RAA01871@public.bta.net.cn> To: nate@mt.sri.com Subject: Re: green threads vs. native threads ... Cc: freebsd-current@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams writes: >> Would it be a moot point to ask for the FreeBSD kernel to support native >> threads? > >Sure. Patches to implement them are gladly accepted. Oh, you mean >forcing someone to implement threads in FreeBSD? Naw, that's not the >way it's done. New features get done because someone thems to be done >and does them. That's one way of looking at it. Here's another way of looking at it: "A good example of keeping sight of the larger picture is FreeBSD's attitude towards its Linux emulation. It's not only very important to us that FreeBSD continues to run Linux binaries effectively, it's also what we suggest to those ISVs who are coming back somewhat cautiously to this "new" Unix market and obviously want to maximize their gains while minimizing risk. We tell them to port to Linux and not FreeBSD, even though we'd certainly love to have native binaries for anything and everything, and, by telling them to port to Linux first (or at all), we are giving them the best advice on how to get access to the widest possible segment of the free software market, one which includes but is not limited to us." -Jordan Hubbard ( http://editorials.freshmeat.net/jordan980713/ ) As I mentioned in the part you cut out, Linux emulation is increasingly broken in FreeBSD as more software comes to rely on Linux native threads. If it is, in fact, "very important to us that FreeBSD continues to run Linux binaries effectively" (whoever "us" is), I would recommend to "us" that cooperating on a native threads solution be given a higher priority. Otherwise, FreeBSD will *not* be part of the free software market that developers get access to when they follow Jordan's advice. -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 19 05:52:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA02472 for freebsd-java-outgoing; Thu, 19 Nov 1998 05:52:54 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.69]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA02455; Thu, 19 Nov 1998 05:52:50 -0800 (PST) (envelope-from stephane@wanadoo.fr) Received: from aralia.wanadoo.fr [193.252.19.42] by wanadoo.fr for Paris Thu, 19 Nov 1998 14:50:09 +0100 (MET) Received: from dij2-112.abo.wanadoo.fr [193.252.150.112] by smtp.wanadoo.fr for Paris Thu, 19 Nov 1998 14:50:04 +0100 (MET) Received: (from stephane@localhost) by sequoia.mondomaineamoi.megalo (8.9.1/8.9.1) id OAA00545; Thu, 19 Nov 1998 14:46:58 +0100 (CET) (envelope-from stephane) Date: Thu, 19 Nov 1998 14:46:58 +0100 (CET) Message-Id: <199811191346.OAA00545@sequoia.mondomaineamoi.megalo> From: Stephane Legrand MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael Robinson Cc: nate@mt.sri.com, freebsd-current@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: green threads vs. native threads ... In-Reply-To: <199811190910.RAA01871@public.bta.net.cn> References: <199811190910.RAA01871@public.bta.net.cn> X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I think that someone is working on POSIX thread kernel on FreeBSD (see the following message posted on comp.arch.embedded, comp.realtime and comp.programming.literate). On the web page (http://www.cornfed.com/pk/index.html), the author says : "You need FreeBSD, Latex 2.09, and noweb to make the whole thing work. For the moment, the only support you get is this: 1.Untar the distribution using a command like tar xzvf pk.tgz 2.In the root directory of the distribution, pk, type make. 3.When the build completes, you'll have two files, pk.ps in the pk/doc directory, and os in the pk/sys/src/kern directory. pk.ps is the current documentation and os is a kernel executable image that can be booted using the FreeBSD boot sequence." -------- FORWARDED MESSAGE -------- Ok, this might sound insane but what the hell. I've started an an Open-Source POSIX Threads Kernel. I'm gonna call it Pkernel (unless this name is already taken) and the system is LGPL'd which basically means you can used it in anything you want. The only thing that has to be posted back to the net are changes to files in the official distribution. So, why am I doing this? There are several reasons: 1) I've been itching to do an open-source project. I've been using GNU and FreeBSD for years and I just sort of feel like I want to. 2) While eCos has recently been released, RTEMS is available, and uCos is out there, there are two problems associated with these systems. First, I hear lots of clamoring for POSIX compatibility. Second, these systems aren't POSIX compatible AND open-source, at least not yet. eCos may get there, don't know about RTEMS cuz it's sort of behind OAR, uCos never was and its licensing has recently changed. 3) I've been looking for a good project to do some literate programming on and this seems like a good one to try it on. Ok, for those that know about Roadrunner, here's the scoop on how this fits with that. Roadrunner is my primary thing and has a lot more function to it than Pkernel. Its what I do ``during the day'' and I'm trying to make money on it. That said, Pkernel has nothing to do with Roadrunner, its a completely different code base and is open-source, no tricks, no strings attached, and it never will. In addition, in the truest sense of an open-source project, I do this on a time-available basis. So, I've got a little something ready for folks, it close to what uCos-I had. So take a peek and have fun! The distribution is located at http://www.cornfed.com/pkernel. Later, FM -- Frank W Miller Cornfed Systems Inc www.cornfed.com -------- END OF FORWARDED MESSAGE -------- Michael Robinson writes: > Nate Williams writes: > >> Would it be a moot point to ask for the FreeBSD kernel to support native > >> threads? > > > >Sure. Patches to implement them are gladly accepted. Oh, you mean > >forcing someone to implement threads in FreeBSD? Naw, that's not the > >way it's done. New features get done because someone thems to be done > >and does them. > > That's one way of looking at it. Here's another way of looking at it: > > "A good example of keeping sight of the larger picture is FreeBSD's > attitude towards its Linux emulation. It's not only very important to > us that FreeBSD continues to run Linux binaries effectively, it's also > what we suggest to those ISVs who are coming back somewhat cautiously > to this "new" Unix market and obviously want to maximize their gains > while minimizing risk. We tell them to port to Linux and not FreeBSD, > even though we'd certainly love to have native binaries for anything > and everything, and, by telling them to port to Linux first (or at > all), we are giving them the best advice on how to get access to the > widest possible segment of the free software market, one which includes > but is not limited to us." > > -Jordan Hubbard ( http://editorials.freshmeat.net/jordan980713/ ) > > As I mentioned in the part you cut out, Linux emulation is increasingly > broken in FreeBSD as more software comes to rely on Linux native threads. > If it is, in fact, "very important to us that FreeBSD continues to run > Linux binaries effectively" (whoever "us" is), I would recommend to "us" > that cooperating on a native threads solution be given a higher priority. > > Otherwise, FreeBSD will *not* be part of the free software market that > developers get access to when they follow Jordan's advice. > > -Michael Robinson > -- Stephane.Legrand@wanadoo.fr | systeme d'exploitation FreeBSD http://perso.wanadoo.fr/stephane.legrand/ | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 19 08:27:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16055 for freebsd-java-outgoing; Thu, 19 Nov 1998 08:27:05 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA16050; Thu, 19 Nov 1998 08:27:03 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA10854; Thu, 19 Nov 1998 09:26:35 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA04855; Thu, 19 Nov 1998 09:26:34 -0700 Date: Thu, 19 Nov 1998 09:26:34 -0700 Message-Id: <199811191626.JAA04855@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael Robinson Cc: nate@mt.sri.com, freebsd-current@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: green threads vs. native threads ... In-Reply-To: <199811190910.RAA01871@public.bta.net.cn> References: <199811190910.RAA01871@public.bta.net.cn> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Nate Williams writes: > >> Would it be a moot point to ask for the FreeBSD kernel to support native > >> threads? > > > >Sure. Patches to implement them are gladly accepted. Oh, you mean > >forcing someone to implement threads in FreeBSD? Naw, that's not the > >way it's done. New features get done because someone thems to be done > >and does them. > > That's one way of looking at it. Here's another way of looking at it: > > "A good example of keeping sight of the larger picture is FreeBSD's > attitude towards its Linux emulation. [ Marketing type deleted ] That doesn't matter a whole lot if there isn't any technology added to keep the emulation up to date. It's one thing to say 'Linux emulation is important to us', it's a completely other thing to say 'we don't have sufficient BSD copyrighted technology to completely emulate all of the Linux kernel functions'. If you don't have, you don't have it. And, patches are gladly accepted. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Nov 19 08:33:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16865 for freebsd-java-outgoing; Thu, 19 Nov 1998 08:33:14 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA16860; Thu, 19 Nov 1998 08:33:11 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA10919; Thu, 19 Nov 1998 09:32:30 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA04879; Thu, 19 Nov 1998 09:32:29 -0700 Date: Thu, 19 Nov 1998 09:32:29 -0700 Message-Id: <199811191632.JAA04879@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Stephane Legrand Cc: Michael Robinson , nate@mt.sri.com, freebsd-current@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: green threads vs. native threads ... In-Reply-To: <199811191346.OAA00545@sequoia.mondomaineamoi.megalo> References: <199811190910.RAA01871@public.bta.net.cn> <199811191346.OAA00545@sequoia.mondomaineamoi.megalo> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I think that someone is working on POSIX thread kernel on FreeBSD (see > the following message posted on comp.arch.embedded, comp.realtime and > comp.programming.literate). >From what I read and what I downloaded, it appears that this is a replacement kernel that does threads, but what FreeBSD needs is threads added to it's current kernel, not a replacement kernel that removes all of it's existing functionality. This may grow into something that can be ported, but I doubt it given that it doesn't live within the constraints of the existing kernel environment. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message