Has anyone tried to use the Java calendar libraries on Linux? i am a
java linux noob and cant seem to be able to execute even the sample
CalendarClient.java code on Linux.Compilation of the .java results in
too many errors.
On the other hand when it is compiled in windows the class file is
created with no errors.
The class file runs perfectly from windows. On the other hand the same
class file runs in linux only if the --username and --password
parameters are not given .. otherwise it gives the following errors ..
[EMAIL PROTECTED] q]# java CalendarClient --username aa --password pp
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass (libgcj.so.7)
at com.google.gdata.client.Service.<init> (Service.java:326)
at com.google.gdata.client.GoogleService.<init>
(GoogleService.java:544)
at com.google.gdata.client.calendar.CalendarService.<init>
(CalendarService.j
ava:89)
at com.google.gdata.client.calendar.CalendarService.<init>
(CalendarService.j
ava:64)
at CalendarClient.<init> (CalendarClient.java:61)
at CalendarClient.main (CalendarClient.java:434)
Caused by: java.util.regex.PatternSyntaxException: At position 10 in
regular exp
ression pattern:
At position 0 in regular expression pattern:
unsupported name ASCII
^[\p{ASCII}&&[^\p{Cntrl} ;/=\[\]\(\)\<\>[EMAIL PROTECTED],\:\"\?\=]]+$
^
at java.util.regex.Pattern.<init> (libgcj.so.7)
at java.util.regex.Pattern.compile (libgcj.so.7)
at java.util.regex.Pattern.compile (libgcj.so.7)
at com.google.gdata.util.ContentType.<clinit> (ContentType.java:35)
at java.lang.Class.initializeClass (libgcj.so.7)
...6 more
Caused by: gnu.regexp.REException: At position 10 in regular expression
pattern:
At position 0 in regular expression pattern:
unsupported name ASCII
at gnu.regexp.RE.getRETokenNamedProperty (libgcj.so.7)
at gnu.regexp.RE.parseCharClass (libgcj.so.7)
at gnu.regexp.RE.initialize (libgcj.so.7)
at gnu.regexp.RE.<init> (libgcj.so.7)
at gnu.regexp.RE.<init> (libgcj.so.7)
at java.util.regex.Pattern.<init> (libgcj.so.7)
...10 more
Caused by: gnu.regexp.REException: At position 0 in regular expression
pattern:
unsupported name ASCII
at gnu.regexp.RETokenNamedProperty.getHandler (libgcj.so.7)
at gnu.regexp.RETokenNamedProperty.<init> (libgcj.so.7)
at gnu.regexp.RE.getRETokenNamedProperty (libgcj.so.7)
...15 more
Does anyone know what is going wrong here??? any help or even
suggestions is highly appreciated..
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---