From owner-freebsd-java Sun Feb 21 22:55:45 1999 Delivered-To: freebsd-java@freebsd.org Received: from picasso.wcape.school.za (picasso.wcape.school.za [196.21.102.12]) by hub.freebsd.org (Postfix) with ESMTP id 4C16010EA4 for ; Sun, 21 Feb 1999 22:55:30 -0800 (PST) (envelope-from pvh@leftside.wcape.school.za) Received: from uucp by picasso.wcape.school.za with local-rmail (Exim 2.05 #1) id 10EpH3-0002wi-00 for freebsd-java@freebsd.org; Mon, 22 Feb 1999 08:55:25 +0200 Received: from localhost (pvh@localhost) by leftside.wcape.school.za (8.9.3/8.9.2) with SMTP id LAA01570 for ; Sun, 21 Feb 1999 11:50:56 +0200 (SAST) (envelope-from pvh@leftside.wcape.school.za) Date: Sun, 21 Feb 1999 11:50:56 +0200 (SAST) From: Peter van Heusden To: freebsd-java@freebsd.org Subject: JITs for FreeBSD (was Re: somewhat new to java questions) In-Reply-To: <199902200505.WAA22643@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 Fri, 19 Feb 1999, Nate Williams wrote: > > See the FreeBSD java WWW page for a couple of JITs. ShuJIT appears to > work quite well. As does TYA, with the patch posted to this list. I've used TYA with a number of apps (Argo/UML and NetBeans, for example) with good results. So JITs don't seem to be a problem at the moment - its just a pity the Java 1.2 HotSpot compiler looks like it will remain proprietary. The concepts behind HotSpot seem very interesting. Peter -- Peter van Heusden | Its the 90's, and collective action is STILL cool! pvh@leftside.wcape.school.za | Get active in your union today! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Feb 21 23:14: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 D1CCD10E84 for ; Sun, 21 Feb 1999 23:14:25 -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 QAA04036; Mon, 22 Feb 1999 16:12:15 +0900 Message-Id: <199902220712.QAA04036@cafe.muraoka.info.waseda.ac.jp> To: Peter van Heusden Cc: freebsd-java@freebsd.org Subject: Re: JITs for FreeBSD (was Re: somewhat new to java questions) In-reply-to: Your message of "Sun, 21 Feb 1999 11:50:56 +0200." Date: Mon, 22 Feb 1999 16:12:15 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Peter van Heusden wrote: > So JITs don't seem to be a problem at the moment - its just a pity the > Java 1.2 HotSpot compiler looks like it will remain proprietary. The > concepts behind HotSpot seem very interesting. I understand that HotSpot is the name Sun calls some techniques. Adaptive compilation which is one of elements of HotSpot can be implemented by someone other than Sun. It may have been already implemented in JITs by Symantec or Microsoft. I don't know whether HotSpot includes some patents or not. It might include patents Sun bought from HP, I can't remember accurately. 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 Feb 21 23:47: 5 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 819D810EF9 for ; Sun, 21 Feb 1999 23:47:03 -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 XAA15616; Sun, 21 Feb 1999 23:45:25 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199902220745.XAA15616@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter van Heusden Cc: freebsd-java@FreeBSD.ORG Subject: Re: JITs for FreeBSD (was Re: somewhat new to java questions) In-reply-to: Your message of "Sun, 21 Feb 1999 11:50:56 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Feb 1999 23:45:24 -0800 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The concepts of HotSpot are interesting however http://www.mozilla.org/projects /ef looks extremely interesting . The EF compiles down the Java classes to machine instructions and then it executes the compiled classes 8) There is a little work left to finish up the "port" of EF if anyone is interested and you know C++ as well gcc-2.8.1 very well send me a note. Currently, I am having problems with the proper handling of C++ exceptions on gcc-2.8.1, the stock gcc fails to compile EF. Cheers, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 0:53:47 1999 Delivered-To: freebsd-java@freebsd.org Received: from force.stwing.upenn.edu (FORCE.STWING.UPENN.EDU [130.91.120.95]) by hub.freebsd.org (Postfix) with ESMTP id 8733A10F92; Mon, 22 Feb 1999 00:53:45 -0800 (PST) (envelope-from kaplanj@force.stwing.upenn.edu) Received: from localhost (kaplanj@localhost) by force.stwing.upenn.edu (8.8.8/STWing/8.8.8) with ESMTP id DAA28770; Mon, 22 Feb 1999 03:53:44 -0500 (EST) Date: Mon, 22 Feb 1999 03:53:44 -0500 (EST) From: Jonathan Kaplan To: freebsd-java@freebsd.org, java-port@freebsd.org Subject: jni problem in FreeBSD 3.0 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 am trying to use the Java Native interface with FreeBSD 3.0 and jdk-1.1.7. The error I get is "bad magic number", which makes sense because everything but java in 3.0 is ELF. So my question is: 1) Is there an easy way to build compatible libraries with the standard 3.0 installation (a switch to ld or something)? I have toyed with building a cross-compiling gcc, but AFAIK that involves building the support libraries I rely on (SSLeay in particular) as a.out, and so on, which is difficult. 2) If not, is there an ELF version of the JDK without awt? (since, as I understand, Motif is the big sticking point in an ELF version) I have also tried the Linux emulator, but it dies with "Bad System Call" during a call to ServerSocket.accept() (which I assume is unrelated to native stuff). If anyone has succeded in using JNI under 3.0, and has a Makefile or something, it would be great. Thanks in advance, -Jon __________________________________________________________________________ Jonathan Kaplan kaplanj@stwing.upenn.edu Computer Science '00 Quadramics Chair University of Pennsylvania SwitchWare Project "It's not so bad being trendy, everyone who looks like me is my friend" -Reel Big Fish http://www.stwing.upenn.edu/~kaplanj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 1: 7:12 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 397F710E84; Mon, 22 Feb 1999 01:07:09 -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 BAA24873; Mon, 22 Feb 1999 01:06:04 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199902220906.BAA24873@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Jonathan Kaplan Cc: freebsd-java@FreeBSD.org, java-port@FreeBSD.org Subject: Re: jni problem in FreeBSD 3.0 In-reply-to: Your message of "Mon, 22 Feb 1999 03:53:44 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Feb 1999 01:06:03 -0800 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Try setting : setenv OBJFORMAT aout rebuild your library and your jni interface should work. Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 3:47:55 1999 Delivered-To: freebsd-java@freebsd.org Received: from fgw.netvalue.fr (fgw.netvalue.fr [194.2.38.194]) by hub.freebsd.org (Postfix) with ESMTP id B756F10E6A for ; Mon, 22 Feb 1999 03:47:44 -0800 (PST) (envelope-from erwan@netvalue.fr) Received: by fgw.netvalue.fr; id NAA00892; Mon, 22 Feb 1999 13:01:37 +0100 (CET) Received: from etoile.netvalue.fr(192.168.1.11) by fgw.netvalue.fr via smap (3.0) id xma000882; Mon, 22 Feb 99 13:01:28 +0100 Received: from netvalue.fr ([192.168.1.100]) by etoile.netvalue.fr (Netscape Messaging Server 3.5) with ESMTP id AAA5F2A; Mon, 22 Feb 1999 12:46:50 +0100 Message-ID: <36D143B3.C3432089@netvalue.fr> Date: Mon, 22 Feb 1999 12:46:59 +0100 From: Erwan Arzur Organization: NetValue S.A. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Nate Williams Cc: Mike Jeays , freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> <199902200241.TAA22415@mt.sri.com> <36CE39E4.7221ED5F@statcan.ca> <199902200505.WAA22643@mt.sri.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: > See the FreeBSD java WWW page for a couple of JITs. ShuJIT appears to > work quite well. > Hi ! Have you been able to make it behave correctly under 4.0-CURRENT ? I've tailored the Makefiles to make them generate aout libraries that the current FreeBSD JVM should be able to load, but even the simpliest "hello, world" program fails miserably, there is some kind of infinite loop somewhere, which i could not track due to lack of time :-( ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 4: 4:38 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 7FA3710EF9 for ; Mon, 22 Feb 1999 04:04:34 -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 VAA06978; Mon, 22 Feb 1999 21:03:54 +0900 Message-Id: <199902221203.VAA06978@cafe.muraoka.info.waseda.ac.jp> To: Erwan Arzur Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions In-reply-to: Your message of "Mon, 22 Feb 1999 12:46:59 +0100." <36D143B3.C3432089@netvalue.fr> Date: Mon, 22 Feb 1999 21:03:53 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > See the FreeBSD java WWW page for a couple of JITs. ShuJIT appears to > > work quite well. > Have you been able to make it behave correctly under 4.0-CURRENT ? > > I've tailored the Makefiles to make them generate aout libraries that the > current FreeBSD JVM should be able to load, but even the simpliest "hello, > world" program fails miserably, there is some kind of infinite loop somewhere, > which i could not track due to lack of time :-( Have you ever tried with a binary distribution (shujit-*-bin-freebsd.tar.gz)? Which C compiler did you use to compile shuJIT? gcc 2.7? egcs? If you used gcc 2.7, did you see and edit `CC_VER =' line in def.mk? I've only confirmed work of shuJIT which compiled by gcc 2.7.2.1. 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 Mon Feb 22 5:41:57 1999 Delivered-To: freebsd-java@freebsd.org Received: from fgw.netvalue.fr (fgw.netvalue.fr [194.2.38.194]) by hub.freebsd.org (Postfix) with ESMTP id 9AA7311A43 for ; Mon, 22 Feb 1999 05:41:13 -0800 (PST) (envelope-from erwan@netvalue.fr) Received: by fgw.netvalue.fr; id OAA02020; Mon, 22 Feb 1999 14:55:07 +0100 (CET) Received: from etoile.netvalue.fr(192.168.1.11) by fgw.netvalue.fr via smap (3.0) id xma002004; Mon, 22 Feb 99 14:54:47 +0100 Received: from netvalue.fr ([192.168.1.100]) by etoile.netvalue.fr (Netscape Messaging Server 3.5) with ESMTP id AAA608B; Mon, 22 Feb 1999 14:40:08 +0100 Message-ID: <36D15E3B.3FBAE932@netvalue.fr> Date: Mon, 22 Feb 1999 14:40:12 +0100 From: Erwan Arzur Organization: NetValue S.A. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: SHUDO Kazuyuki Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <199902221203.VAA06978@cafe.muraoka.info.waseda.ac.jp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org SHUDO Kazuyuki wrote: > > > See the FreeBSD java WWW page for a couple of JITs. ShuJIT appears to > > > work quite well. > > > Have you been able to make it behave correctly under 4.0-CURRENT ? > > > > I've tailored the Makefiles to make them generate aout libraries that the > > current FreeBSD JVM should be able to load, but even the simpliest "hello, > > world" program fails miserably, there is some kind of infinite loop somewhere, > > which i could not track due to lack of time :-( > > Have you ever tried with a binary distribution > (shujit-*-bin-freebsd.tar.gz)? I just tried and it works, but given the new /usr/lib/aout directory, you have to create the appropriate symlinks (libc.so.3.1 -> aout/libc.so.3.1 and libm.so.2.0 -> aout/libm.so.2.0) or recompile ... I feel these symlinks are not very clean :-' > Which C compiler did you use to compile shuJIT? gcc 2.7? egcs? > If you used gcc 2.7, did you see and edit `CC_VER =' line in def.mk? It is the stock gcc compiler, distributed with -current ... I think i missed this CC_VER in def.mk :-( After compiling it, it seems that -current /usr/libexec/elf/objdump cannot handle aout object files, and i can't seem to find any other objdump for aout in my system. This is what was causing the JIT to fail ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 8:46:31 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 676B510E5F for ; Mon, 22 Feb 1999 08:46:26 -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 JAA11884; Mon, 22 Feb 1999 09:46:18 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA01799; Mon, 22 Feb 1999 09:46:11 -0700 Date: Mon, 22 Feb 1999 09:46:11 -0700 Message-Id: <199902221646.JAA01799@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Erwan Arzur Cc: Nate Williams , Mike Jeays , freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions In-Reply-To: <36D143B3.C3432089@netvalue.fr> References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> <199902200241.TAA22415@mt.sri.com> <36CE39E4.7221ED5F@statcan.ca> <199902200505.WAA22643@mt.sri.com> <36D143B3.C3432089@netvalue.fr> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > See the FreeBSD java WWW page for a couple of JITs. ShuJIT appears to > > work quite well. > > Hi ! > > Have you been able to make it behave correctly under 4.0-CURRENT ? I haven't even tried to run 3.*-stable, let alone 4.*. > I've tailored the Makefiles to make them generate aout libraries that > the current FreeBSD JVM should be able to load, but even the simpliest > "hello, world" program fails miserably, there is some kind of infinite > loop somewhere, which i could not track due to lack of time :-( Weird. There were some loader issues as of late, maybe they had something to do with it. Also, have you tried running binaries made on 2.* on 3.* to see if that works? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 8:55:53 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 1E3AB10F9D; Mon, 22 Feb 1999 08:55:42 -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 JAA11982; Mon, 22 Feb 1999 09:55:41 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA01931; Mon, 22 Feb 1999 09:55:35 -0700 Date: Mon, 22 Feb 1999 09:55:35 -0700 Message-Id: <199902221655.JAA01931@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Jonathan Kaplan Cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: jni problem in FreeBSD 3.0 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 am trying to use the Java Native interface with FreeBSD 3.0 and > jdk-1.1.7. The error I get is "bad magic number", which makes sense > because everything but java in 3.0 is ELF. So my question is: ... > > 1) Is there an easy way to build compatible libraries with the standard > 3.0 installation (a switch to ld or something)? I'd ask on -stable. > 2) If not, is there an ELF version of the JDK without awt? (since, as I > understand, Motif is the big sticking point in an ELF version) Motif is no longer a sticking point. Now it's time. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 9:10:37 1999 Delivered-To: freebsd-java@freebsd.org Received: from FNAL.FNAL.Gov (fnal.fnal.gov [131.225.9.8]) by hub.freebsd.org (Postfix) with ESMTP id B028C1103F for ; Mon, 22 Feb 1999 09:09:55 -0800 (PST) (envelope-from tez@aduxb.fnal.gov) Received: from aduxb.fnal.gov ("port 41512"@aduxb.fnal.gov) by FNAL.FNAL.GOV (PMDF V5.1-12 #3998) with ESMTP id <01J81J2BEYJ80004KQ@FNAL.FNAL.GOV> for freebsd-java@FreeBSD.ORG; Mon, 22 Feb 1999 11:09:54 -0600 CDT Received: from localhost (tez@localhost) by aduxb.fnal.gov (8.8.8+Sun/8.8.8) with SMTP id LAA19012; Mon, 22 Feb 1999 11:09:44 -0600 (CST) Date: Mon, 22 Feb 1999 11:09:43 -0600 (CST) From: Tim Zingelman Subject: Re: jni problem in FreeBSD 3.0 In-reply-to: To: Jonathan Kaplan Cc: freebsd-java@FreeBSD.ORG Reply-To: Tim Zingelman 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 am trying to use the Java Native interface with FreeBSD 3.0 and > jdk-1.1.7. The error I get is "bad magic number", which makes sense > because everything but java in 3.0 is ELF. So my question is: > > 1) Is there an easy way to build compatible libraries with the standard > 3.0 installation (a switch to ld or something)? I have toyed with > building a cross-compiling gcc, but AFAIK that involves building the > support libraries I rely on (SSLeay in particular) as a.out, and so on, > which is difficult. > Jonathan Kaplan kaplanj@stwing.upenn.edu I'm not sure if this helps, but there is a (undocumented?) -aout switch on the standard cc included in 3.0... as in: cc -shared -aout -I/usr/local/jdk1.1.7/include \ -I/usr/local/jdk1.1.7/include/freebsd Csoucefile.c -o libname.so "Tim Zingelman" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 15:31: 4 1999 Delivered-To: freebsd-java@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id 8F9E610F51 for ; Mon, 22 Feb 1999 15:30:54 -0800 (PST) (envelope-from kelly@plutotech.com) Received: from plutotech.com (tampopo.plutotech.com [206.168.67.161]) by pluto.plutotech.com (8.9.1/8.9.1) with ESMTP id QAA13739; Mon, 22 Feb 1999 16:30:50 -0700 (MST) (envelope-from kelly@plutotech.com) Message-ID: <36D1E8AA.4661E99D@plutotech.com> Date: Mon, 22 Feb 1999 16:30:50 -0700 From: Sean Kelly Organization: Pluto Technologies X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Mike Jeays Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I get the feeling that the Java Emperor has no clothes. Heh heh. > The amount of code you need to write to do almost anything > in terms of a GUI implementation in Java seems to be > much larger and harder to write and understand than in > TK/TCL. This example of a MessageBox seems quite intimidating! Possibly. I like Tcl/Tk, but it's hard to write clean code in it. Particularly troublesome are dialog boxes where the state of many widgets depend on each other. Making the connections between them is hard to codify and document in code, and nearly always relies on global variables and unusual quoting. Whereas with Java, encapsulating the behavior of customized widgets within classes with well-defined callback interfaces are just a features of the language. > Furthermore, the performance seems much worse, seen from > my perspective of FreeBSD, Java 1.1 and Swing compared with > TK/TCL 8.0. No argument there. Tcl/Tk wins easily. > And inter-platform compatibility, at least between Unix and > Windows, seems about equivalent. Yep. > What am I missing? (No, its not a troll. I am genuinely puzzled.) Object orientation. Java is a *good* object-oriented language, unlike C++. Plus, it's a lot easier to write large programs in it than in Tcl/Tk. --Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 19:28:35 1999 Delivered-To: freebsd-java@freebsd.org Received: from stcgate.statcan.ca (stcgate.statcan.ca [142.206.192.1]) by hub.freebsd.org (Postfix) with ESMTP id 659BA115A9 for ; Mon, 22 Feb 1999 19:28:06 -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 WAA11201; Mon, 22 Feb 1999 22:34:49 -0500 (EST) Received: from statcan.ca by statcan.ca (SMI-8.6/SMI-SVR4) id WAA08981; Mon, 22 Feb 1999 22:28:10 -0500; sender jeays@statcan.ca Message-ID: <36D22026.F3192407@statcan.ca> Date: Mon, 22 Feb 1999 22:27:34 -0500 From: Mike Jeays Organization: Statistics Canada X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Sean Kelly Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> <36D1E8AA.4661E99D@plutotech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sean Kelly wrote: > > > I get the feeling that the Java Emperor has no clothes. > > Heh heh. > Much snipping... > Object orientation. Java is a *good* object-oriented language, unlike > C++. Plus, it's a lot easier to write large programs in it than in > Tcl/Tk. > > --Sean Quite true. I spent some time looking at [incr TCL] (the name is very clever), which provides a very nice OO implementation that is very similar to C++ and Java. I didn't manage to get it to work on my 2.2.6 system, and will try again later this year when I can get the 3.1 CD-Rom set. I am not sure how widely [incr TCL] is used, however. -- Mike Jeays : System Development Division, Statistics Canada 14-O R.H. Coats Building, Holland Avenue, Ottawa, Ontario, K1A 0T6 Voice (613)-951-9929 FAX 951-0607 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Feb 22 22: 9:17 1999 Delivered-To: freebsd-java@freebsd.org Received: from osprey.grizzly.com (osprey.grizzly.com [209.133.20.178]) by hub.freebsd.org (Postfix) with ESMTP id 0D4A111440 for ; Mon, 22 Feb 1999 22:09:12 -0800 (PST) (envelope-from markd@Grizzly.COM) Received: (from markd@localhost) by osprey.grizzly.com (8.9.3/8.9.3) id WAA18956; Mon, 22 Feb 1999 22:08:59 -0800 (PST) Date: Mon, 22 Feb 1999 22:08:59 -0800 (PST) Message-Id: <199902230608.WAA18956@osprey.grizzly.com> X-Authentication-Warning: osprey.grizzly.com: markd set sender to markd@grizzly.com using -f From: Mark Diekhans To: jeays@statcan.ca Cc: kelly@plutotech.com, freebsd-java@FreeBSD.ORG In-reply-to: <36D22026.F3192407@statcan.ca> (message from Mike Jeays on Mon, 22 Feb 1999 22:27:34 -0500) Subject: Re: somewhat new to java questions References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> <36D1E8AA.4661E99D@plutotech.com> <36D22026.F3192407@statcan.ca> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [incr Tcl] is arguable the most widely used Tcl extension, its been used by lot of large development projects and is consistently mentioned in several papers at every Tcl conference. Its now shipped as part of the Scriptics TclPro product, so it will get even better support. It sure does address Tcl scalability problem for complex programming tasks. Mark >From: Mike Jeays >Quite true. I spent some time looking at [incr TCL] (the name is >very clever), which provides a very nice OO implementation that is >very similar to C++ and Java. I didn't manage to get it to work >on my 2.2.6 system, and will try again later this year when I >can get the 3.1 CD-Rom set. I am not sure how widely [incr TCL] is >used, >however. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 23 7: 7: 0 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 7615A10E6F for ; Tue, 23 Feb 1999 07:06:48 -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 AAA19252; Wed, 24 Feb 1999 00:06:06 +0900 Message-Id: <199902231506.AAA19252@cafe.muraoka.info.waseda.ac.jp> To: Erwan Arzur Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions In-reply-to: Your message of "Mon, 22 Feb 1999 14:40:12 +0100." <36D15E3B.3FBAE932@netvalue.fr> Date: Wed, 24 Feb 1999 00:06:05 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Erwan Arzur wrote: > > > > See the FreeBSD java WWW page for a couple of JITs. ShuJIT appears > > > > to work quite well. > > > > > Have you been able to make it behave correctly under 4.0-CURRENT ? > I just tried and it works, but given the new /usr/lib/aout directory, > you have to create the appropriate symlinks > (libc.so.3.1 -> aout/libc.so.3.1 and libm.so.2.0 -> aout/libm.so.2.0) > or recompile ... I feel these symlinks are not very clean :-' I've released shuJIT 0.2.10 some time ago. It should try to find the libraries in /usr/lib/aout/, and then /usr/lib/ if they are not found. If you are still having a problem, you can specify where libc and libm are by setting environmentl variable JAVA_COMPILER_LIBS. See LIBS_ADDDLSEG macro in compiler.h. > After compiling it, it seems that -current /usr/libexec/elf/objdump > cannot handle aout object files, and i can't seem to find any other > objdump for aout in my system. We have to install GNU binutils with the following configuration: % ./configure --enable-targets=i386-freebsd,i386-netbsd to handle a.out of FreeBSD. It's strange that binutils compiled with `--enable-targets=i386-freebsd' can't deal with a.out objects... At least, binutils which standard FreeBSD system have should be able to handle a.out. 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 Feb 23 8:25:50 1999 Delivered-To: freebsd-java@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id 3664611031 for ; Tue, 23 Feb 1999 08:25:44 -0800 (PST) (envelope-from kelly@plutotech.com) Received: from plutotech.com (tampopo.plutotech.com [206.168.67.161]) by pluto.plutotech.com (8.9.1/8.9.1) with ESMTP id JAA05554; Tue, 23 Feb 1999 09:25:39 -0700 (MST) (envelope-from kelly@plutotech.com) Message-ID: <36D2D683.1B87A611@plutotech.com> Date: Tue, 23 Feb 1999 09:25:39 -0700 From: Sean Kelly Organization: Pluto Technologies X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Mike Jeays Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> <36D1E8AA.4661E99D@plutotech.com> <36D22026.F3192407@statcan.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Quite true. I spent some time looking at [incr TCL] (the name is > very clever), which provides a very nice OO implementation that is > very similar to C++ and Java. One feature of itcl I liked was that constructors that failed wouldn't leave you with a half-initialized object. They left you with no object at all. Good stuff. > I didn't manage to get it to work > on my 2.2.6 system, and will try again later this year when I > can get the 3.1 CD-Rom set. I know it works on FreeBSD-current. Here at Pluto Technologies, we use it in our products, which run FreeBSD. > I am not sure how widely [incr TCL] is used, however. I spoke with its author, Mike McLellan, two USENIX Tcl/Tk Conferences ago: he said it's used by a fair number of private and government organizations. Even the Mars Pathfinder project used itcl to power the GUI for driving the robotic Sojourner explorer! --Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Feb 23 8:29:59 1999 Delivered-To: freebsd-java@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id E96151100A for ; Tue, 23 Feb 1999 08:29:55 -0800 (PST) (envelope-from kelly@plutotech.com) Received: from plutotech.com (tampopo.plutotech.com [206.168.67.161]) by pluto.plutotech.com (8.9.1/8.9.1) with ESMTP id JAA05664; Tue, 23 Feb 1999 09:29:51 -0700 (MST) (envelope-from kelly@plutotech.com) Message-ID: <36D2D77F.AED2B689@plutotech.com> Date: Tue, 23 Feb 1999 09:29:51 -0700 From: Sean Kelly Organization: Pluto Technologies X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Mark Diekhans Cc: freebsd-java@FreeBSD.ORG Subject: Re: somewhat new to java questions References: <36CDB479.65A0EFC6@chdev.com> <199902200138.SAA22208@mt.sri.com> <36CE170E.3F11D82D@statcan.ca> <36D1E8AA.4661E99D@plutotech.com> <36D22026.F3192407@statcan.ca> <199902230608.WAA18956@osprey.grizzly.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mark Diekhans? Of The TSIPP Tcl extension? I didn't realize you followed FreeBSD-java, much less FreeBSD itself! I enjoyed reviewing your chapter for the Tcl/Tk tools book. Take care. --Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Feb 24 17: 8:46 1999 Delivered-To: freebsd-java@freebsd.org Received: from onesimus.webtime.com.au (unknown [203.63.9.10]) by hub.freebsd.org (Postfix) with ESMTP id A32D414C89 for ; Wed, 24 Feb 1999 17:07:39 -0800 (PST) (envelope-from browland@webtime.com.au) Received: from [203.63.90.20] (buddha.macsplace.com.au [203.63.90.20]) by onesimus.webtime.com.au (8.8.8+Sun/8.8.8) with ESMTP id MAA01637; Thu, 25 Feb 1999 12:07:00 +1100 (EST) Message-Id: <199902250107.MAA01637@onesimus.webtime.com.au> X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410) Date: Thu, 25 Feb 1999 12:06:34 +1100 Subject: PM Tools on FreeBSD 2.2.7 From: "Brendon Rowland" To: portmaster-users@livingston.com Cc: freebsd-java@freebsd.org Mime-version: 1.0 X-Priority: 3 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi All, Thanks in advance. Having problems running PMTools commands - java-based commands to maintain Livingston Portmasters - on my FreeBSD Box (FreeBSD 2.2.7 on a Pentium 150MHz) Get the following error(s) whether using jdk1.1.7 or jdk1.1.6 (haven't trie= d just jre) Class not found: PMCommand =80 this happens whenever I try any pmcommand (eg pmcommand -help) Same for other commands: Class not found: PMBackup The jdk1.1.6 binaries are in my path. Echo $PATH gives: ..... :/usr/local/jdk1.1.6/bin: /usr/.... NE ideas?? Have I done somethin' wrong?? Cheers, -- Brendon Rowland (mailto: browland@webtime.com.au) National IT Manager Webtime P/L Ph: 03 9429 5888 Fax: 03 9429 3600 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 25 9:11: 8 1999 Delivered-To: freebsd-java@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 26D0914CE1 for ; Thu, 25 Feb 1999 09:10:56 -0800 (PST) (envelope-from java@ak.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id SAA09907 for java@freebsd.org; Thu, 25 Feb 1999 18:10:38 +0100 (CET) (envelope-from java@ak.sax.de) Received: (from java@localhost) by ak.sax.de (8.8.8/8.8.8) id TAA00533 for java@freebsd.org; Wed, 24 Feb 1999 19:34:17 +0100 From: Albrecht Kleine Message-Id: <199902241834.TAA00533@ak.sax.de> Subject: TYA1.2v4 released (fwd) To: java@freebsd.org Date: Wed, 24 Feb 1999 19:34:17 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL47 (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, just released the JIT compiler TYA1.2-version4 on ftp://gonzalez.cyberus.ca/pub/Linux/java/tya12v4.tgz (size is 125031 byte) Some release notes: most important are Kazuyuki Shudo's fix for better interfacing with 2.2. kernels. Thanks! And we have some minor speedup in CM3 benchmark, but not really remarkable. So but now we will look ahead to jdk1.2.....So maybe this TYA will be the last release for some time - at least for the JDK 1.1. Cheers Albrecht To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 25 15:50:13 1999 Delivered-To: freebsd-java@freebsd.org Received: from internet1.mel.cybec.com.au (internet1.mel.cybec.com.au [203.103.154.130]) by hub.freebsd.org (Postfix) with ESMTP id A4C0C14E48 for ; Thu, 25 Feb 1999 15:50:04 -0800 (PST) (envelope-from LODea@vet.com.au) Received: from vet.com.au (nt-server.mel.cybec.com.au [203.103.154.135]) by internet1.mel.cybec.com.au (post.office MTA v2.0 0813 ID# 0-14031) with ESMTP id AAA666 for ; Fri, 26 Feb 1999 10:55:03 +1100 Message-ID: <36D5E1CE.44167631@vet.com.au> Date: Fri, 26 Feb 1999 10:50:38 +1000 From: LODea@vet.com.au (Lachlan O'Dea) Organization: Computer Associates X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: New Volano Report Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MailSafe-Status: C Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was just reading the new VolanoMark results (benchmarks of JVM server-side performance) in this month's JavaWorld. FreeBSD did better than last time, although it was still the slowest of the bunch. The Linux Blackdown JDK was run with TYA, but the author didn't seem to be aware that TYA will work with FreeBSD too. With a JIT I reckon FreeBSD's results would have been similar to those of the Blackdown JDK. Also, I thought Blackdown used native threads, whereas the article says it uses green threads. An encouraging comment was: > Granted, there's no such thing as too fast, but even FreeBSD and Linux > have Java support fast enough for all but the most demanding Java server applications. I also loved this paragraph: > Unlike Java support for applets on the client side (where two virtual > machines -- those provided by Microsoft and Netscape in their > respective Web browsers -- dominate), the leaders in Java on the server > side change monthly. Nowhere is that more apparent than for > Intel-based systems, which provide dozens of Java VM alternatives. > Volano customers can and do switch overnight from one Java virtual > machine to another -- or even from one operating system to another -- > in order to gain the best performance or network scalability from their > Java applications In other words, Microsoft's worst nightmare :-) http://www.javaworld.com/javaworld/jw-03-1999/jw-03-volanomark.html -- Lachlan O'Dea Computer Associates Pty Ltd Webmaster Vet - Anti-Virus Software To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Feb 25 16:17:15 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 799F314E44 for ; Thu, 25 Feb 1999 16:17: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 RAA17946; Thu, 25 Feb 1999 17:16:55 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA20100; Thu, 25 Feb 1999 17:16:47 -0700 Date: Thu, 25 Feb 1999 17:16:47 -0700 Message-Id: <199902260016.RAA20100@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: LODea@vet.com.au (Lachlan O'Dea) Cc: freebsd-java@FreeBSD.ORG Subject: Re: New Volano Report In-Reply-To: <36D5E1CE.44167631@vet.com.au> References: <36D5E1CE.44167631@vet.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 was just reading the new VolanoMark results (benchmarks of JVM > server-side performance) in this month's JavaWorld. FreeBSD did better > than last time, although it was still the slowest of the bunch. > > The Linux Blackdown JDK was run with TYA, but the author didn't seem to > be aware that TYA will work with FreeBSD too. He didn't realize because it's not widely known. By the time he got around to veryifying his results, it was too late to modify them greatly. I verified the numbers after Alex mentioned it on the list, but I didn't have the correct hardware to run it with either ShuJIT or TYA-JIT. > With a JIT I reckon FreeBSD's results would have been similar to those > of the Blackdown JDK. Also, I thought Blackdown used native threads, > whereas the article says it uses green threads. The Blackdown version can be configured to use green threads or native threads. For almost every application, green threads will outperform the native threads on Linux due to the high overhead of the Linux kernel threads implementation. (Threads in Linux are quite heavy, according to the JDK Linux porting information.) Otherwise it's a good article, and the point about IBM's Java implementation being the fastest is very good for both IBM and Java. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 27 0:33: 3 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 937081508C for ; Sat, 27 Feb 1999 00:32:58 -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 AAA20564 for ; Sat, 27 Feb 1999 00:32:28 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199902270832.AAA20564@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: java@FreeBSD.ORG Subject: Netscape's Electric Fire (JAVA VM ) works on FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sat, 27 Feb 1999 00:32:27 -0800 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org For build instructions and downloading see: http://www.mozilla.org/projects/ef/unixbuild.html For technical background on EF see: http://www.mozilla.org/projects/ef/techdocs/index.html Make sure that you use egcs from the ports distribution for compiling EF = and = nsprpub. EF so far only works with jdk 2 java classes. to compile java programs I = use = "jikes" with the jdk 2 classes. EF native method implementation is incomplete and Scott Furmant the Netsc= ape = EF champion had this to say: fur@netscape.com said: > Amancio Hasty wrote: If anyone has any clues as to how to tackle > implementing the unimplemented native methods please let me know. EF > has an implementation of *some* native methods - most of java.lang, > java.lang.reflect and java.io, for example.=A0 However, my expectation > is that we will throw out a large part of the existing native methods > in favor of a 3rd-party unified runtime library that includes its own > versions of both native and Java methods. The two most obvious > suppliers for EF's runtime are the GNU Classpath effort and Sun's JDK > 1.2 (under the new community licensing policy). To the extent > possible, EF should support both libraries, but the legal requirement > to avoid tainting Classpath and ElectricalFire with Sun code may cause > problems, e.g. if a developer looks at the Sun runtime library sources > then they can't contribute to the Classpath effort. I know that Aaron > Renn of Classpath expressed some interest on integrating their code > with EF, so you might contact him: arenn@urbanophile.com -Scott = jikes Test.java = time ./sajava -nosys -classpath $CLASSPATH Test = 0.311u 0.062s 0:00.39 94.8% 43+1191k 0+0io 0pf+0w jdk1.7 time java Test = 7.590u 0.043s 0:07.88 96.8% 6+758k 0+0io 0pf+0w The benchmark is a little misleading because EF did not compile all the = java classes . =2E/sajava -classpath $CLASSPATH Test linker_path =3D /maxtor/gcsns/ef/x/mozilla/ef/dist/FreeBSD_DBG.OBJ/bin/..= /lib:/ho me/hasty:/usr/local/netscape/lib/freebsd *** NOTE: Throwing verify error: Error in reading class file: file not fo= und, = or has errors *** NOTE: Throwing verify error: Error in reading class file: file not fo= und, = or has errors Netscape_Java_java_lang_Thread_registerNatives not implemented Netscape_Java_java_security_AccessController_getStackAccessControlContext= not = implemented 3.176u 0.739s 0:05.54 70.3% 26+15786k 133+0io 24pf+0w = The warning messages are just that which only are printed when EF is comp= iled = with -DDEBUG. EF is not twice as fast the jdk for there is a fixed cost for the = compilation/linking of java classes after that it really takes off and it is quite evident per my fir= st = sajava run. In playing around with EF I found that a thread gets fired to compile/run= a = program and that that the system keeps the compiled classes in memory so that a second run= = enjoys the speed of unoptimized C code. In essence EF compiles the java program int= o = memory and it then executes it . You can actually see the code which EF generate= s by = including the "-html" in your run : sajava -html . The code for outputting x86 diassembled code comes straight from the Free= BSD = kernel . Scott did the integration I merely gave him the code . The netscape.public.mozilla.java newsgroup is open to discussions on EF.= Last but not least EF is at an early stage so it is not for the faint of = heart. Enjoy, Amancio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 27 10:17:54 1999 Delivered-To: freebsd-java@freebsd.org Received: from mtiwmhc06.worldnet.att.net (mtiwmhc06.worldnet.att.net [204.127.131.41]) by hub.freebsd.org (Postfix) with ESMTP id C0EC9150F3 for ; Sat, 27 Feb 1999 10:17:53 -0800 (PST) (envelope-from Yan.Raytselis@worldnet.att.net) Received: from yanhome ([12.78.127.48]) by mtiwmhc06.worldnet.att.net (InterMail v03.02.07 118 124) with SMTP id <19990227181734.DBIK9374@yanhome> for ; Sat, 27 Feb 1999 18:17:34 +0000 Message-ID: <000401be627d$3830aa20$307f4e0c@yanhome> From: "Yan Raytselis" To: Subject: appletviewer Date: Sat, 27 Feb 1999 13:15:09 -0500 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0005_01BE6253.33C1D060" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BE6253.33C1D060 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0006_01BE6253.33C1D060" ------=_NextPart_001_0006_01BE6253.33C1D060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I just installed Java on my x86 based 2.2.5 FreeBSD system. I assume that the problem I report is related to some misconfiguration = issues (see attached). I did "nm" on java shared libraries, but didn't find any references to = _xmDrawingAreaWidgetClass. Any suggestions/help will be greatly appreciated. Thanks, --Yan Raytselis ------=_NextPart_001_0006_01BE6253.33C1D060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I just installed Java on my x86 = based 2.2.5=20 FreeBSD system.
I assume that the problem I report = is related to=20 some misconfiguration issues (see attached).
I did = "nm" on java=20 shared libraries, but didn't find any references to=20 _xmDrawingAreaWidgetClass.
 
Any suggestions/help will be greatly = appreciated.
 
 
 
 
Thanks,
 
--Yan Raytselis
------=_NextPart_001_0006_01BE6253.33C1D060-- ------=_NextPart_000_0005_01BE6253.33C1D060 Content-Type: application/octet-stream; name="Awt.err" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Awt.err" U2NyaXB0IHN0YXJ0ZWQgb24gU2F0IEZlYiAyNyAxMjozOToxOSAxOTk5Cldhcm5pbmc6IGltcG9y dGVkIHBhdGggY29udGFpbnMgcmVsYXRpdmUgY29tcG9uZW50cw0KIyBhcHBsZXR2aWV3ZXINCi91 c3IvbGliZXhlYy9sZC5zbzogd2FybmluZzogL3Vzci9saWIvbGliYy5zby4zLjA6IG1pbm9yIHZl cnNpb24gMCBvbGRlciB0aGFuIGV4cGVjdGVkIDEsIHVzaW5nIGl0IGFueXdheQ0KL3Vzci9saWJl eGVjL2xkLnNvOiB3YXJuaW5nOiAvdXNyL2xpYi9saWJjLnNvLjMuMDogbWlub3IgdmVyc2lvbiAw IG9sZGVyIHRoYW4gZXhwZWN0ZWQgMSwgdXNpbmcgaXQgYW55d2F5DQpVbmRlZmluZWQgc3ltYm9s ICJfeG1EcmF3aW5nQXJlYVdpZGdldENsYXNzIiBpbiBqYXZhOi9vcHQvamF2YS9qZGsxLjEuNy9s aWIvaTM4Ni9ncmVlbl90aHJlYWRzL2xpYmF3dC5zbyAobGliYXd0LnNvKQ0KamF2YS5sYW5nLlVu c2F0aXNmaWVkTGlua0Vycm9yOiBubyBhd3QgaW4gc2hhcmVkIGxpYnJhcnkgcGF0aA0KCWF0IGph dmEubGFuZy5SdW50aW1lLmxvYWRMaWJyYXJ5KFJ1bnRpbWUuamF2YSkNCglhdCBqYXZhLmxhbmcu U3lzdGVtLmxvYWRMaWJyYXJ5KFN5c3RlbS5qYXZhKQ0KCWF0IA0KCWF0IGphdmEuYXd0LlRvb2xr aXQuZ2V0RGVmYXVsdFRvb2xraXQoVG9vbGtpdC5qYXZhOjM5NCkNCglhdCBzdW4uYXBwbGV0LkFw cGxldENvcHlyaWdodC48aW5pdD4oQXBwbGV0Q29weXJpZ2h0LmphdmE6MjgpDQoJYXQgc3VuLmFw cGxldC5BcHBsZXRWaWV3ZXIubWFpbkluaXQoQXBwbGV0Vmlld2VyLmphdmE6MTAzMCkNCglhdCBz dW4uYXBwbGV0LkFwcGxldFZpZXdlci5tYWluKEFwcGxldFZpZXdlci5qYXZhOjEwMzkpDQojIA0K IyBleGl0DQojIGV4aXQNCgpTY3JpcHQgZG9uZSBvbiBTYXQgRmViIDI3IDEyOjM5OjU0IDE5OTkK ------=_NextPart_000_0005_01BE6253.33C1D060-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Feb 27 14:15: 8 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 623FD1517A for ; Sat, 27 Feb 1999 14:15:05 -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 PAA07454; Sat, 27 Feb 1999 15:14:49 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA26723; Sat, 27 Feb 1999 15:14:40 -0700 Date: Sat, 27 Feb 1999 15:14:40 -0700 Message-Id: <199902272214.PAA26723@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Yan Raytselis" Cc: Subject: Re: appletviewer In-Reply-To: <000401be627d$3830aa20$307f4e0c@yanhome> References: <000401be627d$3830aa20$307f4e0c@yanhome> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I just installed Java on my x86 based 2.2.5 FreeBSD system. I assume > that the problem I report is related to some misconfiguration issues > (see attached). I did "nm" on java shared libraries, but didn't find > any references to _xmDrawingAreaWidgetClass. The appletviewer shell script has a bug in it. See either the JDK port or the freebsd-java archives for a patch on how to fix it. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message