Hi all,

We have ubuntu version 8.04 with JDK 6 (java version "1.6.0_10). We
were using the ubuntu server for Android build and build was happening
fine. In order to build latest release of Android, its been suggested
to revert back to JDK 5(java 1.5). After uninstalling the JDK 6 and
installing JDK 5.0, I am getting following error:


************************************************************
You are attempting to build with the incorrect version
of javac.

Your version is: Eclipse Java Compiler v_774_R33x, 3.3.1, Copyright
IBM Corp 2000, 2007. All rights reserved..
The correct version is: 1.5.

Please follow the machine setup instructions at
   http://source.android.com/download
************************************************************
build/core/main.mk:121: *** stop.  Stop.
-----------------------------------


When i gave javac -version command from commandline, it shows:

Eclipse Java Compiler v_774_R33x, 3.3.1, Copyright IBM Corp 2000,
2007. All rights reserved

And when i gave java -version command from commandline, it shows:

java version "1.5.0"
gij (GNU libgcj) version 4.3.2

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Anyone knows how to fix this?

Please suggest what else i need to do.

Thanks,
krish


--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to