简体   繁体   中英

Java reports that the Java version is deprecated even though the latest version is installed

Since I updated my Window version to Windows 10 an old Java programm doesn't start, instead I got a Java report that the Java version is deprecated. Now I updated Java to the latest version but the error still occurs.

The Java programm was written with Java 4 and I'm using the latest Windows and Java version.

Does anyone know a solution?

There might be a java in your system32 folder that may cause this issue.

You just press windows key and in the opening box type java. The system will pick one java.exe, right-click the same and go to the path. If it is not your latest version, remove it.

You can verify the java version using the command java -version in command prompt.

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