From owner-freebsd-java Mon Jul 2 1:46:58 2001 Delivered-To: freebsd-java@freebsd.org Received: from osku.suutari.iki.fi (osku.syncrontech.com [213.28.98.4]) by hub.freebsd.org (Postfix) with ESMTP id AC58137B405 for ; Mon, 2 Jul 2001 01:46:55 -0700 (PDT) (envelope-from ari@suutari.iki.fi) Received: from coffee (coffee.intranet.syncrontech.com [192.168.5.14]) by osku.suutari.iki.fi (8.11.3/8.9.3) with SMTP id f628kJq11095 for ; Mon, 2 Jul 2001 11:46:19 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Message-ID: <012e01c102d3$a6a60e20$0e05a8c0@coffee> From: "Ari Suutari" To: Subject: New ports submitted for CommAPI Date: Mon, 2 Jul 2001 11:47:39 +0300 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.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have just send-pr'd two new ports: commapi and freebsd-commapi. The first installs comm.jar from Sun's Java Communication API, the second one is an implementation, which is based on 'official' FreeBSD commapi. These ports are for use with native FreeBSD jdk 1.2.2, the commapi implementation has been patched to work with it (uses poll instead of select). I hope that these are useful to someone other also (and maybe they'll get commited someday ?) Ari S. --- Ari Suutari (ari@suutari.iki.fi) Lemi, Finland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 2 17:52: 3 2001 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 AA80437B403 for ; Mon, 2 Jul 2001 17:51:58 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 15HEQ1-000HcG-00 for freebsd-java@freebsd.org; Tue, 3 Jul 2001 01:51:57 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f630pv827074 for freebsd-java@freebsd.org; Tue, 3 Jul 2001 01:51:57 +0100 (BST) (envelope-from jcm) Date: Tue, 3 Jul 2001 01:51:57 +0100 From: j mckitrick To: freebsd-java@freebsd.org Subject: argh!! Can't get bind/rmi to work.... Message-ID: <20010703015156.A27017@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j" X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Sorry in advance this isn't BSD specific, but i am frustrated to no end. I had a simple RMI program that binds to a port. It works under 1.1, but not 1.2. Could someone tell me why not? It trips up on the Naming.rebind() call. I fussed with my securiy policy (finally have it working) and the url format (complained it was malformed). I am trying to connect to localhost. I have rmiregistry running. I whittle it down to only needing 2 small files. Please help if you can, i'm beating my head against a wall. Here is the error message: local:~/src/engine> java BindTest BindTest exception: Unknown host: BindTest; nested exception is: java.net.UnknownHostException: BindTest java.rmi.UnknownHostException: Unknown host: BindTest; nested exception is: java.net.UnknownHostException: BindTest java.net.UnknownHostException: BindTest at java.net.InetAddress.getAllByName0(InetAddress.java:577) at java.net.InetAddress.getAllByName0(InetAddress.java:546) at java.net.InetAddress.getByName(InetAddress.java:455) at java.net.Socket.(Socket.java:98) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:29) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:124) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:497) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:194) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:178) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:165) at BindTest.main(BindTest.java:30) Jonathon -- Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle black. --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="BindTest.java" /* jonathon mckitrick */ import java.rmi.*; import java.rmi.server.*; import compute.*; public class BindTest extends UnicastRemoteObject implements Compute { public BindTest() throws RemoteException { super(); } public Object executeTask() { return null; } public static void main(String[] args) { System.getSecurityManager(); // if (System.getSecurityManager() == null) // System.setSecurityManager(new RMISecurityManager()); String name = "//BindTest"; try { Compute engine = new BindTest(); Naming.rebind(name, engine); System.out.println("BindTest bound"); } catch (Exception e) { System.err.println("BindTest exception: " + e.getMessage()); e.printStackTrace(); } } } --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="Compute.java" /* jonathon mckitrick */ package compute; import java.rmi.Remote; import java.rmi.RemoteException; public interface Compute extends Remote { Object executeTask() throws RemoteException; } --nFreZHaLTZJo0R7j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 2 18:33:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id E0AD337B401 for ; Mon, 2 Jul 2001 18:33:36 -0700 (PDT) (envelope-from cedric@wireless-networks.com) Received: from [63.206.193.57] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4.7) with ESMTP id 757181; Mon, 02 Jul 2001 18:37:02 -0700 Message-ID: <3B4121FD.5080002@wireless-networks.com> Date: Mon, 02 Jul 2001 18:38:05 -0700 From: Cedric Berger User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: j mckitrick Cc: freebsd-java@freebsd.org Subject: Re: argh!! Can't get bind/rmi to work.... References: <20010703015156.A27017@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Looks like some sort of DNS issue, right? is BindTest a valid hostname on your system? I doubt it. Try replacing: String name = "//BindTest"; by tring name = "//localhost/BindTest"; Cedric j mckitrick wrote: >Sorry in advance this isn't BSD specific, but i am frustrated to no end. I >had a simple RMI program that binds to a port. It works under 1.1, but not >1.2. Could someone tell me why not? It trips up on the Naming.rebind() >call. I fussed with my securiy policy (finally have it working) and the url >format (complained it was malformed). I am trying to connect to localhost. >I have rmiregistry running. > >I whittle it down to only needing 2 small files. Please help if you can, >i'm beating my head against a wall. > >Here is the error message: > >local:~/src/engine> java BindTest >BindTest exception: Unknown host: BindTest; nested exception is: > java.net.UnknownHostException: BindTest >java.rmi.UnknownHostException: Unknown host: BindTest; nested exception is: > java.net.UnknownHostException: BindTest > >java.net.UnknownHostException: BindTest > at java.net.InetAddress.getAllByName0(InetAddress.java:577) > at java.net.InetAddress.getAllByName0(InetAddress.java:546) > at java.net.InetAddress.getByName(InetAddress.java:455) > at java.net.Socket.(Socket.java:98) > at >sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:29) > at >sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:124) > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:497) > at >sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:194) > at >sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:178) > at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322) > at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) > at java.rmi.Naming.rebind(Naming.java:165) > at BindTest.main(BindTest.java:30) > > > >Jonathon >-- >Microsoft complaining about the source license used by >Linux is like the event horizon calling the kettle black. > > >------------------------------------------------------------------------ > >/* jonathon mckitrick */ > >import java.rmi.*; >import java.rmi.server.*; >import compute.*; > >public class BindTest extends UnicastRemoteObject > implements Compute >{ > public BindTest() throws RemoteException > { > super(); > } > > public Object executeTask() > { > return null; > } > > public static void main(String[] args) > { > System.getSecurityManager(); >// if (System.getSecurityManager() == null) >// System.setSecurityManager(new RMISecurityManager()); > > String name = "//BindTest"; > try > { > Compute engine = new BindTest(); > Naming.rebind(name, engine); > System.out.println("BindTest bound"); > } catch (Exception e) > { > System.err.println("BindTest exception: " + e.getMessage()); > e.printStackTrace(); > } > } >} > > >------------------------------------------------------------------------ > >/* jonathon mckitrick */ > >package compute; > >import java.rmi.Remote; >import java.rmi.RemoteException; > >public interface Compute extends Remote >{ > Object executeTask() throws RemoteException; >} > > BindTest.java > > Content-Type: > > text/plain > > > ------------------------------------------------------------------------ > Compute.java > > Content-Type: > > text/plain > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 2 20:18:13 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.prologic.com (ns.prologic.com [209.181.124.2]) by hub.freebsd.org (Postfix) with ESMTP id CD21437B401; Mon, 2 Jul 2001 20:18:08 -0700 (PDT) (envelope-from bodkins@prologic.com) Received: from NOTEBOOK8 (notebook-8.prologic.com [209.181.124.62]) by ns.prologic.com (8.9.2/8.9.2) with SMTP id UAA76052; Mon, 2 Jul 2001 20:18:10 -0700 (MST) (envelope-from bodkins@prologic.com) Message-ID: <002801c1036e$484daae0$3e7cb5d1@NOTEBOOK8> From: "Jim Bodkins" To: Cc: Subject: Possible hotspot problems. Date: Mon, 2 Jul 2001 20:14:32 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0025_01C10333.9B4E7430" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0025_01C10333.9B4E7430 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, 4.2 and 4.3 FreeBSD on two 2xcpu smp systems. linux-jdk1.3 and = linux-jdk1.4beta. I have had such odd results with java on FreeBSD (somethings run and = others dont) that I decided to run a test. The test was to run a = standard piece of software against these two jdk's. That being Jakarta = Tomcat 3.2.2. Cant get more standard than that. It is the standard = actually. Interesting that it didnt work. Hotspot blows chunks on a = regular basis ( java.core's). I agree with an eariler comment that = threads are probably a serious problem here. I have no idea whether it is a problem with FreeBSD, = linux-threads/emulation or the jdk's themselves. Here is an obvious = question. Do the developers of the "core" code (kernel/emulators/jdk's = etc) bother testing against something as basic as this? Is this a = problem that is being fixed in 5? Should I be running 5? Is FreeBSD = doomed to serving applets or simple servlets? (It's dead if it is IMO). Something isnt right here. Any help would be appreciated. (I'm mainly = talking to the developers of the core code I think). Thanks Jim bodkins@prologic.com ------=_NextPart_000_0025_01C10333.9B4E7430 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
 
   4.2 and 4.3 FreeBSD on two = 2xcpu smp=20 systems. linux-jdk1.3 and linux-jdk1.4beta.
 
   I have had such odd = results with java=20 on FreeBSD (somethings run and others dont) that I decided to = run a=20 test. The test was to run a standard piece of software against these two = jdk's.=20 That being Jakarta Tomcat 3.2.2. Cant get more standard than that. It is = the=20 standard actually. Interesting that it didnt work. Hotspot blows chunks = on a=20 regular basis ( java.core's). I agree with an eariler comment that = threads are=20 probably a serious problem here.
 
   I have no idea whether it = is a problem=20 with FreeBSD, linux-threads/emulation or the jdk's themselves. Here is = an=20 obvious question. Do the developers of the "core" code = (kernel/emulators/jdk's=20 etc) bother testing against something as basic as this? Is this a = problem=20 that is being fixed in 5? Should I be running 5? Is FreeBSD doomed to = serving=20 applets or simple servlets? (It's dead if it is IMO).
 
   Something isnt right here. = Any help=20 would be appreciated. (I'm mainly talking to the developers of the core = code I=20 think).
 
Thanks
Jim
bodkins@prologic.com
 
 
------=_NextPart_000_0025_01C10333.9B4E7430-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 3 5:59:53 2001 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 928E037B401 for ; Tue, 3 Jul 2001 05:59:51 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 15HPmQ-000Nz7-00; Tue, 3 Jul 2001 13:59:50 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f63CxoP36849; Tue, 3 Jul 2001 13:59:50 +0100 (BST) (envelope-from jcm) Date: Tue, 3 Jul 2001 13:59:49 +0100 From: j mckitrick To: Cedric Berger Cc: freebsd-java@freebsd.org Subject: Re: argh!! Can't get bind/rmi to work.... Message-ID: <20010703135949.F35349@dogma.freebsd-uk.eu.org> References: <20010703015156.A27017@dogma.freebsd-uk.eu.org> <3B4121FD.5080002@wireless-networks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3B4121FD.5080002@wireless-networks.com>; from cedric@wireless-networks.com on Mon, Jul 02, 2001 at 06:38:05PM -0700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jul 02, 2001 at 06:38:05PM -0700, Cedric Berger wrote: | Looks like some sort of DNS issue, right? | is BindTest a valid hostname on your system? | I doubt it. | Try replacing: | | String name = "//BindTest"; | by | tring name = "//localhost/BindTest"; Well, according to the API, the host name defaults to localhost if left out, and the port defaults to 1099 (rmiregistry's default) if left out. But even when i use localhost, it doesn't work. :-\ Jonathon -- Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle black. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 3 6:21: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 8FFDE37B405 for ; Tue, 3 Jul 2001 06:21:06 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Jul 2001 15:21:04 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9D1F@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: argh!! Can't get bind/rmi to work.... Date: Tue, 3 Jul 2001 15:21:03 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Jonathon, > > | Looks like some sort of DNS issue, right? > | is BindTest a valid hostname on your system? > | I doubt it. > | Try replacing: > | > | String name = "//BindTest"; > | by > | tring name = "//localhost/BindTest"; > > Well, according to the API, the host name defaults to > localhost if left out, > and the port defaults to 1099 (rmiregistry's default) if left > out. But even when i use localhost, it doesn't work. :-\ > Try hardcoding the IP address 127.0.0.1 instead of localhost. I don't think it's a security policy issue, since that would result in a security related exception. > > Microsoft complaining about the source license used by > Linux is like the event horizon calling the kettle black. > *sigh* Yeah, sad but true. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 3 6:28:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id BF5A037B403 for ; Tue, 3 Jul 2001 06:28:17 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Jul 2001 15:28:16 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9D20@l04.research.kpn.com> From: "Koster, K.J." To: "'Ian P. Thomas'" Cc: freebsd-java@FreeBSD.ORG Subject: RE: unable to install jdk1.2 beta Date: Tue, 3 Jul 2001 15:28:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Ian, > > Fourth attempt is where I am at now. I am using gcc295 and > am running a > 3.x stable that I upgraded less than a month ago from 3.2 > Release. This > new error seems like it has something to do with an .o file. > I'm not sure > where to go from here. Any suggestions would be great. > The error message suggests that there is a problem with the #ifdef in sync.c. Have you looked inside that source file to see what the problem is? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 3 8: 5:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id EE71A37B401 for ; Tue, 3 Jul 2001 08:05:44 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Jul 2001 17:05:44 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9D22@l04.research.kpn.com> From: "Koster, K.J." To: "'mkes@ra.rockwell.com'" Cc: freebsd-java@FreeBSD.ORG Subject: RE: Mircosoft doesn't sleep Date: Tue, 3 Jul 2001 17:05:43 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear All, > > Have you seen this - > http://www.oreillynet.com/pub/a/dotnet/2001/06/27/dotnet.html ? > > It looks like Sun's ignorance concerning support of Java on > BSD platforms opens opportunity for others. > This is interesting news, for sure. The problem with Microsoft's .net port to FreeBSD is going to be that a) you can only use it for non-commercial use (sounds like the GPL to me, but I'm no lawyer). The second problem is that very, very likely you'll need a Windows server in the area for the whole shebang to work. Unless, of course, you are insane enough to think that Microsoft is going to port active directory and ms sql server to FreeBSD as well. In any case, let's see what we have first; a c# compiler, or an official JDK. My money's on the latter, but I hope Sun sees it that way too. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 3 19:34:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from imo-d07.mx.aol.com (imo-d07.mx.aol.com [205.188.157.39]) by hub.freebsd.org (Postfix) with ESMTP id 0497737B405 for ; Tue, 3 Jul 2001 19:34:38 -0700 (PDT) (envelope-from ivanooibsdjava@netscape.net) Received: from ivanooibsdjava@netscape.net by imo-d07.mx.aol.com (mail_out_v30.22.) id n.ed.199830a (16229) for ; Tue, 3 Jul 2001 22:34:32 -0400 (EDT) Received: from netscape.com (aimmail05.aim.aol.com [205.188.144.197]) by air-in02.mx.aol.com (v78_r3.8) with ESMTP; Tue, 03 Jul 2001 22:34:32 -0400 Date: Tue, 03 Jul 2001 22:34:32 -0400 From: ivanooibsdjava@netscape.net To: java@freebsd.org Subject: Accually what is going on Java for BSD binary low suite ? Mime-Version: 1.0 Message-ID: <3028C09A.2623C77C.F754764C@netscape.net> X-Mailer: Franklin Webmailer 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi guys, I know there;s a lot of people asking this questions and there;s lot of answer going on but accually what is happening ? I know there;s a lot of problems going on but accually what all about the low suite ? which part can;t solve ? is about money ? Thanks guys. __________________________________________________________________ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 4 6:32:38 2001 Delivered-To: freebsd-java@freebsd.org Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.RWTH-Aachen.DE [137.226.46.168]) by hub.freebsd.org (Postfix) with ESMTP id 7002537B409 for ; Wed, 4 Jul 2001 06:32:36 -0700 (PDT) (envelope-from kuku@gilberto.physik.rwth-aachen.de) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.11.1/8.9.3) id f64DWZa59653 for java@freebsd.org; Wed, 4 Jul 2001 15:32:35 +0200 (CEST) (envelope-from kuku) Date: Wed, 4 Jul 2001 15:32:35 +0200 (CEST) From: Christoph Kukulies Message-Id: <200107041332.f64DWZa59653@gilberto.physik.rwth-aachen.de> To: java@freebsd.org Subject: 1.3 under FreeBSD - prime time? Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm wondering whether it is recommendable to switch to jsdk1.3 and whether it's trouble free to use under FreeBSD. Is it the linux port available from SUN? -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 4 11: 9:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id A000737B401 for ; Wed, 4 Jul 2001 11:09:42 -0700 (PDT) (envelope-from cedric@wireless-networks.com) X-csi-detect-spam: income_profit_fast_free Received: from [63.197.8.222] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4.7) with ESMTP id 758778; Wed, 04 Jul 2001 11:13:09 -0700 Message-ID: <3B435C22.47F6B6EA@wireless-networks.com> Date: Wed, 04 Jul 2001 11:10:42 -0700 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Christoph Kukulies Cc: java@freebsd.org Subject: Re: 1.3 under FreeBSD - prime time? References: <200107041332.f64DWZa59653@gilberto.physik.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Christoph Kukulies wrote: > I'm wondering whether it is recommendable to switch to jsdk1.3 and > whether it's trouble free to use under FreeBSD. Is it the linux port > available from SUN? with the "-classic" VM 1.3.1 is fine. Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 4 16:20:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from absinthe.carnagecopia.com (absinthe.carnagecopia.com [216.18.9.200]) by hub.freebsd.org (Postfix) with SMTP id 5778837B406 for ; Wed, 4 Jul 2001 16:20:39 -0700 (PDT) (envelope-from random@carnagecopia.com) Received: (qmail 88674 invoked from network); 4 Jul 2001 23:20:39 -0000 Received: from firewall-vancouver.carnagecopia.com (HELO axiontwist.carnagecopia.com) (66.38.134.97) by absinthe.carnagecopia.com with SMTP; 4 Jul 2001 23:20:39 -0000 Date: Wed, 4 Jul 2001 16:19:13 -0700 From: Vincent Janelle To: "Koster, K.J." Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mircosoft doesn't sleep Message-Id: <20010704161913.1b9cebcb.random@carnagecopia.com> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9D22@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E452205FD9D22@l04.research.kpn.com> Organization: Goblin Studios X-Mailer: Sylpheed version 0.5.0pre2 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > This is interesting news, for sure. > > The problem with Microsoft's .net port to FreeBSD is going to be that a) you > can only use it for non-commercial use (sounds like the GPL to me, but I'm > no lawyer). Woah. Wtf? The GPL states nothing about being able to use it for commercial or non-commercial use. It stipulates source code redistribution, and protection (or limiation?) of intellectual property, not limitations on use. But this is the wrong forum for such a discussion. > > The second problem is that very, very likely you'll need a Windows server in > the area for the whole shebang to work. Unless, of course, you are insane > enough to think that Microsoft is going to port active directory and ms sql > server to FreeBSD as well. Active directory is an authentication scheme.. Nothing will stop you from using/writing your own interfaces for C#. Nothing else states that you have to use MSSQL either. Stop making unqualified statements about programming languages that aren't released yet. > > In any case, let's see what we have first; a c# compiler, or an official > JDK. My money's on the latter, but I hope Sun sees it that way too. My money is on the C# compiler. Sun only made 'official' releases of the jdk for linux due to market pressure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 5 10:26:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from yez.hyperreal.org (gate.sp.collab.net [64.211.228.36]) by hub.freebsd.org (Postfix) with SMTP id 4920A37B407 for ; Thu, 5 Jul 2001 10:26:23 -0700 (PDT) (envelope-from brian@collab.net) Received: (qmail 11421 invoked by uid 1000); 5 Jul 2001 17:27:50 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 5 Jul 2001 17:27:50 -0000 Date: Thu, 5 Jul 2001 10:27:50 -0700 (PDT) From: Brian Behlendorf X-X-Sender: To: Cedric Berger Cc: Christoph Kukulies , Subject: Re: 1.3 under FreeBSD - prime time? In-Reply-To: <3B435C22.47F6B6EA@wireless-networks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 4 Jul 2001, Cedric Berger wrote: > Christoph Kukulies wrote: > > > I'm wondering whether it is recommendable to switch to jsdk1.3 and > > whether it's trouble free to use under FreeBSD. Is it the linux port > > available from SUN? > > with the "-classic" VM 1.3.1 is fine. Along these same lines... anyone have clues on getting the linux-jdk1.4.0b1 working? I noticed that unlike my 1.2.2 installation, which has a bin/i386/green_threads/ subdir, there's only a bin/i386/native_threads/, and so I'm not sure -classic will actually have an effect. Specifically, I'm trying to get it to work with Tomcat. I can go into details if there's not something obvious I'm missing. Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 5 11: 1:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 4451937B406 for ; Thu, 5 Jul 2001 11:01:31 -0700 (PDT) (envelope-from cedric@wireless-networks.com) X-csi-detect-spam: income_profit_fast_free Received: from [63.197.8.222] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4.7) with ESMTP id 770758; Thu, 05 Jul 2001 11:04:57 -0700 Message-ID: <3B44ABB3.AC1260C9@wireless-networks.com> Date: Thu, 05 Jul 2001 11:02:27 -0700 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Brian Behlendorf Cc: Christoph Kukulies , java@freebsd.org Subject: Re: 1.3 under FreeBSD - prime time? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Brian Behlendorf wrote: > On Wed, 4 Jul 2001, Cedric Berger wrote: > > Christoph Kukulies wrote: > > > > > I'm wondering whether it is recommendable to switch to jsdk1.3 and > > > whether it's trouble free to use under FreeBSD. Is it the linux port > > > available from SUN? > > > > with the "-classic" VM 1.3.1 is fine. > > Along these same lines... anyone have clues on getting the > linux-jdk1.4.0b1 working? I noticed that unlike my 1.2.2 installation, > which has a bin/i386/green_threads/ subdir, there's only a > bin/i386/native_threads/, and so I'm not sure -classic will actually have > an effect. Sun has definitely dropped support for the Classic VM in 1.4. This is all I can tell you. Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 5 12: 7:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id B345F37B401 for ; Thu, 5 Jul 2001 12:07:25 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f65J7It12459; Thu, 5 Jul 2001 15:07:18 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15172.47846.161794.35615@chris.xsb.com.> Date: Thu, 5 Jul 2001 15:07:18 -0400 To: freebsd-java@freebsd.org Subject: time screwed up with Linux-jdk1.3.1? X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Has anyone heard anything about the clock being screwed up under linux emulation, or in the linux-jdk1.3.1? If I run this code: public class TestTime { public static void main(String args[]) { System.out.println("The current time is: " + new java.util.Date(System.currentTimeMillis())); } } I get the following output: The current time is: Thu Jul 05 13:54:02 GMT-05:00 2001 When I run date immediately following running the java command, I get: Thu Jul 5 14:54:06 EDT 2001 If I run the same program under jdk1.2.2, I get the correct time The current time is: Thu Jul 05 13:54:08 EDT 2001 It seems to be a difference in the time zone only. The native FreeBSD jdk1.2.2 seems to know about EDT, or at least it knows that that's what my clock is set to, but the linux jdk seems to think that my clock is set to GMT-5:00. Has anyone else seen/solved this problem? -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 5 12: 8: 2 2001 Delivered-To: freebsd-java@freebsd.org Received: from polarbear.nameprotect.com (mail.nameprotect.com [12.40.85.19]) by hub.freebsd.org (Postfix) with ESMTP id 3E90C37B403 for ; Thu, 5 Jul 2001 12:07:59 -0700 (PDT) (envelope-from gabor@nameprotect.com) Received: from nameprotect.com (gabor-bsd.nameprotect.com [192.168.1.161]) by polarbear.nameprotect.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id N76N1LNH; Thu, 5 Jul 2001 14:04:13 -0500 Message-ID: <3B44BB11.63DBEFE7@nameprotect.com> Date: Thu, 05 Jul 2001 14:08:01 -0500 From: Gabor Kincses X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: hu, de-DE, en MIME-Version: 1.0 To: Cedric Berger Cc: Brian Behlendorf , Christoph Kukulies , java@freebsd.org Subject: Re: 1.3 under FreeBSD - prime time? References: <3B44ABB3.AC1260C9@wireless-networks.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Cedric Berger wrote: > > Brian Behlendorf wrote: > > > On Wed, 4 Jul 2001, Cedric Berger wrote: > > > Christoph Kukulies wrote: > > > > > > > I'm wondering whether it is recommendable to switch to jsdk1.3 and > > > > whether it's trouble free to use under FreeBSD. Is it the linux port > > > > available from SUN? > > > > > > with the "-classic" VM 1.3.1 is fine. > > > > Along these same lines... anyone have clues on getting the > > linux-jdk1.4.0b1 working? I noticed that unlike my 1.2.2 installation, > > which has a bin/i386/green_threads/ subdir, there's only a > > bin/i386/native_threads/, and so I'm not sure -classic will actually have > > an effect. I seem to recall trying -classic with native_threads when I first played around with 1.3. The behavior was very similar to -client (i.e. hangs after a while with xsysinfo showing the CPU pegged in system land). I.e. any time we are trying to use native_threads, we are probably hitting the same bug in the linux ABI. > Sun has definitely dropped support for the Classic VM in 1.4. > This is all I can tell you. > > Cedric > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- Gabor Kincses Running FreeBSD 4.3-RC3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 5 14:54:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from adsl-151-197-8-33.phila.adsl.bellatlantic.net (adsl-151-197-8-33.phila.adsl.bellatlantic.net [151.197.8.33]) by hub.freebsd.org (Postfix) with ESMTP id E1FC637B406 for ; Thu, 5 Jul 2001 14:54:25 -0700 (PDT) (envelope-from bleez@bellatlantic.net) Received: from gravy (y4712u@gravy [192.168.1.1]) by adsl-151-197-8-33.phila.adsl.bellatlantic.net (8.11.4/8.11.4) with ESMTP id f65LsOl07893; Thu, 5 Jul 2001 17:54:24 -0400 (EDT) (envelope-from bleez@bellatlantic.net) Date: Thu, 5 Jul 2001 17:54:23 -0400 (EDT) From: Bryan Liesner X-X-Sender: To: Christopher Rued Cc: Subject: Re: time screwed up with Linux-jdk1.3.1? In-Reply-To: <15172.47846.161794.35615@chris.xsb.com.> Message-ID: <20010705172636.T7698-100000@adsl-151-197-8-33.phila.adsl.bellatlantic.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 5 Jul 2001, Christopher Rued wrote: >Has anyone heard anything about the clock being screwed up under linux >emulation, or in the linux-jdk1.3.1? > >If I run this code: > >public class TestTime { > public static void main(String args[]) > { > System.out.println("The current time is: " > + new java.util.Date(System.currentTimeMillis())); > } >} I did something similar in a servlet: SimpleDateFormat sdFormat = new SimpleDateFormat("EEEE MMMM d, yyyy HH:mm:ss z"); String dateAndTime = sdFormat.format(new Date()); When Tomcat was running under linux-jdk1.3.1 it screwed up the time. It also returned GMT-5:00 with the actual time short by an hour. Under the FreeBSD native jdk1.2.2, the time was returned with EDT and the correct time. I haven't really looked into why. I usually use the native jdk, and I was just playing around with the Linux jdk. ========================================================== = Bryan D. Liesner LeezSoft Communications, Inc. = = A subsidiary of LeezSoft Inc. = = bleez@bellatlantic.net Home of the Gipper = ========================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 5 22:32:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from nova.fnal.gov (nova.fnal.gov [131.225.121.207]) by hub.freebsd.org (Postfix) with ESMTP id 9004937B405 for ; Thu, 5 Jul 2001 22:32:22 -0700 (PDT) (envelope-from zingelman@fnal.gov) Received: from localhost (tez@localhost) by nova.fnal.gov (8.9.3+Sun/8.9.3) with ESMTP id AAA14802; Fri, 6 Jul 2001 00:32:15 -0500 (CDT) X-Authentication-Warning: nova.fnal.gov: tez owned process doing -bs Date: Fri, 6 Jul 2001 00:32:15 -0500 (CDT) From: Tim Zingelman X-Sender: To: Bryan Liesner Cc: Christopher Rued , Subject: Re: time screwed up with Linux-jdk1.3.1? In-Reply-To: <20010705172636.T7698-100000@adsl-151-197-8-33.phila.adsl.bellatlantic.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If you set the environment variable TZ appropriately, the linux JDK should work as expected... ie. for US/Central time: TZ=CST6CDT export TZ - Tim p.s. I bet you a nickel this answer is in the freebsd-java email archive On Thu, 5 Jul 2001, Bryan Liesner wrote: > On Thu, 5 Jul 2001, Christopher Rued wrote: > > >Has anyone heard anything about the clock being screwed up under linux > >emulation, or in the linux-jdk1.3.1? > > > >If I run this code: > > > >public class TestTime { > > public static void main(String args[]) > > { > > System.out.println("The current time is: " > > + new java.util.Date(System.currentTimeMillis())); > > } > >} > > I did something similar in a servlet: > > SimpleDateFormat sdFormat = new SimpleDateFormat("EEEE MMMM d, yyyy HH:mm:ss z"); > String dateAndTime = sdFormat.format(new Date()); > > When Tomcat was running under linux-jdk1.3.1 it screwed up the time. > It also returned GMT-5:00 with the actual time short by an hour. > > Under the FreeBSD native jdk1.2.2, the time was returned with EDT and > the correct time. > > I haven't really looked into why. I usually use the native jdk, and I was > just playing around with the Linux jdk. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 6 3: 9:38 2001 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 2E2A837B407 for ; Fri, 6 Jul 2001 03:09:32 -0700 (PDT) (envelope-from past@netmode.ntua.gr) Received: from netmode.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ntua.gr (8.11.4/8.11.4) with ESMTP id f66A9T613651; Fri, 6 Jul 2001 13:09:29 +0300 (EET DST) Received: (from past@localhost) by netmode.ntua.gr (8.11.1/8.11.1) id f66A9Sg50822; Fri, 6 Jul 2001 13:09:28 +0300 (EEST) (envelope-from past) Date: Fri, 6 Jul 2001 13:09:28 +0300 From: Panagiotis Astithas To: Tim Zingelman Cc: Bryan Liesner , Christopher Rued , freebsd-java@FreeBSD.ORG Subject: Re: time screwed up with Linux-jdk1.3.1? Message-ID: <20010706130927.G49781@netmode.ece.ntua.gr> Reply-To: past@netmode.ntua.gr Mail-Followup-To: Panagiotis Astithas , Tim Zingelman , Bryan Liesner , Christopher Rued , freebsd-java@FreeBSD.ORG References: <20010705172636.T7698-100000@adsl-151-197-8-33.phila.adsl.bellatlantic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from zingelman@fnal.gov on Fri, Jul 06, 2001 at 12:32:15AM -0500 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jul 06, 2001 at 12:32:15AM -0500, Tim Zingelman wrote: > If you set the environment variable TZ appropriately, the linux JDK should > work as expected... ie. for US/Central time: > > TZ=CST6CDT > export TZ > > - Tim > > p.s. I bet you a nickel this answer is in the freebsd-java email archive In my tests I don't see any problems (I don't have the TZ environment variable set, either): edgar% env JAVA_HOME= /usr/local/jdk1.2.2/bin/javac TestTime.java edgar% env JAVA_HOME= /usr/local/jdk1.2.2/bin/java TestTime The current time is: Fri Jul 06 12:57:50 GMT+03:00 2001 edgar% date Fri Jul 6 12:57:52 EEST 2001 edgar% rm TestTime.class edgar% env JAVA_HOME= /usr/local/linux-jdk1.4.0b1/bin/javac TestTime.java edgar% env JAVA_HOME= /usr/local/linux-jdk1.4.0b1/bin/java TestTime The current time is: Fri Jul 06 12:58:49 EEST 2001 edgar% date Fri Jul 6 12:58:50 EEST 2001 edgar% rm TestTime.class edgar% env JAVA_HOME= /usr/local/linux-jdk1.2.2/bin/javac TestTime.java edgar% env JAVA_HOME= /usr/local/linux-jdk1.2.2/bin/java TestTime The current time is: Fri Jul 06 12:59:32 GMT+03:00 2001 edgar% date Fri Jul 6 12:59:33 EEST 2001 edgar% rm TestTime.class edgar% env JAVA_HOME= /usr/local/linux-jdk1.3.1/bin/javac TestTime.java edgar% env JAVA_HOME= /usr/local/linux-jdk1.3.1/bin/java TestTime The current time is: Fri Jul 06 12:59:57 EEST 2001 edgar% printenv TZ edgar% -past To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message