简体   繁体   中英

Can't run: The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe

When I try to run my program it gives this error:

The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe

The environment variables should be set correctly.

It sounds like the program isn't following your symlinks. You need make sure that:

  1. The java.exe file is in that folder, or...
  2. Change your environment variables (eg PATH and/or JAVA_HOME ) such that they point to the folder where the java.exe file exists.

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