First - unistall all jdk installed on your computer from control panel 2. Search for "C:\ProgramData\Oracle\Java" and delete all the files that appear after search completion along with Java folder. 3. Then search for C:\ProgramData\Oracle and delete the oracle folder . 4. Now install jdk and set the path. Run the program.You won't find the same problem anymore.
Uninstall all JDKs installed on your computer from the Java Control Panel
Search for
C:\ProgramData\Oracle\Javaand delete that directory and all files contained within. You can do this from the command line usingrmdir /S C:\ProgramData\Oracle\JavaThen search for C:\ProgramData\Oracle and delete the oracle folder. You can do this using
rmdir /S C:\ProgramData\OracleNow install JDK and set the path.
Run the program.You won't find the same problem anymore.