java time

Vano Beridze vano.beridze at silkroad.ge
Fri Oct 29 18:06:48 UTC 2004


Hello

I've got Fedora Core 2
kernel 2.6.8

if I run a command date
it gives me the output
Fri Oct 29 22:03:50 GEST 2004

but If I compile and run a simple java program (with jdk1.4.2 or jdk1.5)

public class A
{
    public static void main(String[] args)
    {
       System.out.println(new java.util.Date());
    }
}

it gives me the output
Fri Oct 29 23:03:50 GEST 2004

I'm sure it's a fedora problem, because I did not have that problems on 
Core 1 or previous releases.

What should I do?

Thank you

-- 
Vano Beridze
Software Developer
Silk Road Group S.A.





More information about the fedora-list mailing list