Hello Dexter, The Java Client Library currently only supports Java 1.5. The source is included in the distribution, so you can certainly look at what it would take to make it work for you in 1.4. However, I believe there are some pretty major 1.5 features which are used quite heavily -- generics for instance (http://java.sun.com/j2se/1.5.0/docs/guide/ language/generics.html).
The Java 1.5 requirement is listed in the intro on the Java client library doc.. sorry if we didn't make it prominent enough: http://code.google.com/apis/gdata/client-java.html Let me know if you have other questions. Thanks, -Ryan On Mar 1, 10:13 am, "hyhu84" <[EMAIL PROTECTED]> wrote: > Dear all, > > I am adding google calendar service into another application running > on IBM J9 VM. > When I use the java client libary( which is quite convenient ), it > says: > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > (com/google/gdata/client/Query) bad major version at offset=6 > at java.lang.ClassLoader.defineClassImpl(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:246) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: > 109) > at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1028) > at java.net.URLClassLoader$4.run(URLClassLoader.java:549) > at java.security.AccessController.doPrivileged(AccessController.java: > 213) > at java.net.URLClassLoader.findClass(URLClassLoader.java:547) > at > com.ibm.oti.vm.URLSystemClassLoader.findClass(URLSystemClassLoader.java: > 27) > at java.lang.ClassLoader.loadClass(ClassLoader.java:625) > at > com.ibm.oti.vm.URLSystemClassLoader.loadClass(URLSystemClassLoader.java: > 60) > at java.lang.ClassLoader.loadClass(ClassLoader.java:582) > at java.lang.J9VMInternals.verifyImpl(Native Method) > at java.lang.J9VMInternals.verify(J9VMInternals.java:59) > at java.lang.J9VMInternals.initialize(J9VMInternals.java:120) > > It seems that gcalendar java client library only works in JDK 1.5.*. > Is there any quick solutions ? > Otherwise I guess I need to do it at protocol level( using http GET/ > PUT), which is my weak points. > > Please advise. > Dexter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
