OSDN Git Service

Make "Main menu > Run As > Android application" appear in ADT .
[android-x86/sdk.git] / files / find_java.bat
index 6039e89..ac11d06 100755 (executable)
@@ -36,7 +36,7 @@ rem We get here if the default %java_exe% was not found in the path.
 rem Search for an alternative in %ProgramFiles%\Java\*\bin\java.exe\r
 \r
 echo.\r
-echo Java not found in your path.\r
+echo WARNING: Java not found in your path.\r
 echo Checking it it's installed in %ProgramFiles%\Java instead.\r
 echo.\r
 \r
@@ -45,9 +45,9 @@ for /D %%a in ( "%ProgramFiles%\Java\*" ) do call :TestJavaDir "%%a"
 if defined java_exe goto :EOF\r
 \r
 echo.\r
-echo No suitable Java found. In order to properly use the Android Developer Tools,\r
-echo you need a suitable version of Java installed on your system. We recommend\r
-echo that you install the JDK version of JavaSE, available here:\r
+echo ERROR: No suitable Java found. In order to properly use the Android Developer\r
+echo Tools, you need a suitable version of Java installed on your system. We\r
+echo recommend that you install the JDK version of JavaSE, available here:\r
 echo   http://java.sun.com/javase/downloads/\r
 echo.\r
 echo You can find the complete Android SDK requirements here:\r
@@ -74,7 +74,7 @@ echo Java was found at %full_path%.
 echo Please consider adding it to your path:\r
 echo - Under Windows XP, open Control Panel / System / Advanced / Environment Variables\r
 echo - Under Windows Vista, open Control Panel / System / Advanced System Settings\r
-echo                                                    / Environment Variables\r
+echo                             / Environment Variables\r
 echo At the end of the "Path" entry in "User variables", add the following:\r
 echo   ;%full_path%\r
 echo.\r