小编e2a*_*e2a的帖子

使用tzupdater-2.2.0更新tzdata 2018f(已发布2018-10-18)时出错

我正在尝试使用TZUpdater 2.2.0更新JVM的时区信息.

> [root@local tzupdater-2.2.0]# java -jar tzupdater.jar -V
  tzupdater version 2.2.0-b01
  JRE tzdata version: tzdata2018d
  tzupdater tool would update with tzdata version: tzdata2018f
Run Code Online (Sandbox Code Playgroud)

所以,我正在运行以下命令:

> [root@local tzupdater-2.2.0]# java -jar tzupdater.jar -l
Run Code Online (Sandbox Code Playgroud)

但是,我收到此错误消息:

Failed: java.lang.Exception: Failed while parsing file '/tmp/tz.tmp_1/asia' on line 1655 'Rule  Japan   1948    1951    -   Sep Sat>=8  25:000S'
java.lang.Exception: Failed while parsing file '/tmp/tz.tmp_1/asia' on line 1655 'Rule  Japan   1948    1951    -   Sep Sat>=8  25:00   0   S'
    at tools.tzdb.TzdbZoneRulesCompiler.parseFile(TzdbZoneRulesCompiler.java:377)
    at tools.tzdb.TzdbZoneRulesCompiler.compile(TzdbZoneRulesCompiler.java:191)
    at tools.tzdb.TzdbZoneRulesCompiler.<init>(TzdbZoneRulesCompiler.java:307)
    at com.sun.tools.tzupdater.ExternalModule.compileToJSRBinary(ExternalModule.java:153) …
Run Code Online (Sandbox Code Playgroud)

java timezone

19
推荐指数
3
解决办法
5505
查看次数

标签 统计

java ×1

timezone ×1