I'm trying to download Minecraft forge, and It gives me a .jar file. I accidently set it to open with Photoshop, so I set it to open with Java, but when I try to open it, it opens, then closes immediately. When I try to force it open by clicking, it opens into cmd. I have the latest version of Java, and I have redownloaded it countless times, reset my computer, and I'm lost. I tried to make a .bat file but either I did it wrong or it didn't work, does anyone have a way to fix this that isn't too complicated? Or if it is, someone with very limited knowledge on computers can follow?
I'm trying to download Minecraft forge, and It gives me a .jar file. I accidently set it to open with Photoshop, so I set it to open with Java, but when I try to open it, it opens, then closes immediately. When I try to force it open by clicking, it opens into cmd. I have the latest version of Java, and I have redownloaded it countless times, reset my computer, and I'm lost. I tried to make a .bat file but either I did it wrong or it didn't work, does anyone have a way to fix this that isn't too complicated? Or if it is, someone with very limited knowledge on computers can follow?
Run jarfix:
https://johann.loefflmann.net/en/software/jarfix/index.html