I can't uninstall Java & it cannot also be installed. This problem occurred when I deleted some Java files. Please help me, I don't want to format my system. Java is very good software.
Try using Revo Uninstaller. Even if it can't uninstall the application normally, it will force it to uninstall by wiping out all traces of its presence from the system. After you finish with Revo, run a registry scan with CCleaner to make sure that the registry items are in good condition. Once you complete these steps, download another package of Java and install it.