on 08-14-2014 7:37 AM
Hi,
Have you checked the path? It doesn't look like correct to me. Likely you defined JAVA_HOME incorrectly. That's why path built by the script is incorrect:
if not exist "%JAVA_HOME%\jre\bin\java.exe" goto ERROR_MISSING_JRE
...
:ERROR_MISSING_JRE
echo ERROR: Java Runtime missing! Cannot find file "%JAVA_HOME%\jre\bin\java.exe".
goto :E_O_F
JAVA_HOME should reference path to JDK. Something like "c:\Program Files\Java\jdk1.7.0_60".
Regards,
KC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your original error stated that path "C:\Program Files\Java\jre\bin\java.exe" does not exist.
And you want to say that you changed JAVA_HOME to point to "C:\Program Files\Java\jdk1.7.0_67" but you still see error about "C:\Program Files\Java\jre\bin\java.exe", don't you? Could you share screen shots of the error and JAVA_HOME once again? And what is under \jdk1.7.0_67 folder?
Could you try with "Program Files (x86)"?
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.