From owner-freebsd-java Sun Sep 3 20:44: 8 2000 Delivered-To: freebsd-java@freebsd.org Received: from public.bta.net.cn (public.bta.net.cn [202.96.0.97]) by hub.freebsd.org (Postfix) with SMTP id 955B337B424 for ; Sun, 3 Sep 2000 20:44:03 -0700 (PDT) Received: from netrinsics.com([202.108.133.66]) by public.bta.net.cn(JetMail 2.5.3.0) with SMTP id jmb39b31d46; Mon, 4 Sep 2000 03:44:15 -0000 Received: (from robinson@localhost) by netrinsics.com (8.11.0/8.9.3) id e843j7S01490 for freebsd-java@freebsd.org; Mon, 4 Sep 2000 11:45:07 +0800 (+0800) (envelope-from robinson) Date: Mon, 4 Sep 2000 11:45:07 +0800 (+0800) From: Michael Robinson Message-Id: <200009040345.e843j7S01490@netrinsics.com> To: freebsd-java@freebsd.org Subject: .hotspotrc format Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Could someone with access to the code let us know what the .hotspotrc file is supposed to look like? Thanks. -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 3 21:53:45 2000 Delivered-To: freebsd-java@freebsd.org Received: from public.bta.net.cn (public.bta.net.cn [202.96.0.97]) by hub.freebsd.org (Postfix) with SMTP id 34F8F37B423 for ; Sun, 3 Sep 2000 21:53:39 -0700 (PDT) Received: from netrinsics.com([202.108.133.66]) by public.bta.net.cn(JetMail 2.5.3.0) with SMTP id jm039b32d93; Mon, 4 Sep 2000 04:53:48 -0000 Received: (from robinson@localhost) by netrinsics.com (8.11.0/8.9.3) id e844se505075 for freebsd-java@FreeBSD.ORG; Mon, 4 Sep 2000 12:54:40 +0800 (+0800) (envelope-from robinson) Date: Mon, 4 Sep 2000 12:54:40 +0800 (+0800) From: Michael Robinson Message-Id: <200009040454.e844se505075@netrinsics.com> To: freebsd-java@FreeBSD.ORG Subject: Re: .hotspotrc format In-Reply-To: <200009040345.e843j7S01490@netrinsics.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Could someone with access to the code let us know what the .hotspotrc file >is supposed to look like? Nevermind. It's supposed to look like this: +PrintVMOptions -BackgroundCompilation +UseCompilerSafepoints +UseInterpreter -UseBoundThreads -UseLWPSynchronization -UseSpinning -FasterSync -UseSpecLock -UseStackBanging -UseRecompilation -UseOnStackReplacement +DontCompileHugeMethods -AlwaysCompileLoopMethods -RewriteFrequentPairs +UseC2CallingConventions CompileThreshold=10000000 [etc.] However, documentation of the options would be nice, if it's available. -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 4 2:24:36 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 917CF37B422 for ; Mon, 4 Sep 2000 02:24:34 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JTRUS1HX90000FYB@research.kpn.com> for freebsd-java@FreeBSD.ORG; Mon, 4 Sep 2000 11:24:31 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 04 Sep 2000 11:24:30 +0100 Content-return: allowed Date: Mon, 04 Sep 2000 11:24:30 +0100 From: "Koster, K.J." Subject: RE: Best JDK 1.2+ To: 'Phillip Rhodes' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7817@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Philip, > > I want to run Java on my freebsd box (3.4), but I am very confused > as to which port I should go with. Should/Can I use blackdown, > sun or some other port? > I'm terribly biased :) but I think you should use the native FreeBSD port for Sun's JDK. You'd have to build it yourself, but that is really very easy, see: http://web.inter.nl.net/users/kjkoster/java/index.html. If you need Swing, you may be better off using blackdown's port for now (it's in /usr/ports/java/linux-jdk). In it's current form, the native port has redrawing problems for Swing applications. We'll lick that one soon enough, I'm sure. :-) I compile and run server-side stuff using the native port, but use the Linux port to display Swing applications. Using the native port has the advantage that if you run into a bug in it, there is a good chance that someone will pick it up and fix it. It is a little more "alive" in that sense. Kees Jan ================================================= TV is the worst of both worlds. It's not as good at words as radio is because the pictures are a distraction which demand attention, and it's not as good as cinema because the pictures are not nearly as good. Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 4 4:34:52 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id CA9DB37B422 for ; Mon, 4 Sep 2000 04:34:44 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JTRZBDSE26000DBV@research.kpn.com> for freebsd-java@freebsd.org; Mon, 4 Sep 2000 13:34:39 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 04 Sep 2000 13:34:38 +0100 Content-return: allowed Date: Mon, 04 Sep 2000 13:34:37 +0100 From: "Koster, K.J." Subject: RE: Unified BSD/JDK port mailing list? To: 'Greg Lewis' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7820@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > I am trying to get some form of infrastructure done to > > support work on a unified BSD JDK port. The idea is to supply those > > who are porting Sun's JDK to either FreeBSD, NetBSD, OpenBSD and any > > other platform I've forgotten with a single web site for status > > reports and such. Unless someone steps forward on this ... *deafening > > silence* ... I will take that up and multi-bsd my web pages. > > Good idea. I'm happy to do patchsets for the other BSDs > through my site if people would like. That provides something which > has already jumped through SCSL compliancy hoops. Alternatively I'm > happy to give whatever parts of the site people want to them. > Can I take you up on that offer? I'd like to see our sites merge, in one form or another. I've also had some offers for mirroring and content editing from others. It would be nice to combine the enthousiasm in some form or another. I would not mind trashing my look-n-feel for a more unified one for starters. :) Anyone like to take a shot at that? > > > On top of that, I would really like to have a single > > mailing list for these efforts, and I was wondering how much > > objection there is to using our Java mailing list for that purpose. > > No objection. Politically it might make NetBSD and OpenBSD > people feel uncomfortable though. > Agreed. I thought of this before, but I decided that it would be a neat little test to see how the FreeBSD camp regards offering other BSD's a peek into their kitchen. Sorry about that, guys. I could not resist. What I find extremely encouraging is that I have had not a single objection or even "it's not going to work"--message. Amazing, I'm stunned. %-) There must be genuine interest in the unified Java port. \begin{flamebait} I guess that this also shows that there is indeed a greater sense of belonging between the BSD's than there is between the Linuxen. Greater tolerance, at the very least. \end{flamebait} > > In terms of the mailing list (and I'm happy to be the one to do this > if its thought to be a good idea) I'd like to suggest > approaching Daemon News to see if they are interested in hosting > special purpose unified BSD mailing lists such as this. Comments? > I'm trying to contact Chis Coleman on this one. http://www.openpackages.org/java seems the perfect place to host both our web sites, don't you think? And how would java@openpackages.org sound? Let's see what he says first. Kees Jan ================================================= TV is the worst of both worlds. It's not as good at words as radio is because the pictures are a distraction which demand attention, and it's not as good as cinema because the pictures are not nearly as good. Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 4 8:17:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id A254837B43C for ; Mon, 4 Sep 2000 08:17:49 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id AAA04278; Tue, 5 Sep 2000 00:47:33 +0930 (CST) (envelope-from glewis) Date: Tue, 5 Sep 2000 00:47:33 +0930 From: Greg Lewis To: "Koster, K.J." Cc: "'FreeBSD Java mailing list'" Subject: Re: Unified BSD/JDK port mailing list? Message-ID: <20000905004733.A4255@ares.trc.adelaide.edu.au> References: <59063B5B4D98D311BC0D0001FA7E4522026D7820@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7820@l04.research.kpn.com>; from K.J.Koster@kpn.com on Mon, Sep 04, 2000 at 01:34:37PM +0100 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Sep 04, 2000 at 01:34:37PM +0100, Koster, K.J. wrote: > > Good idea. I'm happy to do patchsets for the other BSDs > > through my site if people would like. That provides something which > > has already jumped through SCSL compliancy hoops. Alternatively I'm > > happy to give whatever parts of the site people want to them. > > > Can I take you up on that offer? I'd like to see our sites merge, in one > form or another. I've also had some offers for mirroring and content editing > from others. It would be nice to combine the enthousiasm in some form or > another. Sure, I have no problem with that. > > No objection. Politically it might make NetBSD and OpenBSD > > people feel uncomfortable though. > > > Agreed. I thought of this before, but I decided that it would be a neat > little test to see how the FreeBSD camp regards offering other BSD's a peek > into their kitchen. Sorry about that, guys. I could not resist. > > What I find extremely encouraging is that I have had not a single objection > or even "it's not going to work"--message. Amazing, I'm stunned. %-) There > must be genuine interest in the unified Java port. It makes a great deal of sense, as long as there are people who are prepared to do the relevant work. > > In terms of the mailing list (and I'm happy to be the one to do this > > if its thought to be a good idea) I'd like to suggest > > approaching Daemon News to see if they are interested in hosting > > special purpose unified BSD mailing lists such as this. Comments? > > > I'm trying to contact Chis Coleman on this one. > http://www.openpackages.org/java seems the perfect place to host both our > web sites, don't you think? And how would java@openpackages.org sound? Just had a look at the web site. Seems sensible. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 4 22:12:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f326.law10.hotmail.com [64.4.14.201]) by hub.freebsd.org (Postfix) with ESMTP id A503437B43F for ; Mon, 4 Sep 2000 22:12:14 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 4 Sep 2000 22:12:14 -0700 Received: from 64.92.27.74 by lw10fd.law10.hotmail.msn.com with HTTP; Tue, 05 Sep 2000 05:12:14 GMT X-Originating-IP: [64.92.27.74] From: "Tony Weltman" To: freebsd-java@freebsd.org Subject: IBM JDK 1.3 on FreeBSD Date: Tue, 05 Sep 2000 05:12:14 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Sep 2000 05:12:14.0456 (UTC) FILETIME=[DA7A5F80:01C016F7] Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Has anyone successfully run IBM's JDK 1.3 on freebsd, in linux emu? I did not see mention in the mailing lists. Thank you -- Tony _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 4 23:24:13 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp2.mail.yahoo.com (smtp2.mail.yahoo.com [128.11.68.32]) by hub.freebsd.org (Postfix) with SMTP id A2BB137B422 for ; Mon, 4 Sep 2000 23:24:10 -0700 (PDT) Received: from rhodespc.dsl.telerama.com (HELO rhoderunner1) (205.201.10.60) by smtp2.mail.yahoo.com with SMTP; 5 Sep 2000 06:24:09 -0000 X-Apparently-From: Message-ID: <001201c01700$defa5340$3c0ac9cd@rhoderunner1> From: "Phillip Rhodes" To: "Koster, K.J." Cc: References: <59063B5B4D98D311BC0D0001FA7E4522026D7817@l04.research.kpn.com> Subject: Re: Best JDK 1.2+ Date: Tue, 5 Sep 2000 02:16:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Following the instructions for building the native JDK. When I get to the following port (Swing 1.1.1 (/usr/ports/java/jfc/) , the sun site is giving me a 404. Any suggestions? Thanks. ----- Original Message ----- From: "Koster, K.J." To: "'Phillip Rhodes'" Cc: Sent: Monday, September 04, 2000 6:24 AM Subject: RE: Best JDK 1.2+ > Hello Philip, > > > > > I want to run Java on my freebsd box (3.4), but I am very confused > > as to which port I should go with. Should/Can I use blackdown, > > sun or some other port? > > > I'm terribly biased :) but I think you should use the native FreeBSD port > for Sun's JDK. You'd have to build it yourself, but that is really very > easy, see: http://web.inter.nl.net/users/kjkoster/java/index.html. > > If you need Swing, you may be better off using blackdown's port for now > (it's in /usr/ports/java/linux-jdk). In it's current form, the native port > has redrawing problems for Swing applications. We'll lick that one soon > enough, I'm sure. :-) > > I compile and run server-side stuff using the native port, but use the Linux > port to display Swing applications. > > Using the native port has the advantage that if you run into a bug in it, > there is a good chance that someone will pick it up and fix it. It is a > little more "alive" in that sense. > > Kees Jan > > ================================================= > TV is the worst of both worlds. It's not as > good at words as radio is because the pictures > are a distraction which demand attention, and > it's not as good as cinema because the pictures > are not nearly as good. > Douglas Adams __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 4 23:26:10 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp2.mail.yahoo.com (smtp2.mail.yahoo.com [128.11.68.32]) by hub.freebsd.org (Postfix) with SMTP id EB4E737B422 for ; Mon, 4 Sep 2000 23:26:07 -0700 (PDT) Received: from rhodespc.dsl.telerama.com (HELO rhoderunner1) (205.201.10.60) by smtp2.mail.yahoo.com with SMTP; 5 Sep 2000 06:26:06 -0000 X-Apparently-From: Message-ID: <001701c01701$246d6890$3c0ac9cd@rhoderunner1> From: "Phillip Rhodes" Cc: References: <59063B5B4D98D311BC0D0001FA7E4522026D7817@l04.research.kpn.com> Subject: Re: Best JDK 1.2+ Date: Tue, 5 Sep 2000 02:18:41 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Opps spoke too soon. Also, can not find host for package dgs. ftp://alpha.gnu.org/gnu/gnustep/dgs-0.5.9.tar.gz Thanks! PHillip ----- Original Message ----- From: "Koster, K.J." To: "'Phillip Rhodes'" Cc: Sent: Monday, September 04, 2000 6:24 AM Subject: RE: Best JDK 1.2+ > Hello Philip, > > > > > I want to run Java on my freebsd box (3.4), but I am very confused > > as to which port I should go with. Should/Can I use blackdown, > > sun or some other port? > > > I'm terribly biased :) but I think you should use the native FreeBSD port > for Sun's JDK. You'd have to build it yourself, but that is really very > easy, see: http://web.inter.nl.net/users/kjkoster/java/index.html. > > If you need Swing, you may be better off using blackdown's port for now > (it's in /usr/ports/java/linux-jdk). In it's current form, the native port > has redrawing problems for Swing applications. We'll lick that one soon > enough, I'm sure. :-) > > I compile and run server-side stuff using the native port, but use the Linux > port to display Swing applications. > > Using the native port has the advantage that if you run into a bug in it, > there is a good chance that someone will pick it up and fix it. It is a > little more "alive" in that sense. > > Kees Jan > > ================================================= > TV is the worst of both worlds. It's not as > good at words as radio is because the pictures > are a distraction which demand attention, and > it's not as good as cinema because the pictures > are not nearly as good. > Douglas Adams __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Sep 5 6:43:54 2000 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 2BB7A37B43E for ; Tue, 5 Sep 2000 06:43:50 -0700 (PDT) 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 WAA12926; Tue, 5 Sep 2000 22:43:28 +0900 Message-Id: <200009051343.WAA12926@cafe.muraoka.info.waseda.ac.jp> To: freebsd-java@freebsd.org Cc: shudoh@muraoka.info.waseda.ac.jp Subject: shuJIT 0.6.5 released Date: Tue, 05 Sep 2000 22:43:27 +0900 From: SHUDO Kazuyuki Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, Now I've released shuJIT 0.6.5. Once, a year ago, I've announced the release of shuJIT 0.3.2. | To: freebsd-java@FreeBSD.ORG | Subject: shuJIT 0.3.2 relased | Date: Sun, 01 Aug 1999 17:39:29 +0900 If you're interested in the JIT, please see http://www.shudo.net/jit/. It is a JIT compiler for Sun classic VM / FreeBSD and Linux / x86. I've made comparisons between OpenJIT 1.1.14, TYA 1.7v2 and shuJIT 0.6.5 in their peak performance. They are JIT compilers which can be used on FreeBSD, Linux and x86. The results were produced on the Linux box, but these JIT compilers can work with FreeBSD JDK 1.1.8 and 1.2.2. So I believe that these results are valuable for FreeBSD users. [SPEC JVM98] http://www.spec.org/osg/jvm98/ This has been used as the standard benchmark suite to evaluate JVMs and JITs. Benchmark programs in ths suite are not toy programs, rather real applications like javac, JavaCC and MPEG audio layer 3 (MP3) decoder. I adopted the following command line options because the machine has a little memory (64MB): % appletviewer -J-Xmx32m -J-Xms32m http://... These measurements were performed on K6-2 400 MHz and Blackdown JDK 1.2.2 FCS. * results (second: lower is better) OpenJIT shuJIT TYA interpreter _201_compress 114.529 143.152 153.195 596.893 _202_jess 44.584 57.459 56.785 141.738 _209_db 150.592 129.824 148.438 295.294 _213_javac 98.65 124.729 115.22 213.525 _222_mpegaudio 99.409 110.923 125.69 502.524 _227_mtrt 56.582 85.534 79.384 177.097 _228_jack 52.637 69.653 68.288 194.796 * results (score: higher is better) OpenJIT shuJIT TYA interpreter _227_mtrt 8.13 5.38 5.79 2.60 _202_jess 8.52 6.61 6.69 2.68 _201_compress 10.3 8.21 7.67 1.97 _209_db 3.35 3.89 3.39 1.71 _222_mpegaudio 11.1 9.92 8.75 2.19 _228_jack 8.64 6.53 6.66 2.34 _213_javac 4.31 3.41 3.69 1.99 Geometric Mean 7.18 5.91 5.79 2.19 [CaffeineMark 3.0] http://www.pendragon-software.com/pendragon/cm3/ Recently, small benchmarks in this suite is not used to measure performance because the results do not reflect a feeling in using JVMs. But, it can be useful for me in examining the result of the improvement of a JIT compiler. I used Pentium II 333 MHz and Blackdown JDK 1.1.8v1 for this benchmark. * results (score: higher is better) OpenJIT shuJIT TYA Sieve 3224 1975 1911 Loop 4647 3323 2683 Logic 6869 6864 4958 String 4265 2521 2305 Float 3139 2505 1765 Method 4681 1826 1823 Graphics 336 343 360 Image 534 526 533 Dialog 133 107 129 CM3 1749 1291 1186 [Linpack benchmark] http://www.netlib.org/benchmark/linpackjava/ This benchmark performs solution of linear equations. The method of solution is base on Gaussian elimination. This benchmark is small and runs in a short time. Therefore JIT compilers (including IBM's) which adopt adaptive compilation techniques cannot make a good score. But, JIT compilers evaluated this time do not use those techniques in their default settings. The followings were made on Pentium II 333 MHz and Blackdown JDK 1.2.2 FCS. OpenJIT 1.1.13 13.464 shuJIT 0.6.5 13.205 TYA 1.7v2 11.444 OpenJIT 1.1.14 10.899 Any comment, suggestion or report is appreciated. 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 Sep 5 7:16:44 2000 Delivered-To: freebsd-java@freebsd.org Received: from ntua.gr (achilles.noc.ntua.gr [147.102.222.210]) by hub.freebsd.org (Postfix) with ESMTP id 418E237B423 for ; Tue, 5 Sep 2000 07:16:09 -0700 (PDT) Received: from netmode.ece.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.9.3/8.9.3) with ESMTP id RAA13393; Tue, 5 Sep 2000 17:16:05 +0300 (EET DST) Received: by netmode.ece.ntua.gr (Postfix, from userid 410) id 3853085C3; Tue, 5 Sep 2000 17:01:22 +0300 (EET DST) Date: Tue, 5 Sep 2000 17:01:22 +0300 From: Panagiotis Astithas To: SHUDO Kazuyuki Cc: freebsd-java@FreeBSD.ORG Subject: Re: shuJIT 0.6.5 released Message-ID: <20000905170122.A28494@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr References: <200009051343.WAA12926@cafe.muraoka.info.waseda.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200009051343.WAA12926@cafe.muraoka.info.waseda.ac.jp>; from shudoh@muraoka.info.waseda.ac.jp on Tue, Sep 05, 2000 at 10:43:27PM +0900 X-Organizational-Unit: Network Management and Optimal Design Laboratory X-Organization: National Technical University of Athens, GREECE X-Work-Phone: +30-1-772-1-450 X-Work-FAX: +30-1-772-1-452 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Sep 05, 2000 at 10:43:27PM +0900, SHUDO Kazuyuki wrote: > [Linpack benchmark] http://www.netlib.org/benchmark/linpackjava/ > > This benchmark performs solution of linear equations. > The method of solution is base on Gaussian elimination. > > This benchmark is small and runs in a short time. > Therefore JIT compilers (including IBM's) which adopt > adaptive compilation techniques cannot make a good score. > But, JIT compilers evaluated this time do not use > those techniques in their default settings. > > The followings were made on Pentium II 333 MHz > and Blackdown JDK 1.2.2 FCS. > > OpenJIT 1.1.13 13.464 > shuJIT 0.6.5 13.205 > TYA 1.7v2 11.444 > OpenJIT 1.1.14 10.899 Regarding the difference in the performance of OpenJIT 1.1.13 vs. 1.1.14, would you attribute it in the following change? (from www.openjit.org) REFINE: Change the default value of max_stack_frames (400 -> 43). This value depends on platforms, and several JDK 1.1.8 platforms didn't work with the old default value (400). We now chose the default value to minimize the warm-up time of OpenJIT. The best value for JDK 1.2.2 (both of Blackdown and Sun) is "41" and that for JDK 1.1.8 is "43". Also on this test, is the highest value the best? -past To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Sep 5 10:21:57 2000 Delivered-To: freebsd-java@freebsd.org Received: from cric.chemres.hu (cric.chemres.hu [193.224.146.131]) by hub.freebsd.org (Postfix) with ESMTP id 5841437B443 for ; Tue, 5 Sep 2000 10:21:51 -0700 (PDT) Received: from ppp6.chemres.hu (ppp6.chemres.hu [193.224.67.184]) by cric.chemres.hu (8.9.2/8.9.2) with SMTP id TAA13340 for ; Tue, 5 Sep 2000 19:22:33 +0200 Message-Id: <200009051722.TAA13340@cric.chemres.hu> From: "Zsolt Kuti" To: "freebsd-java@freebsd.org" Date: Mon, 04 Sep 2000 21:15:51 +0100 Reply-To: "Zsolt Kuti" X-Mailer: PMMail 1.96a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Subject: RE: Best JDK 1.2+ Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 04 Sep 2000 11:24:30 +0100, Koster, K.J. wrote: [...] >(it's in /usr/ports/java/linux-jdk). In it's current form, the native port >has redrawing problems for Swing applications. We'll lick that one [...] Just has come to my mind, I have seen the same problem on Solaris/Sparc with jdk1.2. Some of the dialog windows are black and only resizing can repaint them correctly (if this is the redrawing problem you are talking about). Other components are in their place (e.g. buttons) and can react if you find them. --------------- Zsolt Kuti To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Sep 6 7:58:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from cgi.sstar.com (cgi.sstar.com [209.205.176.12]) by hub.freebsd.org (Postfix) with ESMTP id ACB0F37B422 for ; Wed, 6 Sep 2000 07:58:51 -0700 (PDT) Received: from jking (jking.lgc.com [134.132.75.164]) by cgi.sstar.com (8.9.3/8.9.3) with SMTP id JAA56667 for ; Wed, 6 Sep 2000 09:58:45 -0500 (CDT) (envelope-from jim@jimking.net) Message-ID: <001c01c01812$f47f8650$a44b8486@jking> From: "Jim King" To: Subject: State of 1.2.2? Date: Wed, 6 Sep 2000 09:58:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org What's going on with the native port of 1.2.2 for FreeBSD? BSDI's web page looks like it doesn't have anything new since the initial announcement a couple months ago. Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Sep 6 8:23:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from orange.intothewind.cx (adsl-151-196-249-129.bellatlantic.net [151.196.249.129]) by hub.freebsd.org (Postfix) with ESMTP id 7755737B424 for ; Wed, 6 Sep 2000 08:23:39 -0700 (PDT) Received: from freebsd.org (localhost [127.0.0.1]) by orange.intothewind.cx (8.9.3/8.9.3) with ESMTP id PAA75270; Wed, 6 Sep 2000 15:22:22 GMT (envelope-from patrick@freebsd.org) Message-ID: <39B6612E.74A360B4@freebsd.org> Date: Wed, 06 Sep 2000 15:22:22 +0000 From: Patrick Gardella X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jim King Cc: freebsd-java@freebsd.org Subject: Re: State of 1.2.2? References: <001c01c01812$f47f8650$a44b8486@jking> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jim King wrote: > > What's going on with the native port of 1.2.2 for FreeBSD? BSDI's web page > looks like it doesn't have anything new since the initial announcement a > couple months ago. Using the build instructions on the http://www.freebsd.org/java/ pages, I've got a working version of JDK 1.2.2 here. Patrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Sep 6 12:59:24 2000 Delivered-To: freebsd-java@freebsd.org Received: from sln.esc.edu (sln.esc.edu [138.116.200.3]) by hub.freebsd.org (Postfix) with SMTP id AB4BE37B422 for ; Wed, 6 Sep 2000 12:59:21 -0700 (PDT) Received: by sln.esc.edu(Lotus SMTP MTA v1.2 (600.1 3-26-1998)) id 85256952.006D7DB2 ; Wed, 6 Sep 2000 15:55:56 -0400 X-Lotus-FromDomain: SUNY From: "Bill Melvin" To: freebsd-java@freebsd.org Message-ID: <85256952.006CB508.00@sln.esc.edu> Date: Wed, 6 Sep 2000 15:47:22 -0400 Subject: NoClassDefFoundError: InvokerGen Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi all ... searched the archives and saw a thread without a conclusion on this one c. P6 or 7 I am trying to build p10 on 3.5.1 (3.5.1-RELEASE FreeBSD 3.5.1-RELEASE #0: Thu Aug 31 12:03:43 EDT 2000) and choked at the same place as everyone else > /usr/local/linux-jdk1.2.2/bin/java -classpath . InvokerGen \ > < ../../../../src/share/javavm/include/invokers.txt > invokers.c > Exception in thread "main" java.lang.NoClassDefFoundError: InvokerGen I moved my build dir up one dir (/usr/tmp -> /usr) and seem to be buildng ok now ... Just curious if there was ever a resoultion to this one ... Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Sep 6 23:25:14 2000 Delivered-To: freebsd-java@freebsd.org Received: from mercury.nildram.co.uk (mercury.nildram.co.uk [195.112.4.37]) by hub.freebsd.org (Postfix) with ESMTP id 9A09337B422 for ; Wed, 6 Sep 2000 23:25:11 -0700 (PDT) Received: from nermal.unix-consult.com (tgeusch.dial.nildram.co.uk [195.149.29.39]) by mercury.nildram.co.uk (8.10.0/8.10.0.Beta10) with ESMTP id e875WXa20350 for ; Thu, 7 Sep 2000 06:32:33 +0100 Received: (qmail 6077 invoked from network); 7 Sep 2000 06:18:37 -0000 Received: from odie.unix-consult.com (192.168.0.2) by nermal.unix-consult.com with SMTP; 7 Sep 2000 06:18:37 -0000 Received: (qmail 1456 invoked by uid 1002); 7 Sep 2000 06:18:32 -0000 Date: Thu, 7 Sep 2000 07:18:32 +0100 From: Timo Geusch To: Bill Melvin Cc: freebsd-java@freebsd.org Subject: Re: NoClassDefFoundError: InvokerGen Message-ID: <20000907071832.A1395@odie.unix-consult.com> Mail-Followup-To: Timo Geusch , Bill Melvin , freebsd-java@freebsd.org References: <85256952.006CB508.00@sln.esc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <85256952.006CB508.00@sln.esc.edu>; from Bill_Melvin@esc.edu on Wed, Sep 06, 2000 at 03:47:22PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Sep 06, 2000 at 03:47:22PM -0400, Bill Melvin wrote: > searched the archives and saw a thread without a conclusion on this one c. > P6 or 7 > I am trying to build p10 on 3.5.1 (3.5.1-RELEASE FreeBSD 3.5.1-RELEASE #0: > Thu Aug 31 12:03:43 EDT 2000) and choked at the same place as everyone else > > > /usr/local/linux-jdk1.2.2/bin/java -classpath . InvokerGen \ > > < ../../../../src/share/javavm/include/invokers.txt > invokers.c > > Exception in thread "main" > java.lang.NoClassDefFoundError: InvokerGen > > I moved my build dir up one dir (/usr/tmp -> /usr) and seem to be buildng > ok now ... I think that *is* the resolution. Some folks including me have seen this behavior when building the native JDK using the Linux JDK. It should not happen when you are using the native JDK to rebuild the native JDK (complicated enough yet?). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 1:23:33 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 68C2237B982 for ; Thu, 7 Sep 2000 01:23:25 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JTVZI9JHBO000FAU@research.kpn.com> for freebsd-java@FreeBSD.ORG; Thu, 7 Sep 2000 10:23:22 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Thu, 07 Sep 2000 10:23:21 +0100 Content-return: allowed Date: Thu, 07 Sep 2000 10:23:20 +0100 From: "Koster, K.J." Subject: RE: NoClassDefFoundError: InvokerGen To: 'Bill Melvin' Cc: freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7849@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > /usr/local/linux-jdk1.2.2/bin/java -classpath . InvokerGen \ > > < ../../../../src/share/javavm/include/invokers.txt > invokers.c > > Exception in thread "main" > > java.lang.NoClassDefFoundError: InvokerGen > > I moved my build dir up one dir (/usr/tmp -> /usr) and seem > to be buildng ok now ... > I had the same problem, and I did more or less the same. By moving up one directory, are /usr and /usr/tmp on the same filesystem on your machine? Is /usr/tmp perhaps a symlink? I'm trying to figure out what it is exactly that makes the linux-jdk choke. That's why I ask. I am currently thinking that it has to do with either the length of path names, or with the presence of symlinks. > > Just curious if there was ever a resoultion to this one ... > You already have it. :-) Kees Jan ================================================= TV is the worst of both worlds. It's not as good at words as radio is because the pictures are a distraction which demand attention, and it's not as good as cinema because the pictures are not nearly as good. Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 4:20:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp2.jaring.my (smtp2.jaring.my [192.228.128.47]) by hub.freebsd.org (Postfix) with ESMTP id 7119337B422 for ; Thu, 7 Sep 2000 04:20:35 -0700 (PDT) Received: from yappology.pl.jaring.my (j233.ptl48.jaring.my [161.142.114.247]) by smtp2.jaring.my (8.10.0.Beta6/8.9.3) with ESMTP id e87BKVg07822 for ; Thu, 7 Sep 2000 19:20:33 +0800 (MYT) Message-Id: <4.3.1.2.20000907193527.00b3d4a0@pop2.jaring.my> X-Sender: yapbros@pop2.jaring.my (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 07 Sep 2000 19:39:38 +0800 To: freebsd-java@freebsd.org From: ych Subject: Reading data feed from serial port Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, How can I read data feed that's coming in through the serial port? Can I open a stream to /dev/something and proceed to read from the stream? I'm new to FreeBSD. Any help is greatly appreciated. Thank you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 4:28:53 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id CD2F237B423 for ; Thu, 7 Sep 2000 04:28:51 -0700 (PDT) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JTW6067PV0000GA7@research.kpn.com> for freebsd-java@freebsd.org; Thu, 7 Sep 2000 13:28:49 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Thu, 07 Sep 2000 13:28:48 +0100 Content-return: allowed Date: Thu, 07 Sep 2000 13:28:47 +0100 From: "Koster, K.J." Subject: RE: Reading data feed from serial port To: 'ych' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7854@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, > > How can I read data feed that's coming in through the serial > port? Can I open a stream to /dev/something and proceed to read > from the stream? > "man sio" The serial ports are /dev/cuaa0 for COM1, /dev/cuaa1 for COM2. Are you trying to do this in Java, or in some other programming language? Kees Jan ================================================= TV is the worst of both worlds. It's not as good at words as radio is because the pictures are a distraction which demand attention, and it's not as good as cinema because the pictures are not nearly as good. Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 7: 2: 8 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp3.jaring.my (smtp3.jaring.my [192.228.128.46]) by hub.freebsd.org (Postfix) with ESMTP id 3A63537B424 for ; Thu, 7 Sep 2000 07:02:06 -0700 (PDT) Received: from yappology.pl.jaring.my (j72.sgw48.jaring.my [161.142.193.86]) by smtp3.jaring.my (8.10.1/8.10.1) with ESMTP id e87E1tL26773; Thu, 7 Sep 2000 22:01:56 +0800 (MYT) Message-Id: <4.3.1.2.20000907221810.00b38100@pop2.jaring.my> X-Sender: yapbros@pop2.jaring.my X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 07 Sep 2000 22:21:18 +0800 To: "Koster, K.J." From: ych Subject: RE: Reading data feed from serial port Cc: "'FreeBSD Java mailing list'" In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7854@l04.research.kpn. com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Yes I'm trying to do this using Java. I've managed to dial from /dev/cuaa0 to the data feed using ppp. But do not know what to do next. ych At 01:28 PM 9/7/00 +0100, Koster, K.J. wrote: >Hello, > > > > > How can I read data feed that's coming in through the serial > > port? Can I open a stream to /dev/something and proceed to read > > from the stream? > > >"man sio" The serial ports are /dev/cuaa0 for COM1, /dev/cuaa1 for COM2. Are >you trying to do this in Java, or in some other programming language? > > Kees Jan > >================================================= > TV is the worst of both worlds. It's not as > good at words as radio is because the pictures > are a distraction which demand attention, and > it's not as good as cinema because the pictures > are not nearly as good. > Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 10:38:27 2000 Delivered-To: freebsd-java@freebsd.org Received: from sln.esc.edu (sln.esc.edu [138.116.200.3]) by hub.freebsd.org (Postfix) with SMTP id 8EE7C37B423 for ; Thu, 7 Sep 2000 10:38:05 -0700 (PDT) Received: by sln.esc.edu(Lotus SMTP MTA v1.2 (600.1 3-26-1998)) id 85256953.0060704B ; Thu, 7 Sep 2000 13:33:22 -0400 X-Lotus-FromDomain: SUNY From: "Bill Melvin" To: freebsd-java@FreeBSD.ORG Message-ID: <85256953.005FA574.00@sln.esc.edu> Date: Thu, 7 Sep 2000 13:24:42 -0400 Subject: RE: NoClassDefFoundError: InvokerGen Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all ... as a followup, build completed after I moved the build dir up one. no symlinks in the path to /usr/tmp ... same filesystem. Dont think the sticky bit on /usr/tmp had anything to do with it b/c reports of similar problems were in /home/.* right? do any Linux-Java folk talk abt this? anyway, thanks for the input ... Bill "Koster, K.J." @FreeBSD.ORG on 09/07/2000 05:23:20 AM Sent by: owner-freebsd-java@FreeBSD.ORG To: 'Bill Melvin' cc: freebsd-java@FreeBSD.ORG Subject: RE: NoClassDefFoundError: InvokerGen > > > /usr/local/linux-jdk1.2.2/bin/java -classpath . InvokerGen \ > > < ../../../../src/share/javavm/include/invokers.txt > invokers.c > > Exception in thread "main" > > java.lang.NoClassDefFoundError: InvokerGen > > I moved my build dir up one dir (/usr/tmp -> /usr) and seem > to be buildng ok now ... > I had the same problem, and I did more or less the same. By moving up one directory, are /usr and /usr/tmp on the same filesystem on your machine? Is /usr/tmp perhaps a symlink? I'm trying to figure out what it is exactly that makes the linux-jdk choke. That's why I ask. I am currently thinking that it has to do with either the length of path names, or with the presence of symlinks. > > Just curious if there was ever a resoultion to this one ... > You already have it. :-) Kees Jan ================================================= TV is the worst of both worlds. It's not as good at words as radio is because the pictures are a distraction which demand attention, and it's not as good as cinema because the pictures are not nearly as good. Douglas Adams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 13:56:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 6C13A37B422 for ; Thu, 7 Sep 2000 13:56:39 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id GAA45042; Fri, 8 Sep 2000 06:26:29 +0930 (CST) (envelope-from glewis) Date: Fri, 8 Sep 2000 06:26:29 +0930 From: Greg Lewis To: ych Cc: freebsd-java@FreeBSD.ORG Subject: Re: Reading data feed from serial port Message-ID: <20000908062629.A45011@ares.trc.adelaide.edu.au> References: <4.3.1.2.20000907193527.00b3d4a0@pop2.jaring.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <4.3.1.2.20000907193527.00b3d4a0@pop2.jaring.my>; from yapbros@pl.jaring.my on Thu, Sep 07, 2000 at 07:39:38PM +0800 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Sep 07, 2000 at 07:39:38PM +0800, ych wrote: > Hi, > > How can I read data feed that's coming in through the serial port? Can I > open a stream to /dev/something and proceed to read from the stream? I'm > new to FreeBSD. Any help is greatly appreciated. > > Thank you. Take a look through the list archives, specifically for the FreeBSD port of the Java COMM API for talking to serial ports. It was even mentioned recently I recall :). -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 14: 1:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id D889437B424 for ; Thu, 7 Sep 2000 14:01:14 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id GAA45113; Fri, 8 Sep 2000 06:31:05 +0930 (CST) (envelope-from glewis) Date: Fri, 8 Sep 2000 06:31:04 +0930 From: Greg Lewis To: Bill Melvin Cc: freebsd-java@FreeBSD.ORG Subject: Re: NoClassDefFoundError: InvokerGen Message-ID: <20000908063104.A45069@ares.trc.adelaide.edu.au> References: <85256953.005FA574.00@sln.esc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <85256953.005FA574.00@sln.esc.edu>; from Bill_Melvin@esc.edu on Thu, Sep 07, 2000 at 01:24:42PM -0400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Sep 07, 2000 at 01:24:42PM -0400, Bill Melvin wrote: > as a followup, build completed after I moved the build dir up one. > no symlinks in the path to /usr/tmp ... same filesystem. > Dont think the sticky bit on /usr/tmp had anything to do with it > b/c reports of similar problems were in /home/.* right? I don't think the path length has much to do with it either, I was building quite far down my directory tree without any problems. > do any Linux-Java folk talk abt this? I haven't seen it on the java-linux list. I suspect its a quirk of the linuxulator. Maybe its even been fixed? Anyone reproduce this on 4.1? -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 22:59: 7 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp1.jaring.my (smtp1.jaring.my [192.228.128.45]) by hub.freebsd.org (Postfix) with ESMTP id 764A537B422 for ; Thu, 7 Sep 2000 22:59:04 -0700 (PDT) Received: from yappology.pl.jaring.my (j30.sgw42.jaring.my [161.142.22.44]) by smtp1.jaring.my (8.10.0.Beta6/8.9.3) with ESMTP id e885wNJ18901; Fri, 8 Sep 2000 13:58:24 +0800 (MYT) Message-Id: <4.3.1.2.20000908141153.00a86300@pop2.jaring.my> X-Sender: yapbros@pop2.jaring.my X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 08 Sep 2000 14:16:51 +0800 To: Greg Lewis From: ych Subject: Re: Reading data feed from serial port Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20000908062629.A45011@ares.trc.adelaide.edu.au> References: <4.3.1.2.20000907193527.00b3d4a0@pop2.jaring.my> <4.3.1.2.20000907193527.00b3d4a0@pop2.jaring.my> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry, I didn't know there's a FreeBSD port of the comm API. I've downloaded the port but encountered the following error when trying to build the lib: gcc -O2 -shared -I /usr/java/include -I /usr/java/include/freebsd -L /usr/java/lib/i386/green_threads/ -o lib/libParallel.so src/org/freebsd/io/comm/libParallel.c In file included from src/org/freebsd/io/comm/libParallel.c:32: src/org/freebsd/io/comm/org_freebsd_io_comm_FreebsdParallel.h:2: jni.h: No such file or directory src/org/freebsd/io/comm/libParallel.c:41: /sys/dev/ppbus/ppi.h: No such file or directory src/org/freebsd/io/comm/libParallel.c:42: /sys/dev/ppbus/ppbconf.h: No such file or directory gmake: *** [lib/libParallel.so] Error 1 What is the cause? Thanks. ych At 06:26 AM 9/8/00 +0930, Greg Lewis wrote: >On Thu, Sep 07, 2000 at 07:39:38PM +0800, ych wrote: > > Hi, > > > > How can I read data feed that's coming in through the serial port? Can I > > open a stream to /dev/something and proceed to read from the stream? I'm > > new to FreeBSD. Any help is greatly appreciated. > > > > Thank you. > >Take a look through the list archives, specifically for the FreeBSD port >of the Java COMM API for talking to serial ports. It was even mentioned >recently I recall :). > >-- >Greg Lewis glewis@trc.adelaide.edu.au >Computing Officer +61 8 8303 5083 >Teletraffic Research Centre > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 7 23: 8:13 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id D7A4C37B43E for ; Thu, 7 Sep 2000 23:08:08 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id PAA57198; Fri, 8 Sep 2000 15:37:59 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200009080607.PAA57198@ares.trc.adelaide.edu.au> Subject: Re: Reading data feed from serial port In-Reply-To: <4.3.1.2.20000908141153.00a86300@pop2.jaring.my> from ych at "Sep 8, 2000 02:16:51 pm" To: ych Date: Fri, 8 Sep 2000 15:37:59 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (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 ych wrote: > Sorry, I didn't know there's a FreeBSD port of the comm API. I've > downloaded the port but encountered the following error when trying to > build the lib: Well, I've never built it myself, but here goes answering anyway :). > gcc -O2 -shared -I /usr/java/include -I /usr/java/include/freebsd -L > /usr/java/lib/i386/green_threads/ -o lib/libParallel.so > src/org/freebsd/io/comm/libParallel.c > In file included from src/org/freebsd/io/comm/libParallel.c:32: > src/org/freebsd/io/comm/org_freebsd_io_comm_FreebsdParallel.h:2: jni.h: No such This is a standard java header. By the above it would appear that it assumes your java installation is based in /usr/java. If thats not the case then you need to adjust the include paths to point at where your java installation lives. > file or directory > src/org/freebsd/io/comm/libParallel.c:41: /sys/dev/ppbus/ppi.h: No such file or > directory > src/org/freebsd/io/comm/libParallel.c:42: /sys/dev/ppbus/ppbconf.h: No such > file or directory > gmake: *** [lib/libParallel.so] Error 1 Ewww. This is looking for include files that are part of the FreeBSD source code. Specifically, part of the sys source. It looks like you need this installed (or at least the relevant include files) to compile :(. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 8 0:58:26 2000 Delivered-To: freebsd-java@freebsd.org Received: from smtp3.jaring.my (smtp3.jaring.my [192.228.128.46]) by hub.freebsd.org (Postfix) with ESMTP id 31DA537B422 for ; Fri, 8 Sep 2000 00:58:20 -0700 (PDT) Received: from yappology.pl.jaring.my (j233.sgw47.jaring.my [161.142.192.247]) by smtp3.jaring.my (8.10.1/8.10.1) with ESMTP id e887vSm27743; Fri, 8 Sep 2000 15:57:29 +0800 (MYT) Message-Id: <4.3.1.2.20000908161124.00b9fbc0@pop2.jaring.my> X-Sender: yapbros@pop2.jaring.my X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Fri, 08 Sep 2000 16:13:02 +0800 To: Greg Lewis From: ych Subject: Re: Reading data feed from serial port Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <200009080607.PAA57198@ares.trc.adelaide.edu.au> References: <4.3.1.2.20000908141153.00a86300@pop2.jaring.my> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks Greg. Got it to compile after changing the make file and installing the FreeBSD source. ych At 03:37 PM 09/08/2000 +0930, Greg Lewis wrote: >ych wrote: > > Sorry, I didn't know there's a FreeBSD port of the comm API. I've > > downloaded the port but encountered the following error when trying to > > build the lib: > >Well, I've never built it myself, but here goes answering anyway :). > > > gcc -O2 -shared -I /usr/java/include -I /usr/java/include/freebsd -L > > /usr/java/lib/i386/green_threads/ -o lib/libParallel.so > > src/org/freebsd/io/comm/libParallel.c > > In file included from src/org/freebsd/io/comm/libParallel.c:32: > > src/org/freebsd/io/comm/org_freebsd_io_comm_FreebsdParallel.h:2: jni.h: > No such > >This is a standard java header. By the above it would appear that it >assumes your java installation is based in /usr/java. If thats not the >case then you need to adjust the include paths to point at where your >java installation lives. > > > file or directory > > src/org/freebsd/io/comm/libParallel.c:41: /sys/dev/ppbus/ppi.h: No such > file or > > directory > > src/org/freebsd/io/comm/libParallel.c:42: /sys/dev/ppbus/ppbconf.h: No > such > > file or directory > > gmake: *** [lib/libParallel.so] Error 1 > >Ewww. This is looking for include files that are part of the FreeBSD >source code. Specifically, part of the sys source. It looks like you need >this installed (or at least the relevant include files) to compile :(. > >-- >Greg Lewis glewis@trc.adelaide.edu.au >Computing Officer +61 8 8303 5083 >Teletraffic Research Centre > > >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 Fri Sep 8 14:52:28 2000 Delivered-To: freebsd-java@freebsd.org Received: from toots.ucsf.edu (toots.ucsf.edu [128.218.67.32]) by hub.freebsd.org (Postfix) with ESMTP id ED30537B449 for ; Fri, 8 Sep 2000 14:52:25 -0700 (PDT) Received: (from steve@localhost) by toots.ucsf.edu (8.11.0/8.11.0) id e88LpeC02118; Fri, 8 Sep 2000 14:51:40 -0700 (PDT) (envelope-from steve) Date: Fri, 8 Sep 2000 14:51:39 -0700 From: Steve Sizemore To: Greg Lewis Cc: Bill Melvin , freebsd-java@FreeBSD.ORG Subject: Re: NoClassDefFoundError: InvokerGen Message-ID: <20000908145139.A1893@cmpharm.ucsf.edu> References: <85256953.005FA574.00@sln.esc.edu> <20000908063104.A45069@ares.trc.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000908063104.A45069@ares.trc.adelaide.edu.au>; from glewis@ares.trc.adelaide.edu.au on Fri, Sep 08, 2000 at 06:31:04AM +0930 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Sep 08, 2000 at 06:31:04AM +0930, Greg Lewis wrote: > On Thu, Sep 07, 2000 at 01:24:42PM -0400, Bill Melvin wrote: > > as a followup, build completed after I moved the build dir up one. > > no symlinks in the path to /usr/tmp ... same filesystem. > > Dont think the sticky bit on /usr/tmp had anything to do with it > > b/c reports of similar problems were in /home/.* right? > > I don't think the path length has much to do with it either, I was building > quite far down my directory tree without any problems. > > > do any Linux-Java folk talk abt this? > > I haven't seen it on the java-linux list. I suspect its a quirk of the > linuxulator. Maybe its even been fixed? Anyone reproduce this on 4.1? > I just saw it on 4-STABLE. My home directories are automounted, so the pathname was long, included symbolic links, and went over nfs. Interestingly, I was able to cd down into the directory where the problem occurred, and run make in that directory, where it succeeded. I then cd'ed back to the top level and reran the buildscript, which completed successfully. I also built it successfully on a local fs with a short pathname. Steve -- ----------------------------------------------#-----#--#####--------------- # # # # Steve Sizemore # # # Dept. of Cellular and Molecular Pharmacology # # # Box 0450, Room HSE-1285 # # # University of California Medical Center # # # # 513 Parnassus Avenue ##### ##### ##### ####### San Francisco CA 94143-0450 # # # # # steve@cmpharm.ucsf.edu ##### ##### (415) 476-6987 FAX: (415) 476-6515 # # # # # -------------------------------------------------------------#####--#------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message