Alex Rivera | Logout

"java -version" not working in command prompt

Asked 2010-03-04T15:45:17.263
20

I downloaded this Java JDK and installed it.

But when I go to the command prompt to check the version, it says it's not recognized.

Is anyone else experiencing this issue with the latest Java?

I might not have installed the right version. I need the java that works with grails

C:\>java
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\>java -version
'java' is not recognized as an internal or external command,
operable program or batch file.

C:\>

when i do a search on my computer for java, it does not find anything

Edit
Report

1 Answer

3

You most likely don't have java.exe in your system's PATH variable.

answered 2010-03-04T15:47:18.263

Your Answer