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


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?





Any concrete error message? Maybe old Java API is either deprecated or removed that you used in your program.
– Glains
Jun 29 at 8:18





Maybe the JavaSE wasn't installed or no environment variable? But without error, it's hard to help.
– KeyMaker00
Jun 29 at 8:42





The main problem is the developer who wrote the programm left our company a couple of years ago and no usefull documentation is given. I know the theoretic
– Banki
Jun 29 at 8:46




1 Answer
1



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.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Export result set on Dbeaver to CSV

Opening a url is failing in Swift