On recent Java versions @Override annotation generates errors that older versions does not generate. Maybe errors when the compiler is trying to override a function or maybe file encoding.
A possible solution. Use -source compiler parameter like this: http://www.velocityreviews.com/forums/t131098-1-5-beta-meta-data-illegal-character-64-a.html Or: http://arrogantprogrammer.blogspot.com/2009/02/illegal-character-64-when-running.html Or a quick solution only to compile the code, remove the @Override annotations. References: http://download.oracle.com/javase/tutorial/java/javaOO/annotations.html http://download-llnw.oracle.com/javase/7/docs/api/java/lang/Override.html Best. On Sun, Aug 1, 2010 at 4:46 PM, Devendra <devendra020...@gmail.com> wrote: > Hi, > > I guess, I am missing something basic but I am not able to compile > orkut java client library. I have followed README file and made sure > that I have prerequisites (ant and JDK) available in my PC. Here are > some of the errors I got: > > [javac] C:\myprojects\orkut-os-client\java\src\com\google\orkut > \client\api\GetVideosTx.java:82: illegal character: \64 > [javac] @Override > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\src\com\google\orkut > \client\api\GetVideosTx.java:86: illegal character: \64 > [javac] @Override > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\src\com\google\orkut > \client\api\GetVideosTx.java:124: <identifier> expected > [javac] } > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\src\com\google\orkut > \client\api\Video.java:75: illegal character: \64 > [javac] @Override > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\src\com\google\orkut > \client\api\Video.java:83: <identifier> expected > [javac] } > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\test\com\google\orkut > \client\api\AccountDependantTestCase.java:49: <identifier> expected > [javac] private static Map<Transport, Boolean> isUserJaneDoeMap > = new HashMap<Transport, Boolean>(); > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\test\com\google\orkut > \client\api\AccountDependantTestCase.java:53: illegal character: \64 > [javac] @Override > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\test\com\google\orkut > \client\api\AccountDependantTestCase.java:79: <identifier> expected > [javac] } > [javac] ^ > [javac] C:\myprojects\orkut-os-client\java\test\com\google\orkut > \client\api\AlbumsLargeTest.java:41: <identifier> expected > [javac] private Map<String, Album> selfAlbumsMap; > [javac] ^ > > and many more... > > Any idea, what could be the problem? > > Thanks in advance :-) > > Regards, > Devendra > > -- > You received this message because you are subscribed to the Google Groups > "orkut Developer Forum" group. > To post to this group, send email to opensocial-or...@googlegroups.com. > To unsubscribe from this group, send email to > opensocial-orkut+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/opensocial-orkut?hl=en. > > -- -- Allann Jones "I received the fundamentals of my education in school, but that was not enough. My real education, the superstructure, the details, the true architecture, I got out of the public library. For an impoverished child whose family could not afford to buy books, the library was the open door to wonder and achievement, and I can never be sufficiently grateful that I had the wit to charge through that door and make the most of it." (from I. Asimov, 1994) -- You received this message because you are subscribed to the Google Groups "orkut Developer Forum" group. To post to this group, send email to opensocial-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.