My system time differs from what java\'s new Date() tells (+ 4 hours), so I think it\'s because some java settings. How can I make java time to be always as my linu
You can use TimeZone.setDefault(..) when your application starts, or pass the timezone as command-line argument: -Duser.timezone=GMT
TimeZone.setDefault(..)
-Duser.timezone=GMT