简体   繁体   中英

Unable to install Java JDK 8

I downloaded the 64 bit JDK from the oracle site (Win7 64bit) and installed it with the install wizard. The instalation folder went in Program file. When I copy the link for the PATH variable and edit it the way it is shown everywhere, it doesn't work. When I check in CMD "java-version" it always says:

The java version is not recognized as an internal or external command.

Any ideas what is wrong?

I edited this PATH variable so many times and it never worked.

您应该键入java -version ,而不是java-version

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM