Watch the video:
Timestamps:
0:00 - Explanation
0:28 - Demo of broken .jar
0:49 - Fix #1: Check and install Java
2:27 - Fix #2: Jarfix
03:42 - Fix Could not reserve enough space
03:56 - Fix Invalid Heap Size (exceeds maximum size)
Want to use .jar files, but clicking on them, running commands and .bat’s do nothing? They just close straight away or don’t work at all? Well, here’s some super simple steps to help get you back to a working Java.
Links:
Java: https://www.java.com/en/download/manual.jsp
Jarfix: https://johann.loefflmann.net/en/software/jarfix/index.html