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