1

I am attempting to turn a .jar file that I have into a .exe. I am successfully generating the .exe file but I am not able to run it because it says that I need the Java Runtime Environment. I have the Java Runtime Environment so I do not understand why this is happening. My attempted solution to this problem was to bundle the jre with the .exe but it is not working. Does anyone know how to bundle a jre with a .jar to convert it to a .exe using launch4j? My main goal is to find a way to convert my jar file into a .exe that anyone can download and use, whether or not I use launch4j is irrelevant. I am interested in converting my .jar into a .exe that people can download and use regardless of whether or not they have the jdk or jre installed.

0 Answers0