File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes tzupdater help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "tzupdater help" Watch "tzupdater help" New topic

tzupdater help

nikki lorenzo

Joined: Jan 12, 2004
Posts: 28

We're runnning into timezone problems when during our application testing locally. We are using jdk 1.3.1 which has the old timezone rules. We would like to updated locally installed jres (i.e. localhost) by using the TZUpdater tool. But I'm running into UnsupportedClassVersionError(below).

What i did was to extract the tzupdater.jar on \eclipse\jre\bin and run the command: java -jar tzupdater.jar -u -f -v
What did i do wrong? Please help. Thanks.

C:\Program Files\IBMWebSphere Studio\Application Developer\v5.1.1\eclipse\jre\bin>java -jar tzupdater.jar -u -f -v
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/tools
/tzupdater/TimezoneUpdater (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Looks like the timezone update tool cannot be run on 1.3. Can you upgrade to 1.3.1_18 or one of the 1.4.2 versions?

US DST and Java SE FAQ

Java SE Version: Java SE v1.3.1
US 2007 DST Readiness: Java SE update release v1.3.1_18 and above are USA 2007 DST "ready"
Availability: Downloadable now. Install instructions for: Solaris, Windows, and Linux
Remediation Options: The Timezone Update Tool cannot be used on Sun JDK version 1.3.1 or earlier.

TZ updater readme
[ February 14, 2007: Message edited by: Carol Enderlin ]
Mathew Abraham

Joined: Feb 14, 2007
Posts: 1
Hey nikki ,

The TZupdate is only for JDK 1.4 or later , for anything before that you'll have to upgrade to the later minor version of that version, in your case to JDK 1.3.1_18 .
Check out

Diego Bowen
Ranch Hand

Joined: Aug 19, 2003
Posts: 50
Hello I've just updated per Sun instructions as seen below:

somemachine:/home/diego/tzupdater2007a$ sudo java -jar tzupdater.jar -u -f

However how can I validate its correct install??
I agree. Here's the link:
subject: tzupdater help
It's not a secret anymore!