[Android Q&A, Help & Troubleshooting] Geo1997:
Okk

I'll already tried find_java.exe. It only says "C:\WINDOWS\system32\java.exe"

java -version :

"java version "1.7.0_07"

Java(TM) SE Runtime Environment (build 1.7.0_07-b11)

Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)"

And here is android.bat with @echo on :

"C:\Documents and Settings\***>"C:\Documents and Settings\***\Local Settings\Application Data\Android\android-sdk\tools\android.bat"

C:\Documents and Settings\***>rem Copyright (C) 2007 The Android Open Source Project

C:\Documents and Settings\***>rem

C:\Documents and Settings\***>rem Licensed under the Apache License, Version 2.0 (the "License");

C:\Documents and Settings\***>rem you may not use this file except in compliance with the License.

C:\Documents and Settings\***>rem You may obtain a copy of the License at

C:\Documents and Settings\***>rem

C:\Documents and Settings\***>rem http://www.apache.org/licenses/LICENSE-2.0

C:\Documents and Settings\***>rem

C:\Documents and Settings\***>rem Unless required by applicable law or agreed to in writing, software

C:\Documents and Settings\***>rem distributed under the License is distributed on an "AS IS" BASIS,

C:\Documents and Settings\***>rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

C:\Documents and Settings\***>rem See the License for the specific language governing permissions and

C:\Documents and Settings\***>rem limitations under the License.

C:\Documents and Settings\***>rem Useful links:

C:\Documents and Settings\***>rem Command-line reference:

C:\Documents and Settings\***>rem http://technet.microsoft.com/en-us/library/bb490890.aspx

C:\Documents and Settings\***>rem don't modify the caller's environment

C:\Documents and Settings\***>setlocal

C:\Documents and Settings\***>rem Set up prog to be the path of this script, including following symlinks,

C:\Documents and Settings\***>rem and set up progdir to be the fully-

qualified pathname of its directory.

C:\Documents and Settings\***>set prog=C:\Documents and Settings\***\Local Settings\ApplicationData\Android\android-sdk\tools\android.bat

'G' is not recognized as an internal or external command, operable program or batch file.

'M' is not recognized as an internal or external command, operable program or batch file.

C:\Documents and Settings\***>rem Grab current directory before we change it

C:\Documents and Settings\***>set work_dir="C:\Documents and Settings\***"

C:\Documents and Settings\***>rem Change current directory and driveto where the script is, to avoid

C:\Documents and Settings\***>rem issues with directories containing whitespaces.

C:\Documents and Settings\***>cd /d C:\Documents and Settings\***\Local Settings\Application Data\Android\android-sdk\tools\

The system cannot find the path specified.

'G' is not recognized as an internal or external command, operable program or batch file.

'M' is not recognized as an internal or external command, operable program or batch file.

C:\Documents and Settings\***>rem Check we have a valid Java.exe in the path.

C:\Documents and Settings\***>set java_exe=

C:\Documents and Settings\***>call lib\find_java.bat

The system cannot find the path specified.

C:\Documents and Settings\***>if not defined java_exe goto :EOF

C:\Documents and Settings\***>"