Possible Duplicate:
Error generating projects in Eclipse
It's about a week I installed eclipse and Android SDK .But when I wanna run my project (even when I open a new Hello World project), eclipse shows this error:
"Error generating final archive: Failed to create key: Cannot run program "C:\Program Files\Java\jre7\bin\keytool.exe": CreateProcess error=2, The system cannot find the file specified
JAVA_HOME is set to: C:\Program Files\Java\jre7
Update it if necessary, or manually execute the following command:
"C:\Program Files\Java\jre7\bin\keytool.exe" -genkey -alias AndroidDebugKey -keyalg RSA -dname "CN=Android Debug,O=Android,C=US" -validity 10950 -keypass android -keystore C:\Users\BEHZAD\.android\debug.keystore -storepass android"
Even I can't open keytool.exe : "Windows can't find 'C:\Program Files\Java\jdk1.7.0_05\bin\Keytool.exe ' make sure you typed the name correctly, and try again"
I also have some problems with Keytool.exe in Mono for Android.