From owner-freebsd-java Sun Mar 14 15: 3:39 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.kamp.net (ns.kamp.net [195.62.97.2]) by hub.freebsd.org (Postfix) with ESMTP id 9238814EEE for ; Sun, 14 Mar 1999 15:02:40 -0800 (PST) (envelope-from Joachim.Jaeckel@d.kamp.net) Received: from d.kamp.net (joe@port-37.d.kamp.de [195.62.120.229]) by ns.kamp.net (8.9.3/8.9.3) with ESMTP id AAA14303 for ; Mon, 15 Mar 1999 00:02:20 +0100 (MET) Message-ID: <36EC3F9D.C5E31645@d.kamp.net> Date: Mon, 15 Mar 1999 00:00:45 +0100 From: Joachim Jaeckel X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: java, oracle and freebsd 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, I would like to know if someone has experience in using java under FreeBSD in conjunction with an oracle database (maybe the linux-version installed on a FBSD system?)? It would be great, if someone could give me some information with such a configuration (or if such a constellation/configuration would be possible). A second question is, is it possible to use the swing classes from sun under FreeBSD in conjuction with the FreeBSD jdk-1.1.7? (I´m gathering some information, so that I could switch back to my good old FreeBSD... ) Thanks in advance, any answer would be great, -- Joachim.Jaeckel@d.kamp.net -- http://home.kamp.net/home/joachim.jaeckel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 15:13: 2 1999 Delivered-To: freebsd-java@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id B0C1214FB8 for ; Sun, 14 Mar 1999 15:11:44 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id SAA02861; Sun, 14 Mar 1999 18:10:01 -0500 (EST) Date: Sun, 14 Mar 1999 18:10:00 -0500 (EST) From: Chuck Robey To: Joachim Jaeckel Cc: freebsd-java@FreeBSD.ORG Subject: Re: java, oracle and freebsd In-Reply-To: <36EC3F9D.C5E31645@d.kamp.net> Message-ID: 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 On Mon, 15 Mar 1999, Joachim Jaeckel wrote: > Hello, > > I would like to know if someone has experience in using java under > FreeBSD in conjunction with an oracle database (maybe the linux-version > installed on a FBSD system?)? > > It would be great, if someone could give me some information with such a > configuration (or if such a constellation/configuration would be > possible). Sure is. Jdbc worked just fine in a 29 file project for database class last semester. > > A second question is, is it possible to use the swing classes from sun > under FreeBSD in conjuction with the FreeBSD jdk-1.1.7? Yes. Did that. > > (I´m gathering some information, so that I could switch back to my good > old FreeBSD... ) > > Thanks in advance, any answer would be great, > -- > Joachim.Jaeckel@d.kamp.net -- http://home.kamp.net/home/joachim.jaeckel > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 15:34:41 1999 Delivered-To: freebsd-java@freebsd.org Received: from csmd2.cs.uni-magdeburg.de (csmd2.CS.Uni-Magdeburg.De [141.44.22.2]) by hub.freebsd.org (Postfix) with ESMTP id 987C514E6D for ; Sun, 14 Mar 1999 15:34:37 -0800 (PST) (envelope-from jesse@mail.CS.Uni-Magdeburg.De) Received: from knecht.cs.uni-magdeburg.de (knecht [141.44.21.3]) by csmd2.cs.uni-magdeburg.de (8.9.1a/8.9.1) with ESMTP id AAA14176; Mon, 15 Mar 1999 00:34:17 +0100 (MET) Received: (from jesse@localhost) by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id AAA26468; Mon, 15 Mar 1999 00:34:21 +0100 (MET) From: Roland Jesse MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14060.18301.711316.341235@cs.uni-magdeburg.de> Date: Mon, 15 Mar 1999 00:34:21 +0100 (MET) To: Joachim Jaeckel Cc: freebsd-java@FreeBSD.ORG Subject: Re: java, oracle and freebsd In-Reply-To: <36EC3F9D.C5E31645@d.kamp.net> References: <36EC3F9D.C5E31645@d.kamp.net> X-Mailer: VM 6.67 under 20.4 "Emerald" XEmacs Lucid Reply-To: jesse@mail.CS.Uni-Magdeburg.De X-Pgp-Fingerprint: 5D 08 5A E3 B4 AA 68 C1 FF 67 06 29 62 DD 9A D7 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Joachim Jaeckel writes: > A second question is, is it possible to use the swing classes from sun > under FreeBSD in conjuction with the FreeBSD jdk-1.1.7? Sure, that works just fine. Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 19:13:42 1999 Delivered-To: freebsd-java@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 36E6F150C5 for ; Sun, 14 Mar 1999 19:13:05 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id VAA31960; Sun, 14 Mar 1999 21:12:45 -0600 (CST) Date: Sun, 14 Mar 1999 21:12:44 -0600 (CST) From: Steve Price To: Brian Adkins Cc: freebsd-java@freebsd.org Subject: Re: Java support In-Reply-To: <4.1.19990314213618.00aa8450@mailbox.iwaynet.net> 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 [redirected to -java] On Sun, 14 Mar 1999, Brian Adkins wrote: # Hello, # can you tell me how the FreeBSD organization feels about Java? In other # words, are you committed to supporting it on FreeBSD now and in the future? Well, I can't speak for the project, but I can speak for myself. I use Java quite a bit at my job and I intend to make sure that it works on FreeBSD. I just finished an ELF port of JDK 1.1.7 (we already have an a.out version) and am currently working on a port of JDK 1.2. The latter is going pretty slow right now, but at least I've made it over the ELF bump so it is just a matter of time. # I ask this for two reasons: # # 1) I'm evaluating operating systems to be used to host Java server # applications, and I'm looking for an alternative to NT and Solaris - both # of which currently have excellent Java support. The beauty of Java is that I do Java development seven days a week and don't use either of the platforms you mention above except to do regression tests before a release. I do *all* my development work in FreeBSD. :) # 2) I would think that a committment to Java would be *very* important to # the free UNIX organizations. Java is an incredible language to develop in # and does offer an alternative to the Wintel monopoly. You have millions of # Java programmers and many of them have been attracted to the cross-platform # capabilities of Java and are dying for a deployment platform other than NT. # # Personally I think a free OS combined with Java is an incredible # combination; however, when I read things like "this might work for you, or # it might not" on the Java port page, it makes me not want to consider # FreeBSD as a host for my server even though everything else about FreeBSD # gets me excited. Can you site some specific examples of what's troubling you. I can try it on one of about a dozen FreeBSD boxes at work to see if it indeed works. # By the way, we're not developing an internal application, we have a # vertical market app that in many cases will be installed as a complete # system (hardware, OS, app etc.). I would really like to be able to # recommend FreeBSD as the OS of choice for the turnkey systems. Great! # thanks, # # Brian Adkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 20: 5:49 1999 Delivered-To: freebsd-java@freebsd.org Received: from cafe.muraoka.info.waseda.ac.jp (cafe.muraoka.info.waseda.ac.jp [133.9.68.49]) by hub.freebsd.org (Postfix) with ESMTP id AA71114CEA for ; Sun, 14 Mar 1999 20:05:39 -0800 (PST) (envelope-from shudoh@muraoka.info.waseda.ac.jp) Received: from muraoka.info.waseda.ac.jp (shudoh@localhost [127.0.0.1]) by cafe.muraoka.info.waseda.ac.jp (8.9.1a/3.7W) with ESMTP id NAA07005 for ; Mon, 15 Mar 1999 13:04:24 +0900 Message-Id: <199903150404.NAA07005@cafe.muraoka.info.waseda.ac.jp> To: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-reply-to: Your message of "Sat, 13 Mar 1999 15:46:42 JST." <199903130646.PAA24203@cafe.muraoka.info.waseda.ac.jp> Date: Mon, 15 Mar 1999 13:04:23 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > /home/daichi(942) /usr/local/jdk1.2/bin/java > > SIGSEGV 11* segmentation violation > > stackpointer=0xefbfcec0 > > > > Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native threads): > ^^^^^^^^^^^^^^ > > "main" (TID:0x291761e0, sys_thread_t:0x81434e0, state:R, native ID:0x400) prio=5 > At least, you should use green threads instead of native > threads. Even on Linux, native threads can't work well > yet with glibc 2.1. I forgot to mention an important matter. You must disable JIT compiler. JDK 1.2 for Linux contains a JIT from Sun, but that can't work with green threads. Specify `-Djava.compiler=' with java command to disable the JIT. But still, I suppose that JDK 1.2 for Linux can't work on linux emulation of FreeBSD. If you'll go on trying that, It's desirable to watch java-linux list. The port of JDK 1.2 is still *pre*-release. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 20:56:22 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id D4A2A151EF for ; Sun, 14 Mar 1999 20:56:19 -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 VAA09046; Sun, 14 Mar 1999 21:56:01 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA28569; Sun, 14 Mar 1999 21:55:48 -0700 Date: Sun, 14 Mar 1999 21:55:48 -0700 Message-Id: <199903150455.VAA28569@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: SHUDO Kazuyuki Cc: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-Reply-To: <199903150404.NAA07005@cafe.muraoka.info.waseda.ac.jp> References: <199903130646.PAA24203@cafe.muraoka.info.waseda.ac.jp> <199903150404.NAA07005@cafe.muraoka.info.waseda.ac.jp> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > /home/daichi(942) /usr/local/jdk1.2/bin/java > > > SIGSEGV 11* segmentation violation > > > stackpointer=0xefbfcec0 > > > > > > Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native threads): > > ^^^^^^^^^^^^^^ > > > "main" (TID:0x291761e0, sys_thread_t:0x81434e0, state:R, native ID:0x400) prio=5 > > > At least, you should use green threads instead of native > > threads. Even on Linux, native threads can't work well > > yet with glibc 2.1. > > I forgot to mention an important matter. You must > disable JIT compiler. JDK 1.2 for Linux contains a JIT > from Sun, but that can't work with green threads. > Specify `-Djava.compiler=' with java command to disable > the JIT. Actually, I believe the JIT compiler is from Metroworks. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 20:58:21 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 711F514CD5 for ; Sun, 14 Mar 1999 20:58:06 -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 VAA09067; Sun, 14 Mar 1999 21:57:46 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA28595; Sun, 14 Mar 1999 21:57:33 -0700 Date: Sun, 14 Mar 1999 21:57:33 -0700 Message-Id: <199903150457.VAA28595@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Steve Price Cc: Brian Adkins , freebsd-java@FreeBSD.ORG Subject: Re: Java support In-Reply-To: References: <4.1.19990314213618.00aa8450@mailbox.iwaynet.net> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > # Hello, > # can you tell me how the FreeBSD organization feels about Java? In other > # words, are you committed to supporting it on FreeBSD now and in the future? > > Well, I can't speak for the project, but I can speak for myself. > I use Java quite a bit at my job and I intend to make sure that > it works on FreeBSD. I just finished an ELF port of JDK 1.1.7 > (we already have an a.out version) In case anyone cares, I'm hoping to merge the ELF patches in the current a.out release sometime this week or next. I just got back from a business trip and haven't had time to mess with Steve's patches. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 21: 9:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 68CD514CEA for ; Sun, 14 Mar 1999 21:09:52 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id XAA27940; Sun, 14 Mar 1999 23:09:28 -0600 (CST) Date: Sun, 14 Mar 1999 23:09:28 -0600 (CST) From: Steve Price To: Nate Williams Cc: SHUDO Kazuyuki , freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-Reply-To: <199903150455.VAA28569@mt.sri.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 Sun, 14 Mar 1999, Nate Williams wrote: # > I forgot to mention an important matter. You must # > disable JIT compiler. JDK 1.2 for Linux contains a JIT # > from Sun, but that can't work with green threads. # > Specify `-Djava.compiler=' with java command to disable # > the JIT. # # Actually, I believe the JIT compiler is from Metroworks. Here's what the readme has to say about it. http://www.blackdown.org/java-linux/rel/120/pre-v1/jdk1.2-README.linux Execution options ================= This release comes with support for both green threads and native threads. Native threads is the default choice. This version also includes a "just in time" byte code compiler (JIT) that's based on the Solaris x86 JIT, and that's turned on by default. # # # Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 22:30:18 1999 Delivered-To: freebsd-java@freebsd.org Received: from smtp.iwaynet.net (smtp.iwaynet.net [198.30.29.7]) by hub.freebsd.org (Postfix) with ESMTP id 06C2D14FDB for ; Sun, 14 Mar 1999 22:30:15 -0800 (PST) (envelope-from brian@lojic.com) Received: from daytona (overkill.Progressive-Systems.Com [209.41.220.250]) by smtp.iwaynet.net (8.9.1/8.9.1) with SMTP id BAA19010; Mon, 15 Mar 1999 01:29:13 -0500 (EST) Message-Id: <4.1.19990315011224.00abb810@mailbox.iwaynet.net> X-Sender: adkins@mailbox.iwaynet.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 15 Mar 1999 01:22:10 -0500 To: Steve Price From: Brian Adkins Subject: Re: Java support Cc: freebsd-java@freebsd.org, nate@mt.sri.com In-Reply-To: References: <4.1.19990314213618.00aa8450@mailbox.iwaynet.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 09:12 PM 3/14/99 -0600, Steve Price wrote: ># Personally I think a free OS combined with Java is an incredible ># combination; however, when I read things like "this might work for you, or ># it might not" on the Java port page, it makes me not want to consider ># FreeBSD as a host for my server even though everything else about FreeBSD ># gets me excited. > >Can you site some specific examples of what's troubling you. I can >try it on one of about a dozen FreeBSD boxes at work to see if it >indeed works. Wow! You guys sure are responsive! There isn't a specific example of what's troubling me because I haven't even installed FreeBSD yet. One of my concerns has been the time difference between when the JDK is ready on NT / Solaris and when it's ready on the free OS's as well as what "ready" means. I'm currently developing on JDK 1.2 although so far I haven't written anything that can't be run with JDK 1.1.6 and the Swing classes, so hopefully I can find some time in the next week, or so, to install FreeBSD & Java and test my app. Maybe I can help out with beta testing upcoming JDK's if things go well. Thanks again for all the responses I received so quickly. Brian Adkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 22:50: 4 1999 Delivered-To: freebsd-java@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with SMTP id 02E0615076 for ; Sun, 14 Mar 1999 22:50:00 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with esmtp (Exim 1.82 #3) id 10MQBC-0006n8-00; Sun, 14 Mar 1999 21:44:46 -0800 Date: Sun, 14 Mar 1999 21:44:46 -0800 (PST) From: Tom To: Joachim Jaeckel Cc: freebsd-java@FreeBSD.ORG Subject: Re: java, oracle and freebsd In-Reply-To: <36EC3F9D.C5E31645@d.kamp.net> 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 Mon, 15 Mar 1999, Joachim Jaeckel wrote: > I would like to know if someone has experience in using java under > FreeBSD in conjunction with an oracle database (maybe the linux-version > installed on a FBSD system?)? > > It would be great, if someone could give me some information with such a > configuration (or if such a constellation/configuration would be > possible). ... Just do it. The Oracle type IV JDBC drivers is installed and used under FreeBSD just like everywhere else. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 23:29:29 1999 Delivered-To: freebsd-java@freebsd.org Received: from cafe.muraoka.info.waseda.ac.jp (cafe.muraoka.info.waseda.ac.jp [133.9.68.49]) by hub.freebsd.org (Postfix) with ESMTP id 3AB8A1504F for ; Sun, 14 Mar 1999 23:29:26 -0800 (PST) (envelope-from shudoh@muraoka.info.waseda.ac.jp) Received: from muraoka.info.waseda.ac.jp (shudoh@localhost [127.0.0.1]) by cafe.muraoka.info.waseda.ac.jp (8.9.1a/3.7W) with ESMTP id QAA09092; Mon, 15 Mar 1999 16:28:10 +0900 Message-Id: <199903150728.QAA09092@cafe.muraoka.info.waseda.ac.jp> To: Nate Williams Cc: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-reply-to: Your message of "Sun, 14 Mar 1999 21:55:48 MST." <199903150455.VAA28569@mt.sri.com> Date: Mon, 15 Mar 1999 16:28:10 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > JDK 1.2 for Linux contains a JIT > > from Sun, but that can't work with green threads. > > Actually, I believe the JIT compiler is from Metroworks. JDK 1.2 for PowerPC/Linux contains a JIT from Metrowerks, JDK for x86/Linux contains a JIT from Sun. Both of them is provided as binary form. I guess that there has not been any porting effort of Metrowerks JIT to platforms other than PowerPC. I've asked on java-linux list and couldn't get any reply to my message which says, is there any effort to port Metrowerks JIT to platforms other than PowerPC. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Mar 14 23:51:38 1999 Delivered-To: freebsd-java@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 2D6A314F96 for ; Sun, 14 Mar 1999 23:51:32 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id CAA01891; Mon, 15 Mar 1999 02:48:42 -0500 (EST) Date: Mon, 15 Mar 1999 02:48:42 -0500 (EST) From: Chuck Robey To: Brian Adkins Cc: Steve Price , freebsd-java@FreeBSD.ORG, nate@mt.sri.com Subject: Re: Java support In-Reply-To: <4.1.19990315011224.00abb810@mailbox.iwaynet.net> 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 Mon, 15 Mar 1999, Brian Adkins wrote: > At 09:12 PM 3/14/99 -0600, Steve Price wrote: > ># Personally I think a free OS combined with Java is an incredible > ># combination; however, when I read things like "this might work for you, or > ># it might not" on the Java port page, it makes me not want to consider > ># FreeBSD as a host for my server even though everything else about FreeBSD > ># gets me excited. > > > >Can you site some specific examples of what's troubling you. I can > >try it on one of about a dozen FreeBSD boxes at work to see if it > >indeed works. > > Wow! You guys sure are responsive! > > There isn't a specific example of what's troubling me because I haven't > even installed FreeBSD yet. One of my concerns has been the time > difference between when the JDK is ready on NT / Solaris and when it's > ready on the free OS's as well as what "ready" means. I'm currently > developing on JDK 1.2 although so far I haven't written anything that can't > be run with JDK 1.1.6 and the Swing classes, so hopefully I can find some > time in the next week, or so, to install FreeBSD & Java and test my app. > Maybe I can help out with beta testing upcoming JDK's if things go well. You may want to think on that. I know of two groups that are purposely keeping their development at 1.1.7, because using the jdk from then lets you change your swing release to whatever you want (swing being a set of libs kept separate from the jdk) while in 1.2 (Java2) it's part of the jdk. It allows them to be more flexible. On top of that, there were a couple of last minute changes to the jdk in 2 that made serious slowdowns in some graphics routines. > > Thanks again for all the responses I received so quickly. > > Brian Adkins > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 15 7:49:29 1999 Delivered-To: freebsd-java@freebsd.org Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (Postfix) with ESMTP id 6E1B014F6C for ; Mon, 15 Mar 1999 07:49:26 -0800 (PST) (envelope-from gback@cs.utah.edu) Received: from sal.cs.utah.edu (sal.cs.utah.edu [155.99.195.64]) by wrath.cs.utah.edu (8.8.8/8.8.8) with ESMTP id IAA20578; Mon, 15 Mar 1999 08:49:07 -0700 (MST) From: Godmar Back Received: (from gback@localhost) by sal.cs.utah.edu (8.8.8/8.8.8) id IAA20410; Mon, 15 Mar 1999 08:49:05 -0700 (MST) Message-Id: <199903151549.IAA20410@sal.cs.utah.edu> Subject: Re: the prelease jdk1.2 for linux: problem To: shudoh@muraoka.info.waseda.ac.jp (SHUDO Kazuyuki) Date: Mon, 15 Mar 1999 08:49:04 -0700 (MST) Cc: nate@mt.sri.com, freebsd-java@FreeBSD.ORG In-Reply-To: <199903150728.QAA09092@cafe.muraoka.info.waseda.ac.jp> from "SHUDO Kazuyuki" at Mar 15, 99 04:28:10 pm X-Mailer: ELM [version 2.4 PL25] 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 > > > > JDK 1.2 for Linux contains a JIT > > > from Sun, but that can't work with green threads. > > > > Actually, I believe the JIT compiler is from Metroworks. > > JDK 1.2 for PowerPC/Linux contains a JIT from > Metrowerks, JDK for x86/Linux contains a JIT from > Sun. Both of them is provided as binary form. > When you download the sources for the 1.2 JDK under Sun's "Community License", do you still only get a binary for the JIT? - Godmar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 15 23: 1:29 1999 Delivered-To: freebsd-java@freebsd.org Received: from universe.serc.rmit.edu.au (universe.serc.rmit.edu.au [131.170.42.12]) by hub.freebsd.org (Postfix) with ESMTP id 5A9E715120 for ; Mon, 15 Mar 1999 23:00:50 -0800 (PST) (envelope-from taile@universe.serc.rmit.edu.au) Received: (from taile@localhost) by universe.serc.rmit.edu.au (8.8.5/8.8.5) id SAA04845 for freebsd-java@FreeBSD.ORG; Tue, 16 Mar 1999 18:00:30 +1100 (EST) From: Tai Le Message-Id: <199903160700.SAA04845@universe.serc.rmit.edu.au> Subject: Release of JDK1.2 To: freebsd-java@FreeBSD.ORG Date: Tue, 16 Mar 1999 18:00:30 +1100 (EST) X-Mailer: ELM [version 2.4ME+ PL31 (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 Hi all, I am very appreciate if anyone could advise the expected date for JDK1.2 release. Thanks a lot. Tai. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Mar 15 23:28:55 1999 Delivered-To: freebsd-java@freebsd.org Received: from templar.websitefactory.net (ns1.websitefactory.net [208.26.83.130]) by hub.freebsd.org (Postfix) with ESMTP id B15D7150C9 for ; Mon, 15 Mar 1999 23:28:50 -0800 (PST) (envelope-from mdintgrp@websitefactory.net) Received: from WEAVER (unknown [208.26.83.144]) by templar.websitefactory.net (Postfix) with ESMTP id CF9587C02 for ; Tue, 16 Mar 1999 02:28:31 -0500 (EST) Date: Tue, 16 Mar 1999 02:28:12 -0500 From: JW To: freebsd-java@freebsd.org Subject: ELF port of JDK. Message-ID: <2428291366.921551292@WEAVER> Originator-Info: login-id=mdintgrp; server=mail.websitefactory.net X-Mailer: Mulberry (Win32) [1.4.2, s/n U-301192] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Has there been a version of the JDK compiled in ELF format? (For 3.1 etc without compat) If there is, can you send me the URL? Thanks, - JW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 2:33:14 1999 Delivered-To: freebsd-java@freebsd.org Received: from cafe.muraoka.info.waseda.ac.jp (cafe.muraoka.info.waseda.ac.jp [133.9.68.49]) by hub.freebsd.org (Postfix) with ESMTP id D762F15187 for ; Tue, 16 Mar 1999 02:32:58 -0800 (PST) (envelope-from shudoh@muraoka.info.waseda.ac.jp) Received: from muraoka.info.waseda.ac.jp (shudoh@localhost [127.0.0.1]) by cafe.muraoka.info.waseda.ac.jp (8.9.1a/3.7W) with ESMTP id TAA22828; Tue, 16 Mar 1999 19:31:31 +0900 Message-Id: <199903161031.TAA22828@cafe.muraoka.info.waseda.ac.jp> To: Godmar Back Cc: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-reply-to: Your message of "Mon, 15 Mar 1999 08:49:04 MST." <199903151549.IAA20410@sal.cs.utah.edu> Date: Tue, 16 Mar 1999 19:31:31 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > JDK 1.2 for PowerPC/Linux contains a JIT from > > Metrowerks, JDK for x86/Linux contains a JIT from > > Sun. Both of them is provided as binary form. > > When you download the sources for the 1.2 JDK under Sun's > "Community License", do you still only get a binary for the JIT? Yes, the source distribution of JDK 1.2 doesn't contain the source of Sun JIT. On the other hand we can get the source of Metrowerks JIT by signing their license agreement. One of blackdown porting team said that Sun JIT (sunwjit) has been provided as a binary. | Message-Id: | Date: Sun, 20 Dec 1998 20:28:37 -0500 | To: java-linux@java.blackdown.org | From: "Kevin B. Hendricks" | Subject: Sun and Linux | - Sun has provided a JIT binary to Blackdown that works with x86 (the other | cpus must come up with something on their own, luckily the PPC has access | to Metrowerks JIT source) Kazuyuki SHUDO Happy Hacking! Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 5:35:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from iglou.com (iglou1.iglou.com [192.107.41.3]) by hub.freebsd.org (Postfix) with ESMTP id 3D3D7152DD for ; Tue, 16 Mar 1999 05:35:52 -0800 (PST) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.145] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.9.1/8.9.1) id 10Mu0E-0001ry-00; Tue, 16 Mar 1999 08:35:27 -0500 Content-Length: 508 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: <199903160700.SAA04845@universe.serc.rmit.edu.au> Date: Tue, 16 Mar 1999 08:35:19 -0000 (GMT) From: Patrick Gardella To: Tai Le Subject: RE: Release of JDK1.2 Cc: freebsd-java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 16-Mar-99 Tai Le wrote: > Hi all, > > I am very appreciate if anyone could advise the expected date for > JDK1.2 release. How about: "As soon as it's done." Work is being done on it, but it's no where near release yet. I'm not even sure that it builds yet, or is anywhere close! Patrick --- Patrick S. Gardella Director of Web Development The Creative Group 1-800-804-0783 ext 29 606-858-8029 (fax) http://www.cre8tivegroup.com PGP Key ID 0xEE2D47A9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 5:38: 6 1999 Delivered-To: freebsd-java@freebsd.org Received: from iglou.com (iglou4.iglou.com [192.107.41.39]) by hub.freebsd.org (Postfix) with ESMTP id C3F4D151E1 for ; Tue, 16 Mar 1999 05:38:04 -0800 (PST) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.145] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.9.1/8.9.1) id 10Mu2R-0000ID-00; Tue, 16 Mar 1999 08:37:44 -0500 Content-Length: 559 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: <2428291366.921551292@WEAVER> Date: Tue, 16 Mar 1999 08:37:36 -0000 (GMT) From: Patrick Gardella To: JW Subject: RE: ELF port of JDK. Cc: freebsd-java@FreeBSD.ORG Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 16-Mar-99 JW wrote: > Has there been a version of the JDK compiled in ELF format? (For 3.1 etc > without compat) We are testing one right now, but it's not a public test, nor publically availible. > If there is, can you send me the URL? When one is availible, it will be announced here and availible on http://www.freebsd.org/java/ Patrick --- Patrick S. Gardella Director of Web Development The Creative Group 1-800-804-0783 ext 29 606-858-8029 (fax) http://www.cre8tivegroup.com PGP Key ID 0xEE2D47A9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 6:21:39 1999 Delivered-To: freebsd-java@freebsd.org Received: from dhi.dk (gateway.dhi.dk [193.88.35.1]) by hub.freebsd.org (Postfix) with ESMTP id 9ABE015247 for ; Tue, 16 Mar 1999 06:21:27 -0800 (PST) (envelope-from fpc@dhi.dk) Received: by gateway.dhi.dk id <19717>; Tue, 16 Mar 1999 14:26:55 +0000 Message-Id: <99Mar16.142655gmt.19717@gateway.dhi.dk> Date: Tue, 16 Mar 1999 14:18:36 +0000 From: Frederico Pereira da Costa Organization: Danish Hydraulic Institute X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en Mime-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Hi ... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just subscribed this mailing list.... i am insterested in helping to port the JDK to FreeBSD. Can anyone give some directions? Thanks in advance Frederico -- Frederico Pereira da Costa Danish Hydraulic Institute Phone: +45 45 179 100 Fax: +45 45 762 567 Email: mailto:fpc@dhi.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 9: 9:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 76797151A8 for ; Tue, 16 Mar 1999 09:09:52 -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 KAA24109; Tue, 16 Mar 1999 10:09:33 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA05230; Tue, 16 Mar 1999 10:09:19 -0700 Date: Tue, 16 Mar 1999 10:09:19 -0700 Message-Id: <199903161709.KAA05230@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: JW Cc: freebsd-java@FreeBSD.ORG Subject: Re: ELF port of JDK. In-Reply-To: <2428291366.921551292@WEAVER> References: <2428291366.921551292@WEAVER> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Has there been a version of the JDK compiled in ELF format? (For 3.1 etc > without compat) Not yet, but Steve Price just provided patches that I'm just now getting to. When it's done, it will be announced on this mailing list, as well as the freebsd-announce mailing-list/newsgroup. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 9:23:28 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id D86DF1524D for ; Tue, 16 Mar 1999 09:22:36 -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 KAA24201; Tue, 16 Mar 1999 10:22:17 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA05287; Tue, 16 Mar 1999 10:22:04 -0700 Date: Tue, 16 Mar 1999 10:22:04 -0700 Message-Id: <199903161722.KAA05287@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Frederico Pereira da Costa Cc: freebsd-java@FreeBSD.ORG Subject: Re: Hi ... In-Reply-To: <99Mar16.142655gmt.19717@gateway.dhi.dk> References: <99Mar16.142655gmt.19717@gateway.dhi.dk> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > i am insterested in helping to port the JDK to FreeBSD. > > Can anyone give some directions? Sure, download the source to JDK2 and start porting. :) Seriously though, that's what needs to be done. A good starting point are the patches provided on the FreeBSD-JDK page (http://www.freebsd/org/java), and hopefully soon we'll have a newer set of patches that adds ELF support as well as a.out support to the mix. Unfortunately, these patches are only for JDK1, but hopefully most of the 'ideas' are the same in JDK2. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 10:53:43 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id B747415312 for ; Tue, 16 Mar 1999 10:52:53 -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 LAA24959; Tue, 16 Mar 1999 11:52:34 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA05728; Tue, 16 Mar 1999 11:52:20 -0700 Date: Tue, 16 Mar 1999 11:52:20 -0700 Message-Id: <199903161852.LAA05728@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: SHUDO Kazuyuki Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: jre1.1.7 core dump on FreeBSD 3.1 (intel) In-Reply-To: <199903110420.NAA03845@cafe.muraoka.info.waseda.ac.jp> References: <199903110107.SAA12226@mt.sri.com> <199903110420.NAA03845@cafe.muraoka.info.waseda.ac.jp> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > FreeBSD don't mask some floating point exceptions which > are masked on initial state of x87. Overflow(OM), > Devided by zero(ZM) and illegal operation(IM) aren't > masked. > > Does JDK for FreeBSD change these FPU exception masks > from default value? > > We can investigate the states of the masks by the > following code: > > #include > int main(int argc, char **argv) { > unsigned short cw; > __asm__("fnstcw %0" : "=m"(cw)); > printf("FPU control word: 0x%04x\n", (int)cw); > return 0; > } > > The code shows FPU control word. > On linux: 0x037f > On FreeBSD: 0x1272 For what it's worth (this jumped out while I was working on Steve Price's ELF patches to JDK1.1.7), the FPU mask in the JDK is set to 0x127f. (See javasrc/src/freebsd/java/green_threads/src/context.c). I'm not sure what Linux uses, but it may be similar. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 20: 6: 4 1999 Delivered-To: freebsd-java@freebsd.org Received: from jiyu.net (unknown [209.100.98.61]) by hub.freebsd.org (Postfix) with ESMTP id A7FCA1529B for ; Tue, 16 Mar 1999 20:05:15 -0800 (PST) (envelope-from daichi@ongs.net) Received: from localhost (ppph092.wbs.ne.jp [202.219.55.92]) by jiyu.net (8.8.5/8.8.5) with ESMTP id NAA01911 for ; Wed, 17 Mar 1999 13:04:53 +0900 To: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-Reply-To: <199903150404.NAA07005@cafe.muraoka.info.waseda.ac.jp> References: <199903130646.PAA24203@cafe.muraoka.info.waseda.ac.jp> <199903150404.NAA07005@cafe.muraoka.info.waseda.ac.jp> X-Mailer: Mew version 1.94b9 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990317130039A.daichi@ongs.net> Date: Wed, 17 Mar 1999 13:00:39 +0900 From: "Daichi T.GOTO" X-Dispatcher: imput version 990225(IM107) Lines: 45 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi :) From: SHUDO Kazuyuki Subject: Re: the prelease jdk1.2 for linux: problem Date: Mon, 15 Mar 1999 13:04:23 +0900 > I forgot to mention an important matter. You must > disable JIT compiler. JDK 1.2 for Linux contains a JIT > from Sun, but that can't work with green threads. > Specify `-Djava.compiler=' with java command to disable > the JIT. after changed result is following: /home/daichi(985) /usr/local/jdk1.2/bin/java ../../../../../src/linux/hpi/green_threads/src/dl-malloc.c:1627: malloc_extend_top: Assertion `((size_t)((char*)(((mbinptr)(&(av_[2 * (0)])))->fd) + top_size) & (pagesz - 1)) == 0' failed. Abort(core dumped) /home/daichi(986) uumm... how do I test with `-Djava.compiler=' option? /usr/local/jdk1.2/bin/java -Djava.compiler=/usr/local/jdk1.2/bin/javac ok? /home/daichi(986) /usr/local/jdk1.2/bin/java -Djava.compiler=/usr/local/jdk1.2/bin/javac ../../../../../src/linux/hpi/green_threads/src/dl-malloc.c:1627: malloc_extend_top: Assertion `((size_t)((char*)(((mbinptr)(&(av_[2 * (0)])))->fd) + top_size) & (pagesz - 1)) == 0' failed. Abort(core dumped) /home/daichi(987) the result is the same ioi. > But still, I suppose that JDK 1.2 for Linux can't work > on linux emulation of FreeBSD. yeah, me too. ---- Daichi T.GOTO (ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 20:15:24 1999 Delivered-To: freebsd-java@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id E65A1151BF for ; Tue, 16 Mar 1999 20:15:22 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id WAA12074; Tue, 16 Mar 1999 22:15:02 -0600 (CST) Date: Tue, 16 Mar 1999 22:15:01 -0600 (CST) From: Steve Price To: "Daichi T.GOTO" Cc: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-Reply-To: <19990317130039A.daichi@ongs.net> 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 Wed, 17 Mar 1999, Daichi T.GOTO wrote: # uumm... how do I test with `-Djava.compiler=' option? # /usr/local/jdk1.2/bin/java -Djava.compiler=/usr/local/jdk1.2/bin/javac # ok? No. '-Djava.comiler=tya' is a valid use if you have the TYA JIT. A JIT is usually a .so file and is usually located in a directory like '/usr/local/jdk1.2/lib/i386/green_threads/'. -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 21:15:42 1999 Delivered-To: freebsd-java@freebsd.org Received: from poboxer.pobox.com (unknown [208.149.16.38]) by hub.freebsd.org (Postfix) with ESMTP id 4DF4B15339 for ; Tue, 16 Mar 1999 21:15:31 -0800 (PST) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.3/8.9.1) id XAA56138; Tue, 16 Mar 1999 23:13:34 -0600 (CST) (envelope-from alk) From: Anthony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 16 Mar 1999 23:13:34 -0600 (CST) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: sprice@hiwaay.net Cc: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem References: <19990317130039A.daichi@ongs.net> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14063.14629.811288.172253@avalon.east> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoth Steve Price on Tue, 16 March: : : No. '-Djava.comiler=tya' is a valid use if you have the TYA JIT. : A JIT is usually a .so file and is usually located in a directory : like '/usr/local/jdk1.2/lib/i386/green_threads/'. I had read in a Sun document, although it was a propos of JAVA_COMPILER envar settings rather than -Djava.compiler= property settings, that in the future only the value NONE would be honored (i.e. disabling JIT) and that the .so-file basename-suffix semantics of various 1.1.x JDKs would not hold in the future -- i.e. 1.2.x. Do you know otherwise? I mean, has your work with the JDK 1.2 code shown that the reference platform retains the 1.1.x semantics for JAVA_COMPILER and/or -Djava.compiler=, JavaSoft's protestations notwithstanding? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 21:27:45 1999 Delivered-To: freebsd-java@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 87A7115015 for ; Tue, 16 Mar 1999 21:27:17 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id XAA22904; Tue, 16 Mar 1999 23:26:57 -0600 (CST) Date: Tue, 16 Mar 1999 23:26:57 -0600 (CST) From: Steve Price To: Anthony Kimball Cc: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-Reply-To: <14063.14629.811288.172253@avalon.east> 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, 16 Mar 1999, Anthony Kimball wrote: # Quoth Steve Price on Tue, 16 March: # : # : No. '-Djava.comiler=tya' is a valid use if you have the TYA JIT. # : A JIT is usually a .so file and is usually located in a directory # : like '/usr/local/jdk1.2/lib/i386/green_threads/'. # # I had read in a Sun document, although it was a propos of # JAVA_COMPILER envar settings rather than -Djava.compiler= # property settings, that in the future only the value NONE # would be honored (i.e. disabling JIT) and that the .so-file # basename-suffix semantics of various 1.1.x JDKs would not # hold in the future -- i.e. 1.2.x. Yes you can also use JAVA_COMPILER. I hadn't heard nor seen anything about NONE being legal but I'll check tomorrow when I get back to my copy of the sources. The .so extension is not required for a non-Un*x system which is why you don't add it to the '-Djava.compiler=...' switch. I'm pretty sure the .so extension is hear to stay for all (at least FreeBSD :) Unices for some time to come. # Do you know otherwise? I mean, has your work with the JDK 1.2 # code shown that the reference platform retains the 1.1.x # semantics for JAVA_COMPILER and/or -Djava.compiler=, JavaSoft's # protestations notwithstanding? From what I've seen so far, yes 1.2 uses the same semantics for both the env. variable and the commandline, but I could have overlooked something. I really haven't made it that far yet. I've only just begun to scratch the surface of getting something that doesn't resemble a twisted mess of broken symlinks. :) -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Mar 16 23:36:43 1999 Delivered-To: freebsd-java@freebsd.org Received: from aniwa.sky (p5-max12.wlg.ihug.co.nz [216.100.145.5]) by hub.freebsd.org (Postfix) with ESMTP id CEBEF151C9 for ; Tue, 16 Mar 1999 23:36:38 -0800 (PST) (envelope-from andrew@squiz.co.nz) Received: from aniwa.sky (localhost [127.0.0.1]) by aniwa.sky (8.9.1a/8.9.1) with ESMTP id UAA06054 for ; Wed, 17 Mar 1999 20:36:14 +1300 (NZDT) Message-Id: <199903170736.UAA06054@aniwa.sky> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-java@freebsd.org Subject: need some advice on making a port of java program. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Mar 1999 20:36:13 +1300 From: Andrew McNaughton Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. I'm working on getting a FreeBSD port of XT going - An XSL processor written in Java. I'm making a FreeBSD port for it while I'm at it. XSL is the W3C's stylesheet language for XML, currently at working draft stage. I haven't done any development with Java in the past, and this isn't really a Java project. I just want this application for command line use. Could someone a bit more familiar with Java suggest where a port of this program should put it's class files in the FreeBSD file system? I see that /usr/ports/devel/sawt puts it's class files in a .zip file in /usr/local/share/java Is this the way to proceed then? Since XT is designed likely to be run server side as part of a web server arrangement and needs to be fast, I'd rather not compress the file, but I'd welcome recomendations as to whether I should use a .jar file or perhaps the class files should be unpacked within that directory? Also, XT relies on having a SAX parser, and I've used XP from the same source. This in turn relies on the W3C SAX classes. Any thoughts on whether these should be separate ports with dependencies, or a single port? TIA Andrew McNAughton -- ----------- Andrew McNaughton andrew@squiz.co.nz http://www.newsroom.co.nz/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 1:51:25 1999 Delivered-To: freebsd-java@freebsd.org Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by hub.freebsd.org (Postfix) with SMTP id 4B6B514E43 for ; Wed, 17 Mar 1999 01:51:19 -0800 (PST) (envelope-from F.Risso@cs.ucl.ac.uk) Received: from thames.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Wed, 17 Mar 1999 09:49:56 +0000 Received: from truciolo.cs.ucl.ac.uk by thames.cs.ucl.ac.uk with SMTP (PP); Wed, 17 Mar 1999 09:49:52 +0000 Received: by localhost with Microsoft MAPI; Wed, 17 Mar 1999 09:50:52 -0000 Message-ID: <01BE705B.A4E41B20.F.Risso@cs.ucl.ac.uk> From: Fulvio Risso To: "'freebsd-java@FreeBSD.org'" Cc: "Fulvio Risso (Posta elettronica)" Subject: Native thread on JDK 1.1.7 Date: Wed, 17 Mar 1999 09:50:51 -0000 Organization: University College London X-Mailer: Posta elettronica Internet di Microsoft/MAPI - 8.0.0.4211 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 Hello. Are native thread supported on jdk 1.1.7? fulvio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 8:30:57 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 82B3714E5C for ; Wed, 17 Mar 1999 08:30:55 -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 JAA04125; Wed, 17 Mar 1999 09:30:36 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA10082; Wed, 17 Mar 1999 09:30:22 -0700 Date: Wed, 17 Mar 1999 09:30:22 -0700 Message-Id: <199903171630.JAA10082@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Fulvio Risso Cc: "'freebsd-java@FreeBSD.org'" Subject: Re: Native thread on JDK 1.1.7 In-Reply-To: <01BE705B.A4E41B20.F.Risso@cs.ucl.ac.uk> References: <01BE705B.A4E41B20.F.Risso@cs.ucl.ac.uk> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Are native thread supported on jdk 1.1.7? Since FreeBSD has no native threads, I can't answer that question completely. I could say 'Yes, we support native threads as well as FreeBSD does today', or I could say 'No, there is no support for native threads yet in the JDK port.' Both answers are correct, depending on your point of view. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 9: 8:55 1999 Delivered-To: freebsd-java@freebsd.org Received: from rah.star-gate.com (rah.star-gate.com [209.249.129.138]) by hub.freebsd.org (Postfix) with ESMTP id 3657B15235 for ; Wed, 17 Mar 1999 09:07:14 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.1/8.8.8) with ESMTP id JAA12113; Wed, 17 Mar 1999 09:06:16 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199903171706.JAA12113@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Nate Williams Cc: Fulvio Risso , "'freebsd-java@FreeBSD.org'" Subject: Re: Native thread on JDK 1.1.7 In-reply-to: Your message of "Wed, 17 Mar 1999 09:30:22 MST." <199903171630.JAA10082@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Mar 1999 09:06:15 -0800 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org We do support kernel threads and they are virtually the same as the linux threads. Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 9:13:46 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id E560514C46 for ; Wed, 17 Mar 1999 09:13:44 -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 KAA04479; Wed, 17 Mar 1999 10:12:21 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA10340; Wed, 17 Mar 1999 10:12:07 -0700 Date: Wed, 17 Mar 1999 10:12:07 -0700 Message-Id: <199903171712.KAA10340@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty Cc: Nate Williams , Fulvio Risso , "'freebsd-java@FreeBSD.org'" Subject: Re: Native thread on JDK 1.1.7 In-Reply-To: <199903171706.JAA12113@rah.star-gate.com> References: <199903171630.JAA10082@mt.sri.com> <199903171706.JAA12113@rah.star-gate.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > We do support kernel threads and they are virtually the same as the linux > threads. Not quite. We support *LINUX* threads in emulation mode with a GPL add-on package, but we don't have native kernel threads in a form usable by native FreeBSD software. (And I don't consider using the GPL code a requirement to use the JDK 'usable'.) Besides, using green threads almost always outperforms native threads on single processor boxes, even on server's with the existing green-threads implemention. (This has been my experience on both FreeBSD and Solaris, although I can't give you any benchmark numbers to prove it since my application is not a benchmark.) Also, it appears that getting kernel threads and a JIT working is difficult, as noted by the Linux JDK2 port. IMO, native threads is over-rated for most applications. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 9:29:13 1999 Delivered-To: freebsd-java@freebsd.org Received: from vip.consys.com (VIP.ConSys.COM [209.141.107.6]) by hub.freebsd.org (Postfix) with ESMTP id 7AD4014FAA for ; Wed, 17 Mar 1999 09:29:05 -0800 (PST) (envelope-from rcarter@pinyon.org) Received: (from pinyon@localhost) by vip.consys.com (8.9.3/8.9.1) id KAA37111; Wed, 17 Mar 1999 10:28:40 -0700 (MST) Date: Wed, 17 Mar 1999 10:28:40 -0700 (MST) From: "Russell L. Carter" Message-Id: <199903171728.KAA37111@vip.consys.com> To: F.Risso@cs.ucl.ac.uk, nate@mt.sri.com Subject: Re: Native thread on JDK 1.1.7 Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <199903171630.JAA10082@mt.sri.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org |> Are native thread supported on jdk 1.1.7? | |Since FreeBSD has no native threads, I can't answer that question |completely. | |I could say 'Yes, we support native threads as well as FreeBSD does |today', or I could say 'No, there is no support for native threads yet |in the JDK port.' | |Both answers are correct, depending on your point of view. :) | The LinuxThread port (http://lt.tar.com) is looking pretty darn good since early this week. Russell | |Nate | | |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 Mar 17 9:39:28 1999 Delivered-To: freebsd-java@freebsd.org Received: from vip.consys.com (VIP.ConSys.COM [209.141.107.6]) by hub.freebsd.org (Postfix) with ESMTP id 7AE34152F6 for ; Wed, 17 Mar 1999 09:39:24 -0800 (PST) (envelope-from rcarter@pinyon.org) Received: (from pinyon@localhost) by vip.consys.com (8.9.3/8.9.1) id KAA37133; Wed, 17 Mar 1999 10:38:42 -0700 (MST) Date: Wed, 17 Mar 1999 10:38:42 -0700 (MST) From: "Russell L. Carter" Message-Id: <199903171738.KAA37133@vip.consys.com> To: hasty@rah.star-gate.com, nate@mt.sri.com Subject: Re: Native thread on JDK 1.1.7 Cc: F.Risso@cs.ucl.ac.uk, freebsd-java@FreeBSD.ORG In-Reply-To: <199903171712.KAA10340@mt.sri.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org |> We do support kernel threads and they are virtually the same as the linux |> threads. | |Not quite. We support *LINUX* threads in emulation mode with a GPL |add-on package, but we don't have native kernel threads in a form usable |by native FreeBSD software. It is a GPL'd port but it sure as hell works just fine for native FreeBSD software. I have made *enormous* progress with ACE/TAO using LinuxThreads. And if the app needs anything resembling "modern" threads, it is the only way to go. | |(And I don't consider using the GPL code a requirement to use the JDK |'usable'.) That's another matter entirely. I'd rather it wasn't either. On the other hand, I'm getting paid to make things work that require the functionality that is *only* in LinuxThreads. | |Besides, using green threads almost always outperforms native threads on |single processor boxes, even on server's with the existing green-threads |implemention. (This has been my experience on both FreeBSD and Solaris, |although I can't give you any benchmark numbers to prove it since my |application is not a benchmark.) Well, getting benchmark numbers is exactly what I'm working on this week. | |Also, it appears that getting kernel threads and a JIT working is |difficult, as noted by the Linux JDK2 port. | |IMO, native threads is over-rated for most applications. | IMO, the LinuxThreads port is the *only* option for most (modern) applications. :-) Cheers, Russell | | |Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 9:46:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from rah.star-gate.com (rah.star-gate.com [209.249.129.138]) by hub.freebsd.org (Postfix) with ESMTP id 9C7C01552F for ; Wed, 17 Mar 1999 09:45:34 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.1/8.8.8) with ESMTP id JAA12285; Wed, 17 Mar 1999 09:44:46 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199903171744.JAA12285@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Nate Williams Cc: Fulvio Risso , "'freebsd-java@FreeBSD.org'" Subject: Re: Native thread on JDK 1.1.7 In-reply-to: Your message of "Wed, 17 Mar 1999 10:12:07 MST." <199903171712.KAA10340@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Mar 1999 09:44:45 -0800 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > We do support kernel threads and they are virtually the same as the linux > > threads. > > Not quite. We support *LINUX* threads in emulation mode with a GPL > add-on package, but we don't have native kernel threads in a form usable > by native FreeBSD software. We support Linux kernel threads "natively". Post on current for further inquiries or see http://lt.tar.com. As for the blanket statement that green threads are faster than kernel threads . The current kernel thread implementation is not optimal and it needs to be improved specially in the area of locking. Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 10: 2:36 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 95DDA152AA for ; Wed, 17 Mar 1999 10:02: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 KAA04813; Wed, 17 Mar 1999 10:58:39 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA10564; Wed, 17 Mar 1999 10:58:25 -0700 Date: Wed, 17 Mar 1999 10:58:25 -0700 Message-Id: <199903171758.KAA10564@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Amancio Hasty Cc: Nate Williams , Fulvio Risso , "'freebsd-java@FreeBSD.org'" Subject: Re: Native thread on JDK 1.1.7 In-Reply-To: <199903171744.JAA12285@rah.star-gate.com> References: <199903171712.KAA10340@mt.sri.com> <199903171744.JAA12285@rah.star-gate.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>> We do support kernel threads and they are virtually the same as the >>> linux threads. > >> Not quite. We support *LINUX* threads in emulation mode with a GPL >> add-on package, but we don't have native kernel threads in a form usable >> by native FreeBSD software. > > We support Linux kernel threads "natively". Post on current for > further inquiries or see http://lt.tar.com. I mis-spoke. We support linux binaries in 'emulation' w/out any add-on package. But, in order to have the 'native' port it requires a GPL add-on, and I don't consider that acceptable. > As for the blanket statement that green threads are faster than kernel > threads . The current kernel thread implementation is not optimal and > it needs to be improved specially in the area of locking. Are you stating that the Solaris kernel threads implementation does a poor job of locking, since that's what I was doing my comparison against (Solaris green-threads vs. Solaris native-threads , since I can't compare a FreeBSD native threads implementation since one doesn't exist)? I can also state that TowerJ has found that it's 'internal' implementation of threads tends to run faster than using the native threads implementation. Finally, check out the Volano benchmark in JavaWorld. Almost all of the unix benchmarks are using 'green' threads. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 11:36:36 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (Postfix) with ESMTP id 36F2914D3F for ; Wed, 17 Mar 1999 11:36:33 -0800 (PST) (envelope-from dick@ns.tar.com) Received: (from dick@localhost) by ns.tar.com (8.9.3/8.9.3) id NAA95973; Wed, 17 Mar 1999 13:36:11 -0600 (CST) (envelope-from dick) Date: Wed, 17 Mar 1999 13:36:11 -0600 From: "Richard Seaman, Jr." To: Amancio Hasty Cc: freebsd-java@FreeBSD.ORG Subject: Re: Native thread on JDK 1.1.7 Message-ID: <19990317133610.J93781@tar.com> References: <199903171712.KAA10340@mt.sri.com> <199903171744.JAA12285@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199903171744.JAA12285@rah.star-gate.com>; from Amancio Hasty on Wed, Mar 17, 1999 at 09:44:45AM -0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 17, 1999 at 09:44:45AM -0800, Amancio Hasty wrote: > We support Linux kernel threads "natively". Post on current for further > inquiries or > see http://lt.tar.com. > > As for the blanket statement that green threads are faster than kernel threads > . The current > kernel thread implementation is not optimal and it needs to be improved > specially > in the area of locking. If "current kernel thread implementation" means the linux threads port, then three comments: 1) There were some bugs in the spinlock code that are now fixed, as of yesterday. Don't know if this is the locking problem you're referring to. 2) I agree that the linuxthreads approach in general is not "optimal", but its not terrible either (its lots faster than the FreeBSD user threads implementation on the tests I've run). 3) If you have specific suggestions for improvement for the linux threads port, I'm happy to incorporate suggestions. Of course, if your suggestion is for a true FreeBSD non-GPL kernel threads implementation, I agree, but I'm not up to it at this point :) -- Richard Seaman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 414-367-5450 Chenequa WI 53058 fax: 414-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 11:43:10 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id A34851553A for ; Wed, 17 Mar 1999 11:43:08 -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 MAA05715; Wed, 17 Mar 1999 12:42:02 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA11176; Wed, 17 Mar 1999 12:41:43 -0700 Date: Wed, 17 Mar 1999 12:41:43 -0700 Message-Id: <199903171941.MAA11176@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Russell L. Carter" Cc: hasty@rah.star-gate.com, nate@mt.sri.com, F.Risso@cs.ucl.ac.uk, freebsd-java@FreeBSD.ORG Subject: Re: Native thread on JDK 1.1.7 In-Reply-To: <199903171738.KAA37133@vip.consys.com> References: <199903171712.KAA10340@mt.sri.com> <199903171738.KAA37133@vip.consys.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Just in case anyone gets any wild ideas about a JDK port using this code. ] > |> We do support kernel threads and they are virtually the same as the linux > |> threads. > | > |Not quite. We support *LINUX* threads in emulation mode with a GPL > |add-on package, but we don't have native kernel threads in a form usable > |by native FreeBSD software. > > It is a GPL'd port but it sure as hell works just fine for native > FreeBSD software. I have made *enormous* progress with ACE/TAO > using LinuxThreads. Great! Unfortunately, you can't make any binary-only distributions using this code due to the GPL. This makes a JDK/JRE impossible due to license conflicts with the JDK license and the GPL license. (I can't make a binary-only distribution using GPL code, and I'm not allowed to divulge (sp?) the JDK sources to everyone.) I *could* make a port and distribute patches, but then only people who had access to the JDK sources could use it, which is something I consider to be unacceptable. In other words, if you use the ACE/TAO code in a product, you *must* distribute all of the sources if you plan on distributing it, even to other developers. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 11:57:39 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id A279215391 for ; Wed, 17 Mar 1999 11:57:36 -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 MAA05882; Wed, 17 Mar 1999 12:57:10 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA11392; Wed, 17 Mar 1999 12:56:55 -0700 Date: Wed, 17 Mar 1999 12:56:55 -0700 Message-Id: <199903171956.MAA11392@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Nate Williams Cc: "Russell L. Carter" , hasty@rah.star-gate.com, nate@mt.sri.com, F.Risso@cs.ucl.ac.uk, freebsd-java@FreeBSD.ORG Subject: Re: Native thread on JDK 1.1.7 In-Reply-To: <199903171941.MAA11176@mt.sri.com> References: <199903171712.KAA10340@mt.sri.com> <199903171738.KAA37133@vip.consys.com> <199903171941.MAA11176@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > [ Just in case anyone gets any wild ideas about a JDK port using this code. ] > > > |> We do support kernel threads and they are virtually the same as the linux > > |> threads. > > | > > |Not quite. We support *LINUX* threads in emulation mode with a GPL > > |add-on package, but we don't have native kernel threads in a form usable > > |by native FreeBSD software. > > > > It is a GPL'd port but it sure as hell works just fine for native > > FreeBSD software. I have made *enormous* progress with ACE/TAO > > using LinuxThreads. > > Great! Unfortunately, you can't make any binary-only distributions > using this code due to the GPL. This makes a JDK/JRE impossible due to > license conflicts with the JDK license and the GPL license. Whoops, turns out I was confused. The license is not the GPL, but the LGPL, which means that binary distributions are now usable, as long as you distribute the source to the threads package. In other words, the license is *NOT* in conflict with Sun's JDK license, although it not optimal either since the linuxthreads portions will never be a mandatory part of FreeBSD. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Mar 17 23:31:58 1999 Delivered-To: freebsd-java@freebsd.org Received: from poboxer.pobox.com (unknown [208.149.16.39]) by hub.freebsd.org (Postfix) with ESMTP id CB54614D61 for ; Wed, 17 Mar 1999 23:31:34 -0800 (PST) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.3/8.9.1) id BAA62323; Thu, 18 Mar 1999 01:29:01 -0600 (CST) (envelope-from alk) From: Anthony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 18 Mar 1999 01:28:58 -0600 (CST) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: andrew@squiz.co.nz Cc: freebsd-java@FreeBSD.ORG Subject: need some advice on making a port of java program. References: <199903170736.UAA06054@aniwa.sky> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14064.43753.602531.263436@avalon.east> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoth Andrew McNaughton on Wed, 17 March: : /usr/local/share/java Is this the way to proceed then? Yes. : to whether I should use a .jar file or perhaps the class files should be : unpacked within that directory? .jar : these should be separate ports with dependencies, or a single port? separate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 18 2:23:56 1999 Delivered-To: freebsd-java@freebsd.org Received: from aniwa.sky (p40-max5.wlg.ihug.co.nz [202.49.241.40]) by hub.freebsd.org (Postfix) with ESMTP id E00BC1539D for ; Thu, 18 Mar 1999 02:23:27 -0800 (PST) (envelope-from andrew@squiz.co.nz) Received: from aniwa.sky (localhost [127.0.0.1]) by aniwa.sky (8.9.1a/8.9.1) with ESMTP id XAA21324; Thu, 18 Mar 1999 23:22:44 +1300 (NZDT) Message-Id: <199903181022.XAA21324@aniwa.sky> X-Mailer: exmh version 2.0.2 2/24/98 To: alk@pobox.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: need some advice on making a port of java program. In-reply-to: Your message of "Thu, 18 Mar 1999 01:28:58 MDT." <14064.43753.602531.263436@avalon.east> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Mar 1999 23:22:43 +1300 From: Andrew McNaughton Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -- ----------- Andrew McNaughton andrew@squiz.co.nz http://www.newsroom.co.nz/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Mar 18 3:18:30 1999 Delivered-To: freebsd-java@freebsd.org Received: from jiyu.net (unknown [209.100.98.61]) by hub.freebsd.org (Postfix) with ESMTP id A2C7E15404 for ; Thu, 18 Mar 1999 03:18:28 -0800 (PST) (envelope-from daichi@ongs.net) Received: from localhost (ppph067.wbs.ne.jp [202.219.55.67]) by jiyu.net (8.8.5/8.8.5) with ESMTP id UAA12073 for ; Thu, 18 Mar 1999 20:18:12 +0900 To: freebsd-java@FreeBSD.ORG Subject: Re: the prelease jdk1.2 for linux: problem In-Reply-To: References: <19990317130039A.daichi@ongs.net> X-Mailer: Mew version 1.94b9 on XEmacs 20.4 (Emerald) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990318202017G.daichi@ongs.net> Date: Thu, 18 Mar 1999 20:20:17 +0900 From: "Daichi T.GOTO" X-Dispatcher: imput version 990225(IM107) Lines: 27 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: Steve Price Subject: Re: the prelease jdk1.2 for linux: problem Date: Tue, 16 Mar 1999 22:15:01 -0600 (CST) > # uumm... how do I test with `-Djava.compiler=' option? > # /usr/local/jdk1.2/bin/java -Djava.compiler=/usr/local/jdk1.2/bin/javac > # ok? > > No. '-Djava.comiler=tya' is a valid use if you have the TYA JIT. > A JIT is usually a .so file and is usually located in a directory > like '/usr/local/jdk1.2/lib/i386/green_threads/'. I have no JIT compiler... the error message is about file of ../../../../../src/linux/hpi/green_threads/src/dl-malloc.c the prerelease jdk1.2(for linux) will use the green_threads of linux? so... I think... the prelease jdk1.2(for linux) couldn't run on other linux platform as the same as FreeBSD. but, javac program can run on freebsd, and the created code can run under jdk1.1.6 java program. ---- Daichi T.GOTO (ONGS) http://www.ongs.net/daichi, daichi@ongs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 20 19:56:32 1999 Delivered-To: freebsd-java@freebsd.org Received: from zeprod.MorningStar.Com (zeprod.MorningStar.Com [137.175.23.10]) by hub.freebsd.org (Postfix) with ESMTP id 5D51415142 for ; Sat, 20 Mar 1999 19:56:28 -0800 (PST) (envelope-from brian@lojic.com) Received: from daytona (overkill.Progressive-Systems.Com [209.41.220.250]) by zeprod.MorningStar.Com (8.8.5/8.8.5) with SMTP id WAA26063 for ; Sat, 20 Mar 1999 22:54:51 -0500 Message-Id: <4.1.19990320225338.0144ace0@mailbox.iwaynet.net> X-Sender: adkins@mailbox.iwaynet.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sat, 20 Mar 1999 22:56:05 -0500 To: freebsd-java@freebsd.org From: Brian Adkins Subject: Blackdown finished JDK 1.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ok, Blackdown just finished JDK 1.2 for that other operating system. http://www.blackdown.org/java-linux/jck-status.html So, will the FreeBSD JDK 1.2 be far behind? I'd be glad to help out any way I can - beta testing etc. Brian Adkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Mar 20 21:12:16 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id EB1B814BE0 for ; Sat, 20 Mar 1999 21:12: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 WAA12047; Sat, 20 Mar 1999 22:11:55 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA05253; Sat, 20 Mar 1999 22:11:55 -0700 Date: Sat, 20 Mar 1999 22:11:55 -0700 Message-Id: <199903210511.WAA05253@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brian Adkins Cc: freebsd-java@FreeBSD.ORG Subject: Re: Blackdown finished JDK 1.2 In-Reply-To: <4.1.19990320225338.0144ace0@mailbox.iwaynet.net> References: <4.1.19990320225338.0144ace0@mailbox.iwaynet.net> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Ok, Blackdown just finished JDK 1.2 for that other operating system. Last I spoke with Steve (yesterday), it wouldn't go final for at least a week, maybe more. > So, will the FreeBSD JDK 1.2 be far behind? I'd be glad to help out any > way I can - beta testing etc. It's not even close to beta testing. I'm hoping that the Linux diffs (when they are made) will certainly help out. When we have something to test, we'll announce it here. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message