Overnight, Java seems to have been corrupted on my computer. I had Java JDK and regular Java installed. The first thing that was happening when I tried to execute a .jar
file was a message asking how to open the .jar
file. I thought to myself: "That's quite unusual, I should just try reinstalling". Uninstalled both Java and JDK. Reinstalled Java. Click on the .jar
file: still can't open the file regularly. I realized it has been popping a cmd window up. I got a message that said it couldn't find the class. Ok, I was starting to get worried. Unninstalled Java again. Went to C:\Program Files and C:\Program Files(x86) and deleted the content inside the Java folder that was on both paths. I remembered I had a custom System Variable called Path because Java had already gone weird on me before. Deleted the Path variable. Restart computer. Reinstall Java. Same errors. Unninstall Java. Install Java 32-bit to see if it makes a difference. It doesn't. Tried to Unninstall Java 32-bit. Can't, the unninstaller wizard pops up, closes and nothing happens, the Java program is still on my Programs list. I get very frustrated thinking that clean install just won't work. Bit of panic. I come crying to superuser to ask the pros what to do. Help?
EDIT: Waiting for answers, I'll keep trying to install and uninnstall stuff back in forth, maybe it works. Tried deleting things on regedit as I was told by someone in another forum. Just editing this so people can keep track of the stupid or helpful things I'm doing. Continuing.
EDIT2: Installed Java 64-bit again. Tried to run the file under the command "java -jar". It worked under the command. Double-clicking still doesn't work. I think God hates me. I think I should stop making jokes on a forum. Sorry. Going on.