From owner-freebsd-java Tue Oct 3 10:23:25 2000 Delivered-To: freebsd-java@freebsd.org Received: from pencil.math.missouri.edu (pencil.math.missouri.edu [128.206.49.147]) by hub.freebsd.org (Postfix) with ESMTP id 979E037B502 for ; Tue, 3 Oct 2000 10:23:23 -0700 (PDT) Received: (from rich@localhost) by pencil.math.missouri.edu (8.9.3/8.9.3) id MAA23312; Tue, 3 Oct 2000 12:23:14 -0500 (CDT) (envelope-from rich) From: Rich Winkel Message-Id: <200010031723.MAA23312@pencil.math.missouri.edu> Subject: Re: SIGSEGV under FBSD 4.1-release with compat 3.x In-Reply-To: <200009302120.PAA09314@nomad.yogotech.com> "from Nate Williams at Sep 30, 2000 03:20:53 pm" To: Nate Williams Date: Tue, 3 Oct 2000 12:23:14 -0500 (CDT) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Nate Williams: > > Hi, I'm having problems with jdk-1.1.8 under 4.1-R with the compat > > 3.x libraries installed. Whatever I try, I get: > > > > SIGSEGV 11* segmentation violation > > This is almost always because the compat libraries aren't really > installed, but are symlinks to the newer libraries. Are you > *absolutely* sure the libraries are correctly installed? Thanks for the reply! I ran "find . -type l -print" under /usr/lib/compat and found only two: ./aout/libcrypt.so.2.0 ./aout/libtermlib.so.2.1 Following is the /etc/make.conf used to build the system: CFLAGS= -O -pipe COPTFLAGS= -O -pipe COMPAT22= yes COMPAT3X= yes KRB5_HOME= /usr/bin MODULES_WITH_WORLD= true NOPROFILE= true NO_MODULES= true NO_OPENSSH= true PRINTERDEVICE= ps USA_RESIDENT= NO Just to be sure I ran /stand/sysinstall and installed the compat3.x libraries from the 4.1 CD, and rebooted. Still the same problem. Is anyone else running java under 4.1R? Thanks, Rich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 10:27:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id E920837B66F for ; Tue, 3 Oct 2000 10:27:30 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA29263; Tue, 3 Oct 2000 11:27:27 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA24052; Tue, 3 Oct 2000 11:27:27 -0600 (MDT) (envelope-from nate) Date: Tue, 3 Oct 2000 11:27:27 -0600 (MDT) Message-Id: <200010031727.LAA24052@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Rich Winkel Cc: Nate Williams , freebsd-java@freebsd.org Subject: Re: SIGSEGV under FBSD 4.1-release with compat 3.x In-Reply-To: <200010031723.MAA23312@pencil.math.missouri.edu> References: <200009302120.PAA09314@nomad.yogotech.com> <200010031723.MAA23312@pencil.math.missouri.edu> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > Hi, I'm having problems with jdk-1.1.8 under 4.1-R with the compat > > > 3.x libraries installed. Whatever I try, I get: > > > > > > SIGSEGV 11* segmentation violation > > > > This is almost always because the compat libraries aren't really > > installed, but are symlinks to the newer libraries. Are you > > *absolutely* sure the libraries are correctly installed? > > Thanks for the reply! > > I ran "find . -type l -print" under /usr/lib/compat and found only two: > ./aout/libcrypt.so.2.0 > ./aout/libtermlib.so.2.1 These aren't the 3.X compatability libraries. > Following is the /etc/make.conf used to build the system: > CFLAGS= -O -pipe > COPTFLAGS= -O -pipe > COMPAT22= yes > COMPAT3X= yes I don't know how the compatability libraries are installed via buildworld. I just install them via the package off the net. > Just to be sure I ran /stand/sysinstall and > installed the compat3.x libraries from the 4.1 CD, and rebooted. > Still the same problem. Weird. > Is anyone else running java under 4.1R? I get alot of email saying that, but I'll let others pipe up. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 11:22:40 2000 Delivered-To: freebsd-java@freebsd.org Received: from gatekeeper.isltd.insignia.com (gatekeeper.isltd.insignia.com [195.217.222.20]) by hub.freebsd.org (Postfix) with ESMTP id E1B5C37B503 for ; Tue, 3 Oct 2000 11:22:36 -0700 (PDT) Received: from saracen.isltd.insignia.com (saracen.isltd.insignia.com [193.112.17.171]) by gatekeeper.isltd.insignia.com (8.9.3/8.9.3) with ESMTP id TAA17880; Tue, 3 Oct 2000 19:22:23 +0100 (BST) Received: from luggage.isltd.insignia.com (luggage.isltd.insignia.com [193.112.17.47]) by saracen.isltd.insignia.com (8.8.4/BSCF-1.2) with SMTP id TAA14744; Tue, 3 Oct 2000 19:22:22 +0100 (BST) From: Martin Hopkins MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14810.9181.878446.517611@luggage.isltd.insignia.com> Date: Tue, 3 Oct 2000 19:22:21 +0100 (BST) To: Rich Winkel Cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV under FBSD 4.1-release with compat 3.x In-Reply-To: <200010031723.MAA23312@pencil.math.missouri.edu> References: <200009302120.PAA09314@nomad.yogotech.com> <200010031723.MAA23312@pencil.math.missouri.edu> X-Mailer: VM 6.75 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "Rich" == Rich Winkel writes: Rich> According to Nate Williams: >> > Hi, I'm having problems with jdk-1.1.8 under 4.1-R with the compat >> > 3.x libraries installed. Whatever I try, I get: >> > >> > SIGSEGV 11* segmentation violation >> >> This is almost always because the compat libraries aren't really >> installed, but are symlinks to the newer libraries. Are you >> *absolutely* sure the libraries are correctly installed? Rich> Is anyone else running java under 4.1R? Runs ok for me on 4.0-R install upgraded to 4.1-S as of Sep 14. Martin -- Martin Hopkins | martin.hopkins@insignia.com Insignia Solutions Plc, | martin@uk.freebsd.org The Mercury Centre, Wycombe Lane | Tel: (+44) 1628 539537 Wooburn Green, Bucks, HP10 0HH, UK. | Fax: (+44) 1628 539501 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 13: 2: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 82A1D37B502 for ; Tue, 3 Oct 2000 13:02:09 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id FAA11218; Wed, 4 Oct 2000 05:31:46 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010032001.FAA11218@ares.trc.adelaide.edu.au> Subject: Re: SIGSEGV under FBSD 4.1-release with compat 3.x In-Reply-To: <200010031723.MAA23312@pencil.math.missouri.edu> from Rich Winkel at "Oct 3, 2000 12:23:14 pm" To: Rich Winkel Date: Wed, 4 Oct 2000 05:31:46 +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 Rich Winkel wrote: > According to Nate Williams: > > > Hi, I'm having problems with jdk-1.1.8 under 4.1-R with the compat > > > 3.x libraries installed. Whatever I try, I get: > > > > > > SIGSEGV 11* segmentation violation > > > > This is almost always because the compat libraries aren't really > > installed, but are symlinks to the newer libraries. Are you > > *absolutely* sure the libraries are correctly installed? > > Thanks for the reply! > > I ran "find . -type l -print" under /usr/lib/compat and found only two: > ./aout/libcrypt.so.2.0 > ./aout/libtermlib.so.2.1 Ok, well what you are looking for is /usr/lib/compat/libc.so.3. Here is the information from my 4.1-R system with the 3.x compat libraries installed: > ls -l /usr/lib/compat/libc.so.3 -r--r--r-- 1 root wheel 520040 Jul 28 22:34 /usr/lib/compat/libc.so.3 > md5 /usr/lib/compat/libc.so.3 MD5 (/usr/lib/compat/libc.so.3) = a1fb1ba200942ff34a90e9cbb4c84c80 If those pieces of information are different to that on your system then that may be the cause of your problem. JDK 1.1.8 does work ok for me. > Just to be sure I ran /stand/sysinstall and > installed the compat3.x libraries from the 4.1 CD, and rebooted. > Still the same problem. That is odd, I installed off the cdrom too. > Is anyone else running java under 4.1R? Yep, multiple versions even :). - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 13:34:30 2000 Delivered-To: freebsd-java@freebsd.org Received: from insws8501.gs.com (insws8501.gs.com [204.4.182.10]) by hub.freebsd.org (Postfix) with ESMTP id 97DAF37B503 for ; Tue, 3 Oct 2000 13:34:28 -0700 (PDT) Received: from insmo8501.inz.gs.com (insmo8501.inz.gs.com [192.168.116.25]) by insws8501.gs.com (Postfix) with ESMTP id A55E11C10F for ; Tue, 3 Oct 2000 16:34:03 -0400 (EDT) Received: from gsno17a.wan.gs.com (gsno17a.wan.gs.com [154.4.178.87]) by insmo8501.inz.gs.com (Postfix) with SMTP id 809122E7DD for ; Tue, 3 Oct 2000 16:34:03 -0400 (EDT) Received: from 138.8.220.34 by gsno17a.wan.gs.com (InterScan E-Mail VirusWall NT); Tue, 03 Oct 2000 16:34:03 -0400 (Eastern Daylight Time) Received: from AJNewman.net (FWCTNM227.ny.fw.gs.com [148.86.141.14]) by nbcppsh01.wan.gs.com (8.9.1a/8.9.0/postoffice1) with ESMTP id QAA25583 for ; Tue, 3 Oct 2000 16:34:02 -0400 (EDT) Message-ID: <39DA42BA.808EB629@AJNewman.net> Date: Tue, 03 Oct 2000 16:34:02 -0400 From: "Newman, Alexander" X-Mailer: Mozilla 4.75 [en]C-CCK-MCD CPT-2 (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Sun Keynote at JavaCon2000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable on the slides was an official port of JDK1.3 to FreeBSD/BSDi. Regards (and thanks for all the excellent work) Alexander To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 15: 9:55 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id 0033437B66C for ; Tue, 3 Oct 2000 15:09:50 -0700 (PDT) Received: from forge (www.kpi.com.au [203.39.132.210]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id KAA47860 for ; Wed, 4 Oct 2000 10:14:23 +1100 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: Subject: RE: Sun Keynote at JavaCon2000 Date: Wed, 4 Oct 2000 09:16:36 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <39DA42BA.808EB629@AJNewman.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thats fantastic news, Cheers, Joe > -----Original Message----- > From: owner-freebsd-java@FreeBSD.ORG > [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Newman, Alexander > Sent: Wednesday, October 04, 2000 7:34 AM > To: freebsd-java@FreeBSD.ORG > Subject: Sun Keynote at JavaCon2000 >=20 >=20 > FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and = notable > on the slides was an official port of JDK1.3 to FreeBSD/BSDi. >=20 > Regards (and thanks for all the excellent work) >=20 > Alexander >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 15:30:54 2000 Delivered-To: freebsd-java@freebsd.org Received: from taka.swcp.com (taka.swcp.com [198.59.115.12]) by hub.freebsd.org (Postfix) with ESMTP id 9411C37B66C for ; Tue, 3 Oct 2000 15:30:51 -0700 (PDT) Received: from argotsoft.com (argotsoft.com [198.59.115.127]) by taka.swcp.com (8.10.0.Beta12/8.10.0.Beta12) with ESMTP id e93MUnU75806 for ; Tue, 3 Oct 2000 16:30:49 -0600 (MDT) Received: from rincon (rincon.argotsoft.com [192.168.3.102]) by argotsoft.com (8.9.3/8.8.7) with SMTP id QAA35793 for ; Tue, 3 Oct 2000 16:13:30 -0600 (MDT) (envelope-from msommer@argotsoft.com) Message-Id: <3.0.3.32.20001003161327.00a63820@mail> X-Sender: msommer@mail X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Tue, 03 Oct 2000 16:13:27 -0600 To: freebsd-java@FreeBSD.ORG From: "Mark J. Sommer" Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <39DA42BA.808EB629@AJNewman.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Oh man, is that ever good news. But we'll wait and see. At 04:34 PM 10/3/00 -0400, Newman, Alexander wrote: >FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable >on the slides was an official port of JDK1.3 to FreeBSD/BSDi. > >Regards (and thanks for all the excellent work) > >Alexander > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-java" in the body of the message > > ~Mark -------------------------------------------------------------------------------- Mark J. Sommer ARGOT Software Corporation, P.O. Box 92020, Albuquerque, New Mexico 87199-2020 FAX: 505-771-0274 PHONE: 505-867-6750 E-MAIL: msommer@argotsoft.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 15:57: 3 2000 Delivered-To: freebsd-java@freebsd.org Received: from ebola.biohz.net (ebola.biohz.net [206.80.1.35]) by hub.freebsd.org (Postfix) with ESMTP id 5473737B66C for ; Tue, 3 Oct 2000 15:56:57 -0700 (PDT) Received: from flu (localhost [127.0.0.1]) by ebola.biohz.net (Postfix) with SMTP id B545B3A2C9 for ; Tue, 3 Oct 2000 15:56:56 -0700 (PDT) Message-ID: <004301c02d8d$3b050fc0$0302010a@biohz.net> From: "Renaud Waldura" To: References: <3.0.3.32.20001003161327.00a63820@mail> Subject: Re: Sun Keynote at JavaCon2000 Date: Tue, 3 Oct 2000 15:56:56 -0700 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.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is *very* exciting news. I had to let go of a lot of my FreeBSD installs only because I found it impossible to justify running the Linux JDK in "emulation mode" on FreeBSD when it could be running so well (so fast) in native mode on a Linux box with an equivalent price tag. Any documents related to this port on the Sun site? --Renaud ----- Original Message ----- From: Mark J. Sommer To: Sent: Tuesday, October 03, 2000 3:13 PM Subject: Re: Sun Keynote at JavaCon2000 > Oh man, is that ever good news. But we'll wait and see. > > At 04:34 PM 10/3/00 -0400, Newman, Alexander wrote: > >FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable > >on the slides was an official port of JDK1.3 to FreeBSD/BSDi. > > > >Regards (and thanks for all the excellent work) > > > >Alexander > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-java" in the body of the message > > > > > > ~Mark > -------------------------------------------------------------------------- ------ > Mark J. Sommer ARGOT Software Corporation, > P.O. Box 92020, Albuquerque, New Mexico 87199-2020 > FAX: 505-771-0274 PHONE: 505-867-6750 E-MAIL: msommer@argotsoft.com > > > > 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 Tue Oct 3 16: 4:21 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 4C97337B502 for ; Tue, 3 Oct 2000 16:04:20 -0700 (PDT) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id TAA289632; Tue, 3 Oct 2000 19:03:54 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <39DA42BA.808EB629@AJNewman.net> References: <39DA42BA.808EB629@AJNewman.net> Date: Tue, 3 Oct 2000 19:03:52 -0400 To: "Newman, Alexander" , freebsd-java@FreeBSD.ORG From: Garance A Drosihn Subject: Re: Sun Keynote at JavaCon2000 Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 4:34 PM -0400 10/3/00, Newman, Alexander wrote: >FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, >and notable on the slides was an official port of JDK1.3 to >FreeBSD/BSDi. > >Regards (and thanks for all the excellent work) Was there anything said about an expected timetable? --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 16:29:17 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id BB95537B503 for ; Tue, 3 Oct 2000 16:29:14 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id RAA05797; Tue, 3 Oct 2000 17:29:13 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id RAA27099; Tue, 3 Oct 2000 17:29:12 -0600 (MDT) (envelope-from nate) Date: Tue, 3 Oct 2000 17:29:12 -0600 (MDT) Message-Id: <200010032329.RAA27099@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Newman, Alexander" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <39DA42BA.808EB629@AJNewman.net> References: <39DA42BA.808EB629@AJNewman.net> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable > on the slides was an official port of JDK1.3 to FreeBSD/BSDi. Really? First I've heard about this, and I've been in direct contact with Sun on this. This isn't to say that it isn't true, but suffice it to say that I'm thinking someone may have gotten their stories crossed inside of Sun. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 3 21:41:33 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 AEA8837B66C for ; Tue, 3 Oct 2000 21:41:30 -0700 (PDT) Received: from netrinsics.com([202.106.223.84]) by public.bta.net.cn(JetMail 2.5.3.0) with SMTP id jm039dafe92; Wed, 4 Oct 2000 04:41:22 -0000 Received: (from robinson@localhost) by netrinsics.com (8.11.0/8.9.3) id e944go000679 for freebsd-java@FreeBSD.ORG; Wed, 4 Oct 2000 12:42:50 +0800 (+0800) (envelope-from robinson) Date: Wed, 4 Oct 2000 12:42:50 +0800 (+0800) From: Michael Robinson Message-Id: <200010040442.e944go000679@netrinsics.com> To: freebsd-java@FreeBSD.ORG Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <39DA42BA.808EB629@AJNewman.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable >on the slides was an official port of JDK1.3 to FreeBSD/BSDi. And two years ago they had slides with Hotspot outperforming C++. If Sun/BSDi have multiple programmers tasked, milestones, and a release schedule, then why is it such a big secret? If not, then what is that slide supposed to mean? That when Nate and Greg get done doing all the work in their spare time, Sun will bless it as an official Sun product (ala Blackdown)? Something else? -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 0: 5: 3 2000 Delivered-To: freebsd-java@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-99.zoominternet.net [24.154.28.99]) by hub.freebsd.org (Postfix) with ESMTP id 1740D37B66D for ; Wed, 4 Oct 2000 00:05:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by topperwein.dyndns.org (8.11.0/8.11.0) with ESMTP id e9475Qk01944 for ; Wed, 4 Oct 2000 03:05:32 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Wed, 4 Oct 2000 03:05:26 -0400 (EDT) From: Chris BeHanna Reply-To: behanna@zbzoom.net To: FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <3.0.3.32.20001003161327.00a63820@mail> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 3 Oct 2000, Mark J. Sommer wrote: > Oh man, is that ever good news. But we'll wait and see. > > [...Sun announced that JDK 1.3 will be ported to FreeBSD...] I hope they'll port HotSpot while they're at it. The performance improvement is dramatic. More good news: there's a JSR in the approval process to add C++ style templates to Java. Hooray! -- Chris BeHanna Software Engineer (at yourfit.com) behanna@zbzoom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 6:57:41 2000 Delivered-To: freebsd-java@freebsd.org Received: from firewall.ox.com (firewall.ox.com [129.77.1.1]) by hub.freebsd.org (Postfix) with ESMTP id 18E6537B502 for ; Wed, 4 Oct 2000 06:57:39 -0700 (PDT) Received: from firewall.ox.com (root@localhost) by firewall.ox.com with ESMTP id JAA13198; Wed, 4 Oct 2000 09:57:38 -0400 (EDT) Received: from pur-sv-exchgw1.ny.ox.com (pur-sv-exchgw1.ny.ox.com [129.77.2.49]) by firewall.ox.com with ESMTP id JAA13194; Wed, 4 Oct 2000 09:57:37 -0400 (EDT) Received: from ox.com (129.77.2.196 [129.77.2.196]) by pur-sv-exchgw1.ny.ox.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id TX9FNQ0W; Wed, 4 Oct 2000 09:57:37 -0400 Message-ID: <39DB3748.72E7C55@ox.com> Date: Wed, 04 Oct 2000 09:57:28 -0400 From: Rob Furphy X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-3smp i686) X-Accept-Language: en MIME-Version: 1.0 To: behanna@zbzoom.net Cc: FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 - C++ templates References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm curious, what is it about C++ style templates that you feel will be good for java? (Anyone?) I don't see mention of such a jsr here: http://java.sun.com/aboutJava/communityprocess/search.html just this (from 1996): http://developer.java.sun.com/developer/techDocs/SearchData/qa/RE__Templates_in_JAVA.html and a discussion here http://forum.java.sun.com/read/16789759/q_7AqCh8PLXkAAZIZ#LR Rob F. Chris BeHanna wrote: > On Tue, 3 Oct 2000, Mark J. Sommer wrote: > > > Oh man, is that ever good news. But we'll wait and see. > > > > [...Sun announced that JDK 1.3 will be ported to FreeBSD...] > > I hope they'll port HotSpot while they're at it. The performance > improvement is dramatic. > > More good news: there's a JSR in the approval process to add C++ > style templates to Java. Hooray! > > -- > Chris BeHanna > Software Engineer (at yourfit.com) > behanna@zbzoom.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 7:36:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by hub.freebsd.org (Postfix) with ESMTP id 5309237B66C for ; Wed, 4 Oct 2000 07:36:42 -0700 (PDT) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.0) with SMTP id AAA05784; Thu, 5 Oct 2000 00:36:27 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 5 Oct 2000 00:36:27 +1000 (EST) From: Ian Smith To: "Newman, Alexander" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <39DA42BA.808EB629@AJNewman.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 3 Oct 2000, Newman, Alexander wrote: > FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable > on the slides was an official port of JDK1.3 to FreeBSD/BSDi. Yay! > Regards (and thanks for all the excellent work) Aye! Cheers, Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 8: 1:51 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 AE10637B66C for ; Wed, 4 Oct 2000 08:01:42 -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 SAA01394; Wed, 4 Oct 2000 18:01:39 +0300 (EET DST) Received: by netmode.ece.ntua.gr (Postfix, from userid 410) id 11BBA85C3; Wed, 4 Oct 2000 17:45:51 +0300 (EET DST) Date: Wed, 4 Oct 2000 17:45:51 +0300 From: Panagiotis Astithas To: Rob Furphy Cc: behanna@zbzoom.net, FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 - C++ templates Message-ID: <20001004174551.B12725@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr References: <39DB3748.72E7C55@ox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <39DB3748.72E7C55@ox.com>; from rfurphy@ox.com on Wed, Oct 04, 2000 at 09:57:28AM -0400 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 Wed, Oct 04, 2000 at 09:57:28AM -0400, Rob Furphy wrote: > I'm curious, > what is it about C++ style templates that you feel will be good for > java? > (Anyone?) You may find a few answers here: http://www.ddj.com/articles/2000/0002/0002a/0002a.htm -past To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 8:57:19 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 9F79237B66D for ; Wed, 4 Oct 2000 08:57:16 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA21821; Wed, 4 Oct 2000 09:57:15 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA00298; Wed, 4 Oct 2000 09:57:14 -0600 (MDT) (envelope-from nate) Date: Wed, 4 Oct 2000 09:57:14 -0600 (MDT) Message-Id: <200010041557.JAA00298@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: behanna@zbzoom.net Cc: FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: References: <3.0.3.32.20001003161327.00a63820@mail> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Oh man, is that ever good news. But we'll wait and see. > > > > [...Sun announced that JDK 1.3 will be ported to FreeBSD...] > > I hope they'll port HotSpot while they're at it. The performance > improvement is dramatic. In order to get 'dramatic' performance, we need kernel threads. FreeBSD doesn't (yet) have kernel threads. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 8:57:57 2000 Delivered-To: freebsd-java@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-99.zoominternet.net [24.154.28.99]) by hub.freebsd.org (Postfix) with ESMTP id 52F8F37B503 for ; Wed, 4 Oct 2000 08:57:55 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by topperwein.dyndns.org (8.11.0/8.11.0) with ESMTP id e94FwUk03493 for ; Wed, 4 Oct 2000 11:58:31 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Wed, 4 Oct 2000 11:58:30 -0400 (EDT) From: Chris BeHanna Reply-To: behanna@zbzoom.net To: FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 - C++ templates In-Reply-To: <39DB3748.72E7C55@ox.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 Wed, 4 Oct 2000, Rob Furphy wrote: > I'm curious, what is it about C++ style templates that you feel will > be good for java? > (Anyone?) Type-safe collections, allowing compile-time type-checking. In large C++ systems, huge numbers of potential errors are caught this way. Better 100 compile-time errors than a single run-time error--*especially* if that error is discovered after deployment! There are other uses; e.g., generic algorithms implemented in template classes that again offer compile-time type checking, thereby reducing the number of run-time type errors that you'd have to track down. > I don't see mention of such a jsr here: > http://java.sun.com/aboutJava/communityprocess/search.html Try http://java.sun.com/aboutJava/communityprocess/jsr/jsr_014_gener.html . -- Chris BeHanna Software Engineer (at yourfit.com) behanna@zbzoom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 8:58:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 6B8EE37B503 for ; Wed, 4 Oct 2000 08:58:41 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA21850; Wed, 4 Oct 2000 09:58:40 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA00320; Wed, 4 Oct 2000 09:58:39 -0600 (MDT) (envelope-from nate) Date: Wed, 4 Oct 2000 09:58:39 -0600 (MDT) Message-Id: <200010041558.JAA00320@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael Robinson Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <200010040442.e944go000679@netrinsics.com> References: <39DA42BA.808EB629@AJNewman.net> <200010040442.e944go000679@netrinsics.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable > >on the slides was an official port of JDK1.3 to FreeBSD/BSDi. > > And two years ago they had slides with Hotspot outperforming C++. > > If Sun/BSDi have multiple programmers tasked, milestones, and a release > schedule, then why is it such a big secret? > > If not, then what is that slide supposed to mean? That when Nate and > Greg get done doing all the work in their spare time, Sun will bless > it as an official Sun product (ala Blackdown)? Something else? As I understand, 'official' doesn't mean 'Sun product', but means 'Sun blessed'. In other words, it passes the JCK, meaning it's an 'official' Java licensed product just like JBuilder, VCafe, and other Java products. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 9:13: 0 2000 Delivered-To: freebsd-java@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-99.zoominternet.net [24.154.28.99]) by hub.freebsd.org (Postfix) with ESMTP id 4B72337B66D for ; Wed, 4 Oct 2000 09:12:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by topperwein.dyndns.org (8.11.0/8.11.0) with ESMTP id e94GDVk03545 for ; Wed, 4 Oct 2000 12:13:31 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Wed, 4 Oct 2000 12:13:31 -0400 (EDT) From: Chris BeHanna Reply-To: behanna@zbzoom.net To: FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <200010041557.JAA00298@nomad.yogotech.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 Wed, 4 Oct 2000, Nate Williams wrote: > > > Oh man, is that ever good news. But we'll wait and see. > > > > > > [...Sun announced that JDK 1.3 will be ported to FreeBSD...] > > > > I hope they'll port HotSpot while they're at it. The performance > > improvement is dramatic. > > In order to get 'dramatic' performance, we need kernel threads. FreeBSD > doesn't (yet) have kernel threads. I don't disagree; however, my own experience was that the quality of the JIT makes an enormous difference (factor of ten, by my observation: IBM JDK 1.3.0's JVM executes the LINPACK benchmark ten times faster than Blackdown's 1.2.2 or Kaffe's JVM). -- Chris BeHanna Software Engineer (at yourfit.com) behanna@zbzoom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 9:16:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 5023A37B502 for ; Wed, 4 Oct 2000 09:16:29 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA22143; Wed, 4 Oct 2000 10:16:27 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA00401; Wed, 4 Oct 2000 10:16:27 -0600 (MDT) (envelope-from nate) Date: Wed, 4 Oct 2000 10:16:27 -0600 (MDT) Message-Id: <200010041616.KAA00401@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: behanna@zbzoom.net Cc: FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: References: <200010041557.JAA00298@nomad.yogotech.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > Oh man, is that ever good news. But we'll wait and see. > > > > > > > > [...Sun announced that JDK 1.3 will be ported to FreeBSD...] > > > > > > I hope they'll port HotSpot while they're at it. The performance > > > improvement is dramatic. > > > > In order to get 'dramatic' performance, we need kernel threads. FreeBSD > > doesn't (yet) have kernel threads. > > I don't disagree; however, my own experience was that the quality > of the JIT makes an enormous difference (factor of ten, by my > observation: IBM JDK 1.3.0's JVM executes the LINPACK benchmark ten > times faster than Blackdown's 1.2.2 or Kaffe's JVM). I didn't make myself clear. In order for HotSpot to have dramatic performance improvements, we need kernel threads. HotSpot assumes that multiple system calls can be made at the same time, and as such *requires* kernel threads. (At least, this is the consensus we came up with while talking with the Sun engineers.) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 14:16: 5 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 B167737B502 for ; Wed, 4 Oct 2000 14:16:01 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id GAA27898; Thu, 5 Oct 2000 06:45:50 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010042115.GAA27898@ares.trc.adelaide.edu.au> Subject: Re: Sun Keynote at JavaCon2000 - C++ templates In-Reply-To: from Chris BeHanna at "Oct 4, 2000 11:58:30 am" To: behanna@zbzoom.net Date: Thu, 5 Oct 2000 06:45:50 +0930 (CST) Cc: FreeBSD-Java 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 Chris BeHanna wrote: > On Wed, 4 Oct 2000, Rob Furphy wrote: > > > I'm curious, what is it about C++ style templates that you feel will > > be good for java? > > (Anyone?) > > Type-safe collections, allowing compile-time type-checking. In > large C++ systems, huge numbers of potential errors are caught this > way. Better 100 compile-time errors than a single run-time > error--*especially* if that error is discovered after deployment! > > There are other uses; e.g., generic algorithms implemented in > template classes that again offer compile-time type checking, thereby > reducing the number of run-time type errors that you'd have to track > down. What he said :). Yay! I have definitely missed this feature in Java. Not only do you get the much improved compile time type safety Chris has mentioned above, there are also potential performance benefits. - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 15:55:14 2000 Delivered-To: freebsd-java@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-99.zoominternet.net [24.154.28.99]) by hub.freebsd.org (Postfix) with ESMTP id 1955537B503 for ; Wed, 4 Oct 2000 15:55:11 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by topperwein.dyndns.org (8.11.0/8.11.0) with ESMTP id e94Msvk47005; Wed, 4 Oct 2000 18:54:57 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Wed, 4 Oct 2000 18:54:57 -0400 (EDT) From: Chris BeHanna Reply-To: behanna@zbzoom.net To: Jay Sachs Cc: Greg Lewis , FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 - C++ templates In-Reply-To: <39DBA3DF.427E0BF0@avacet.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 Wed, 4 Oct 2000, Jay Sachs wrote: > Greg Lewis wrote: > > > > Chris BeHanna wrote: > > > On Wed, 4 Oct 2000, Rob Furphy wrote: > > > > > > > I'm curious, what is it about C++ style templates that you feel will > > > > be good for java? > > > > (Anyone?) > > > > > > Type-safe collections, allowing compile-time type-checking. In > > > large C++ systems, huge numbers of potential errors are caught this > > > way. Better 100 compile-time errors than a single run-time > > > error--*especially* if that error is discovered after deployment! > > > > > > There are other uses; e.g., generic algorithms implemented in > > > template classes that again offer compile-time type checking, thereby > > > reducing the number of run-time type errors that you'd have to track > > > down. > > > > What he said :). Yay! I have definitely missed this feature in Java. > > > > Not only do you get the much improved compile time type safety Chris has > > mentioned above, there are also potential performance benefits. > > Unfortunately, these performance benefits won't be realized because of > the need to maintain compatibility at the JVM level. If you look at GJ > (nee Pizza I think), the GJ compiler still needs to insert all sorts of > casts that it knows will succeed. GJ is a prototype proof-of-concept, not a product-quality offering. JVM compatibility is explicitly *NOT* a requirement listed in the JSR, precisely for this reason. At least, that is to say that .class files made with an earlier javac are not required to run on a template-enabled JVM. Source-code backward compatibility is a requirement, however. Hearken back: In the beginning, there was cfront, and yea, verily, it had its limitations. Time passed, and very good "real" C++ compilers evolved. I would not expect anything different from GJ and javac. -- Chris BeHanna Software Engineer (at yourfit.com) behanna@zbzoom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 4 22:52:42 2000 Delivered-To: freebsd-java@freebsd.org Received: from ebola.biohz.net (ebola.biohz.net [206.80.1.35]) by hub.freebsd.org (Postfix) with ESMTP id D36D837B503 for ; Wed, 4 Oct 2000 22:52:40 -0700 (PDT) Received: from flu (localhost [127.0.0.1]) by ebola.biohz.net (Postfix) with SMTP id 5B85D3A2C9; Wed, 4 Oct 2000 22:52:35 -0700 (PDT) Message-ID: <00e801c02e90$75f47fe0$0302010a@biohz.net> From: "Renaud Waldura" To: , "Jay Sachs" Cc: "Greg Lewis" , "FreeBSD-Java" References: Subject: Re: Sun Keynote at JavaCon2000 - C++ templates Date: Wed, 4 Oct 2000 22:52:35 -0700 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.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org How are we going to create those generic classes by name? It doesn't seem to be addressed in the spec. What if the parameterized type doesn't exist yet? I don't know about this... It really looks like to me that in effect parameterized classes are meta-classes, and maybe they should be identified as such. How about a meta class type, that you can instantiate with your parameter type the regular way? It sounds like a parameterized class is a class describing potentially many very different classes: a meta class. Just like classes specify instances with different fields, meta classes specify classes with different types. "Instantiate" a meta class to get a class parameterized to your type. It feels like we're about to introduce this strange new citizen into the language, the "parameterized class", which is not really a class, but somehow is. --Renaud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 5 9: 7:47 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 BF80B37B502 for ; Thu, 5 Oct 2000 09:07:44 -0700 (PDT) Received: from netrinsics.com([202.106.223.177]) by public.bta.net.cn(JetMail 2.5.3.0) with SMTP id jm1d39dcf0e4; Thu, 5 Oct 2000 16:07:33 -0000 Received: (from robinson@localhost) by netrinsics.com (8.11.0/8.9.3) id e95G91507364 for freebsd-java@FreeBSD.ORG; Fri, 6 Oct 2000 00:09:01 +0800 (+0800) (envelope-from robinson) Date: Fri, 6 Oct 2000 00:09:01 +0800 (+0800) From: Michael Robinson Message-Id: <200010051609.e95G91507364@netrinsics.com> To: freebsd-java@FreeBSD.ORG Subject: Re: Sun Keynote at JavaCon2000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> >FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable >> >on the slides was an official port of JDK1.3 to FreeBSD/BSDi. >As I understand, 'official' doesn't mean 'Sun product', but means 'Sun >blessed'. In other words, it passes the JCK, meaning it's an 'official' >Java licensed product just like JBuilder, VCafe, and other Java >products. So, basically, the aforementioned slide really means that they've signed paperwork that allows Nate Williams (or anyone else licensed to use the JCK), to create "an official port of JDK1.3 to FreeBSD". You do all the work, they do all the self-congradulation. Same old same old. -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 5 9:48:35 2000 Delivered-To: freebsd-java@freebsd.org Received: from topperwein.dyndns.org (acs-24-154-28-99.zoominternet.net [24.154.28.99]) by hub.freebsd.org (Postfix) with ESMTP id BAA6837B502 for ; Thu, 5 Oct 2000 09:48:31 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by topperwein.dyndns.org (8.11.0/8.11.0) with ESMTP id e95Gn5k49779 for ; Thu, 5 Oct 2000 12:49:05 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Thu, 5 Oct 2000 12:49:05 -0400 (EDT) From: Chris BeHanna Reply-To: behanna@zbzoom.net To: FreeBSD-Java Subject: Re: Sun Keynote at JavaCon2000 - C++ templates In-Reply-To: <00e801c02e90$75f47fe0$0302010a@biohz.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 4 Oct 2000, Renaud Waldura wrote: > How are we going to create those generic classes by name? It doesn't > seem to be addressed in the spec. What if the parameterized type > doesn't exist yet? Specializations of a template are created by a compiler on an as-needed basis. Typically, what is done in C++ is that you #include the header file that defines the template class, and the specialized prototypes are generated based upon what uses your compilation module has for the template. Some C++ compilers will look for a template implementation in the same location as the header file, while others require you to #include that, too. Java does not have a preprocessor, per se; however, an import specification that imports the template class will allow javac (or gjc) to generate the specializations required for the uses that the given compilation module has for the template. Example: --- file HashMap.java public class HashMap implements Map { //... ctors and stuff go here public void add( S key, T obj) { ... } public T get( S key) { ... } // and so on } --- file Fred.java import java.util.Map; import java.util.HashMap; public class Fred { Map map = new HashMap(); public static void main(String[] args) { Fred f = new Fred(); for( int i=0; i<(args.length)/2; i+=2) { f.add( args[i], args[i+1]); } } } That's a contrived example, to be sure. In this case, a specialization of HashMap to HashMap is generated, which then becomes a first-class type. Its add method is specialized to public void add( String key, String obj) and its get method is specialized to public String get( String key) This way, the compiler can catch any problems with trying to pass parameters of the wrong type or trying to assign to values of the wrong type. Yes, these errors can creep into large systems when the left hand is not aware of what the right is doing, and vice-versa. It's just one more thing to help you with correctness of your software, and, because the Java can know in advance that the specialization is of a specific type, more efficient bytecode can be generated (and, perhaps, the JIT can generate more efficient native code). > I don't know about this... It really looks like to me that in effect > parameterized classes are meta-classes, and maybe they should be identified > as such. How about a meta class type, that you can instantiate with your > parameter type the regular way? > > It sounds like a parameterized class is a class describing potentially many > very different classes: a meta class. Just like classes specify instances > with different fields, meta classes specify classes with different types. > "Instantiate" a meta class to get a class parameterized to your type. > > It feels like we're about to introduce this strange new citizen into the > language, the "parameterized class", which is not really a class, but > somehow is. This sounds to me more like a nomenclature problem. In C++ land, the addition of templates allowed people to get away from using awful DECLARE() macros. Although we don't have a macro preprocessor in Java, someone could easily use the C preprocessor to do the same thing, if they really had to (I even thought of doing this myself, to avoid the ugliness and lack of run-time type safety that ensues from having to cast everything back from Object when using Java collections). -- Chris BeHanna Software Engineer (at yourfit.com) behanna@zbzoom.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 5 9:50: 0 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id D641837B66C for ; Thu, 5 Oct 2000 09:49:57 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA15990; Thu, 5 Oct 2000 10:49:56 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA11455; Thu, 5 Oct 2000 10:49:55 -0600 (MDT) (envelope-from nate) Date: Thu, 5 Oct 2000 10:49:55 -0600 (MDT) Message-Id: <200010051649.KAA11455@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael Robinson Cc: freebsd-java@FreeBSD.ORG Subject: Re: Sun Keynote at JavaCon2000 In-Reply-To: <200010051609.e95G91507364@netrinsics.com> References: <200010051609.e95G91507364@netrinsics.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> >FYI, George Paolini (VP Sun) gave a keynote at JavaCon2000, and notable > >> >on the slides was an official port of JDK1.3 to FreeBSD/BSDi. > > >As I understand, 'official' doesn't mean 'Sun product', but means 'Sun > >blessed'. In other words, it passes the JCK, meaning it's an 'official' > >Java licensed product just like JBuilder, VCafe, and other Java > >products. > > So, basically, the aforementioned slide really means that they've signed > paperwork that allows Nate Williams (or anyone else licensed to use the JCK), > to create "an official port of JDK1.3 to FreeBSD". Sort of. The license isn't *yet* signed, because Sun's lawyers are having a difficult time finding acceptable verbage that allows us to do everything we want to do. However, I've been promised I'll have something in hand before ApacheCon. Dealing with big companies and lawyers has been an 'enlightening' experience, that's for sure. :) :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 5 16:54:31 2000 Delivered-To: freebsd-java@freebsd.org Received: from oracle.clara.net (oracle.clara.net [195.8.69.94]) by hub.freebsd.org (Postfix) with ESMTP id 5FF5C37B503 for ; Thu, 5 Oct 2000 16:54:29 -0700 (PDT) Received: from [195.8.84.151] (helo=myname.my.domain) by oracle.clara.net with esmtp (Exim 3.11 #5) id 13hKqG-0006IS-00 for freebsd-java@freebsd.org; Fri, 06 Oct 2000 00:54:27 +0100 Received: (from alex@localhost) by myname.my.domain (8.9.3/8.9.3) id AAA01017 for freebsd-java@freebsd.org; Fri, 6 Oct 2000 00:59:45 +0100 (BST) (envelope-from alex) Date: Fri, 6 Oct 2000 00:59:42 +0100 From: "Aleksandar Simic'" To: freebsd-java@freebsd.org Subject: FreeBSD Java Message-ID: <20001006005941.A998@frustum.clara.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 6 8:23:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from oracle.clara.net (oracle.clara.net [195.8.69.94]) by hub.freebsd.org (Postfix) with ESMTP id CFA4137B66E for ; Fri, 6 Oct 2000 08:23:33 -0700 (PDT) Received: from [195.8.89.193] (helo=myname.my.domain) by oracle.clara.net with esmtp (Exim 3.11 #5) id 13hZLQ-000Pa0-00 for freebsd-java@freebsd.org; Fri, 06 Oct 2000 16:23:32 +0100 Received: (from alex@localhost) by myname.my.domain (8.9.3/8.9.3) id QAA00784 for freebsd-java@freebsd.org; Fri, 6 Oct 2000 16:27:16 +0100 (BST) (envelope-from alex) Date: Fri, 6 Oct 2000 16:27:15 +0100 From: "Aleksandar Simic'" To: freebsd-java@freebsd.org Subject: Java CLASSPATH problem Message-ID: <20001006162715.A745@frustum.clara.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I just installed Java and I cannot get it to work properly. If you can help me I would be very grateful. Here is the necessary information: [alex@~/study/internet_prog_3sfe217] uname -a FreeBSD myname.my.domain 4.0-RELEASE FreeBSD 4.0-RELEASE #3: Sat May 27 19:54:30 BST 2000 alex@myname.my.domain:/usr/src/sys/compile/ALEX i386 // A first java program // HelloWorld.java class HelloWorld { public static void main (String args[]) { System.out.println("Hello world"); } } paths to java: [alex@~/study/internet_prog_3sfe217] which java /usr/local/jdk1.1.8/bin/java [alex@~/study/internet_prog_3sfe217] which javac /usr/local/jdk1.1.8/bin/javac [alex@~/study/internet_prog_3sfe217] classpath set in ~/.profile: CLASSPATH=.:/usr/local/jdk1.1.8/lib/calsses.zip; export CLASSPATH [alex@~/study/internet_prog_3sfe217] echo $CLASSPATH .:/usr/local/jdk1.1.8/lib/calsses.zip Then I do this: [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java [alex@~/study/internet_prog_3sfe217] java HelloWorld.class Can't find class HelloWorld.class [alex@~/study/internet_prog_3sfe217] ls -l total 2823 drwxr-xr-x 2 alex alex - 512 Oct 6 16:21 ./ drwxr-xr-x 14 alex alex - 512 Oct 6 00:00 ../ -rw-r--r-- 1 alex alex - 471 Oct 6 16:13 HelloWorld.class -rw-r--r-- 1 alex alex - 137 Oct 6 00:11 HelloWorld.java -rw-r--r-- 1 alex alex - 27583 Oct 6 01:12 install_java.html -rw-r--r-- 1 alex alex - 2842999 Oct 6 01:35 jdk-1_1_8_003-doc.tar.gz [alex@~/study/internet_prog_3sfe217] What am I doing wrong ? Thank you in advance. --Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 6 8:29:35 2000 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 3C3D737B66D for ; Fri, 6 Oct 2000 08:29:32 -0700 (PDT) Received: from dittohead.is.titech.ac.jp.is.titech.ac.jp by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id AAA21388; Sat, 7 Oct 2000 00:29:29 +0900 (JST) Date: Sat, 07 Oct 2000 00:29:59 +0900 Message-ID: <55d7hem1hk.wl@is.titech.ac.jp> From: Fuyuhiko Maruyama To: alex@frustum.clara.co.uk Cc: freebsd-java@freebsd.org Subject: Re: Java CLASSPATH problem In-Reply-To: In your message of "Fri, 6 Oct 2000 16:27:15 +0100" <20001006162715.A745@frustum.clara.co.uk> References: <20001006162715.A745@frustum.clara.co.uk> User-Agent: Wanderlust/2.2.18 (Please Forgive Me) on XEmacs/21.2.35 "Nike" MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, At Fri, 6 Oct 2000 16:27:15 +0100, Aleksandar Simic' wrote: > classpath set in ~/.profile: > CLASSPATH=.:/usr/local/jdk1.1.8/lib/calsses.zip; export CLASSPATH ^^^^^^^typo? > > [alex@~/study/internet_prog_3sfe217] echo $CLASSPATH > .:/usr/local/jdk1.1.8/lib/calsses.zip ^^^^^^^typo? In fact, you need not specify these. > [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java > [alex@~/study/internet_prog_3sfe217] java HelloWorld.class All you need to run your HelloWorld is java HelloWorld The suffix '.class' is never needed. Go! -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 6 8:31:40 2000 Delivered-To: freebsd-java@freebsd.org Received: from mailhost.directlink.net (mailhost.directlink.net [207.239.163.2]) by hub.freebsd.org (Postfix) with ESMTP id 2958937B66E for ; Fri, 6 Oct 2000 08:31:29 -0700 (PDT) Received: from ticklish.directlink.net [63.68.139.75] by mailhost.directlink.net with ESMTP (SMTPD32-6.03) id ABA252E0256; Fri, 06 Oct 2000 10:11:30 -0500 Date: Fri, 6 Oct 2000 10:33:42 -0500 (CDT) From: saad rehmani X-Sender: bonga@ticklish.directlink.net To: Aleksandar Simic' Cc: freebsd-java@FreeBSD.ORG Subject: Re: Java CLASSPATH problem In-Reply-To: <20001006162715.A745@frustum.clara.co.uk> 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 [alex@~/study/internet_prog_3sfe217] echo $CLASSPATH .:/usr/local/jdk1.1.8/lib/calsses.zip for one, you've misspelt classes.zip it seems. -saad On Fri, 6 Oct 2000, Aleksandar Simic' wrote: > Hello, > > I just installed Java and I cannot get it to work properly. If you can > help me I would be very grateful. > > Here is the necessary information: > > [alex@~/study/internet_prog_3sfe217] uname -a > FreeBSD myname.my.domain 4.0-RELEASE FreeBSD 4.0-RELEASE #3: Sat May > 27 19:54:30 BST 2000 alex@myname.my.domain:/usr/src/sys/compile/ALEX > i386 > > // A first java program > // HelloWorld.java > class HelloWorld > { > public static void main (String args[]) > { > System.out.println("Hello world"); > } > } > > paths to java: > > [alex@~/study/internet_prog_3sfe217] which java > /usr/local/jdk1.1.8/bin/java > [alex@~/study/internet_prog_3sfe217] which javac > /usr/local/jdk1.1.8/bin/javac > [alex@~/study/internet_prog_3sfe217] > > classpath set in ~/.profile: > CLASSPATH=.:/usr/local/jdk1.1.8/lib/calsses.zip; export CLASSPATH > > [alex@~/study/internet_prog_3sfe217] echo $CLASSPATH > .:/usr/local/jdk1.1.8/lib/calsses.zip > > Then I do this: > > [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java > [alex@~/study/internet_prog_3sfe217] java HelloWorld.class > Can't find class HelloWorld.class > [alex@~/study/internet_prog_3sfe217] ls -l > total 2823 > drwxr-xr-x 2 alex alex - 512 Oct 6 16:21 ./ > drwxr-xr-x 14 alex alex - 512 Oct 6 00:00 ../ > -rw-r--r-- 1 alex alex - 471 Oct 6 16:13 HelloWorld.class > -rw-r--r-- 1 alex alex - 137 Oct 6 00:11 HelloWorld.java > -rw-r--r-- 1 alex alex - 27583 Oct 6 01:12 install_java.html > -rw-r--r-- 1 alex alex - 2842999 Oct 6 01:35 jdk-1_1_8_003-doc.tar.gz > [alex@~/study/internet_prog_3sfe217] > > > What am I doing wrong ? Thank you in advance. > > --Alex > > > 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 Oct 6 8:43:36 2000 Delivered-To: freebsd-java@freebsd.org Received: from oracle.clara.net (oracle.clara.net [195.8.69.94]) by hub.freebsd.org (Postfix) with ESMTP id 5E7AD37B502 for ; Fri, 6 Oct 2000 08:43:33 -0700 (PDT) Received: from [195.8.89.193] (helo=myname.my.domain) by oracle.clara.net with esmtp (Exim 3.11 #5) id 13hZel-0000MO-00; Fri, 06 Oct 2000 16:43:32 +0100 Received: (from alex@localhost) by myname.my.domain (8.9.3/8.9.3) id QAA00982; Fri, 6 Oct 2000 16:48:45 +0100 (BST) (envelope-from alex) Date: Fri, 6 Oct 2000 16:48:44 +0100 From: "Aleksandar Simic'" To: Fuyuhiko Maruyama Cc: freebsd-java@freebsd.org Subject: Re: Java CLASSPATH problem Message-ID: <20001006164844.A864@frustum.clara.co.uk> References: <20001006162715.A745@frustum.clara.co.uk> <55d7hem1hk.wl@is.titech.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <55d7hem1hk.wl@is.titech.ac.jp>; from fuyuhik8@is.titech.ac.jp on Sat, Oct 07, 2000 at 12:29:59AM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Oct 07, 2000 at 12:29:59AM +0900, Fuyuhiko Maruyama wrote: > Hi, > > At Fri, 6 Oct 2000 16:27:15 +0100, > Aleksandar Simic' wrote: > > classpath set in ~/.profile: > > CLASSPATH=.:/usr/local/jdk1.1.8/lib/calsses.zip; export CLASSPATH > ^^^^^^^typo? Doh ! [hits the head on the nearest wall *really* hard, repeatedly] > > [alex@~/study/internet_prog_3sfe217] echo $CLASSPATH > > .:/usr/local/jdk1.1.8/lib/calsses.zip > ^^^^^^^typo? [and again] > In fact, you need not specify these. > > > [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java > > [alex@~/study/internet_prog_3sfe217] java HelloWorld.class > All you need to run your HelloWorld is > java HelloWorld > The suffix '.class' is never needed. That solved the problem. Thank you. And thanks to the rest of you for pointing this out. Fuyuhiko just happen to be the first one to spot it. > Go! Yep, I'm going ... going to sit in the corner and die of embarrassment :( Thanks again to all. --Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 6 9:18:50 2000 Delivered-To: freebsd-java@freebsd.org Received: from marcos.networkcs.com (marcos.networkcs.com [137.66.16.1]) by hub.freebsd.org (Postfix) with ESMTP id 001FF37B66E for ; Fri, 6 Oct 2000 09:18:46 -0700 (PDT) Received: from us.networkcs.com (us.networkcs.com [137.66.11.15]) by marcos.networkcs.com (8.9.3/8.9.3) with ESMTP id LAA58108; Fri, 6 Oct 2000 11:18:46 -0500 (CDT) (envelope-from jpt@us.networkcs.com) Received: (from jpt@localhost) by us.networkcs.com (8.9.2/8.9.2) id LAA09698; Fri, 6 Oct 2000 11:18:45 -0500 (CDT) (envelope-from jpt) From: Joseph Thomas Message-Id: <200010061618.LAA09698@us.networkcs.com> Subject: Re: Java CLASSPATH problem To: alex@frustum.clara.co.uk (Aleksandar Simic') Date: Fri, 6 Oct 2000 11:18:45 -0500 (CDT) Cc: fuyuhik8@is.titech.ac.jp (Fuyuhiko Maruyama), freebsd-java@FreeBSD.ORG In-Reply-To: <20001006164844.A864@frustum.clara.co.uk> from "Aleksandar Simic'" at Oct 06, 2000 04:48:44 PM X-Mailer: ELM [version 2.5 PL2] 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 > > [and again] > > > In fact, you need not specify these. > > > > > [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java > > > [alex@~/study/internet_prog_3sfe217] java HelloWorld.class > > All you need to run your HelloWorld is > > java HelloWorld > > The suffix '.class' is never needed. > > That solved the problem. Thank you. And thanks to the rest of you for > pointing this out. Fuyuhiko just happen to be the first one to spot > it. > I think it's more an issue of you CAN'T specify the trailing '.class'. Someone will correct me if I'm wrong but I believe that java will always append the .class so that when you say java HelloWorld.class it looks for HelloWorld.class.class. -- Joseph Thomas E/Mail: jpt@networkcs.com Network Computing Services, Inc. jpt@magic.net 1200 Washington Ave So. Tel: +1 612 337 3558 Minneapolis, MN 55415-1227 FAX: +1 612 337 3400 An elephant is a mouse with an operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 6 11:56:46 2000 Delivered-To: freebsd-java@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 5BF2E37B66E for ; Fri, 6 Oct 2000 11:56:43 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 13hcfi-000Hfm-00 for freebsd-java@freebsd.org; Fri, 6 Oct 2000 19:56:42 +0100 Received: (from rasputin@localhost) by dogma.freebsd-uk.eu.org (8.9.3/8.9.3) id TAA63899 for freebsd-java@freebsd.org; Fri, 6 Oct 2000 19:56:42 +0100 (BST) (envelope-from rasputin) Date: Fri, 6 Oct 2000 19:56:41 +0100 From: Rasputin To: freebsd-java@freebsd.org Subject: Re: Java CLASSPATH problem Message-ID: <20001006195641.A63752@dogma.freebsd-uk.eu.org> References: <20001006164844.A864@frustum.clara.co.uk> <200010061618.LAA09698@us.networkcs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200010061618.LAA09698@us.networkcs.com>; from jpt@networkcs.com on Fri, Oct 06, 2000 at 11:18:45AM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Oct 06, 2000 at 11:18:45AM -0500, Joseph Thomas wrote: > > > > [and again] > > > > > In fact, you need not specify these. > > > > > > > [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java > > > > [alex@~/study/internet_prog_3sfe217] java HelloWorld.class > > > All you need to run your HelloWorld is > > > java HelloWorld > > > The suffix '.class' is never needed. > > > > That solved the problem. Thank you. And thanks to the rest of you for > > pointing this out. Fuyuhiko just happen to be the first one to spot > > it. > > > > I think it's more an issue of you CAN'T specify the trailing > '.class'. Someone will correct me if I'm wrong but I believe that > java will always append the .class so that when you say > java HelloWorld.class > it looks for HelloWorld.class.class. AFAIK, the '.' is interpreted the same way it is in an 'import' statement i.e. java HelloWorld.class means: Run the class called 'class' in the package(directory) called HelloWorld. But then we knew that, didn't we? -- Rasputin Jack of All Trades :: Master of Nuns To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message