.exe file only runs using Java Dev Kit, instead of Java Runtime Environment

So I’ve recently made a small app for a high school class, and I want it to be able to run on any Windows computer with JRE installed and updated. I’ve made the app in Eclipse, exported it as a …

Cannot run Launch4j (illegal access)

I would like to create an .exe file for my java desktop application. Hence, i saw that Launch4j was the best option. When I ran. the file, i have the following error message. WARNING: An illegal …