This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tzupdater help

 
nikki lorenzo
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Error:
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(ClassLoader.java:703)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:13
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:320)
at java.net.URLClassLoader.access$400(URLClassLoader.java:93)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:239)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)
at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 http://java.sun.com/developer/technicalArticles/Intl/tzupdatertool.html

Mathew
 
Diego Bowen
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I've just updated per Sun instructions as seen below:

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

However how can I validate its correct install??
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic