Package: sun-java6-bin Version: 6-02-1 Time zone is not determined correctly on AMD64.
The test program (cat TestTime.java) import java.util.Date; import java.util.TimeZone; public class TestTime { public static void main(String[] args) { System.out.println(new Date()); System.out.println(TimeZone.getDefault().getID()); System.out.println(System.getProperty("user.timezone")); System.out.println(System.getProperty("user.country")); System.out.println(System.getProperty("java.home")); } } Output of the program (javac TestTime.java; java TestTime): Sun Aug 05 10:53:12 GMT 2007 GMT GMT NZ /usr/lib/jvm/java-6-sun-1.6.0.02/jre Output of date command executed from the same shell: Sun Aug 5 22:54:35 NZST 2007 I would have expected System.out.println(TimeZone.getDefault().getID()); to return something similar to "GMT+12:00" in my case. Version info: [EMAIL PROTECTED]:~$ dpkg -s sun-java6-bin Package: sun-java6-bin Status: install ok installed Priority: optional Section: non-free/libs Installed-Size: 68552 Maintainer: Matthias Klose <[EMAIL PROTECTED]> Architecture: amd64 Source: sun-java6 Version: 6-02-1 Depends: sun-java6-jre (= 6-02-1), unixodbc, libc6, debconf (>= 0.5) | debconf-2.0, libstdc++5 Recommends: libasound2, libx11-6, libxext6, libxi6, libxp6, libxt6, libxtst6, libnss-mdns Conffiles: /etc/java-6-sun/security/java.policy b88cd1d7aa25b219f2e28b1de5e9b05c /etc/java-6-sun/security/java.security d59957fc647358ebbf4081fb11e7fe64 /etc/java-6-sun/security/cacerts cc0687066d47cdcd16b208e93b1b10c2 /etc/java-6-sun/management/jmxremote.access fe2f871dc9bf3b47e2131e1a3b5940e5 /etc/java-6-sun/management/jmxremote.password 7b46c291e7073c31d3ce0adae2f7554f /etc/java-6-sun/management/management.properties 111aa38b51aa02f58d472a8f2ef277af /etc/java-6-sun/management/snmp.acl 71a7de7dbe2977f6ece75c904d430b62 /etc/java-6-sun/calendars.properties 875a71d5d7552b5469d5ec4a41d397d2 /etc/java-6-sun/content-types.properties 4128f2c8908bedc62bc49190344fecf8 /etc/java-6-sun/logging.properties 2ebf6417293beb2566a950abc02b07e8 /etc/java-6-sun/sound.properties 4f95242740bfb7b133b879597947a41e /etc/java-6-sun/flavormap.properties d85491fb6911ea9f927055403fa8afbe /etc/java-6-sun/net.properties 19854300cbe8fc2d955111b0b31d0652 /etc/java-6-sun/fontconfig.properties 5b48f52dc2dabbb8974bf5161858ec34 /etc/java-6-sun/jvm.cfg a3daca3a66b3cfe7ca1d075a593d6dea Description: Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) The Sun Java Platform Standard Edition Runtime Environment (JRE) 6 contains the Java virtual machine, runtime class libraries, and Java application launcher that are necessary to run programs written in the Java progamming language. It is not a development environment and doesn't contain development tools such as compilers or debuggers. For development tools, see the Java Development Kit JDK(TM) 6 (package sun-java6-jdk). . This package contains architecture dependent files. Let me know what other information might be required.