I am using a 32 bit windows 7 OS and I have installed JDK 8 as it was the only available JDK version for a 32 bit system. I have also given the path in the environment variables. But, when I am trying to check the java version in the command prompt typing java --version, I am getting a fatal error.
Asked
Active
Viewed 516 times
0
-
1please provide the full output you get – Manuel Jain Apr 27 '22 at 13:44
-
It's only one dash: `java -version`, NOT two dashes: `java --version`. Two dashes with generate a `fatal exception`. – DevilsHnd - 退職した Apr 27 '22 at 13:47
1 Answers
0
You should double check if your path variable is set correctly. It should point to the ...\bin\ directory where the 'java.exe' is located. Because thats whats called with 'java --version'.

Eskapone
- 321
- 1
- 7