[Pljava-dev] problem with date and timezone

Eric BOYER Eric.Boyer at insa-toulouse.fr
Tue Nov 25 14:23:13 UTC 2008


my localtime is data but timezone is ascii

footcrix:/home/boyere# file /etc/localtime
/etc/localtime: timezone data
footcrix:/home/boyere# file /etc/timezone
/etc/timezone: ASCII text, with no line terminators


my server is a debian and jvm is 1.4.2

What could be différent on my two servers, because I have twice :
# more /etc/timezone
Europe/Paris

Thanks for your Help

Kris Jurka a écrit :
>
>
> On Mon, 24 Nov 2008, Eric BOYER wrote:
>
>>
>> OK so,
>> How get the same JVM timezone ?
>
> That depends on both your OS and JVM.  You could try setting the TZ 
> environment variable.  It also seems a little odd that /etc/localtime 
> is a text file on your systems.  Normally those are symlinks to binary 
> zoneinfo files which aren't human readable.
>
> Kris Jurka
>



More information about the Pljava-dev mailing list