I created a simple 2D game compatible with Java 6 or newer, and wrapped it with an EXE file. The EXE was generated with the Launch4j program.
I tried running my game on several computer. So far any computer with at least Java 6 could run it through the EXE with no problems. I only happened to try on Windows XP and Windows 7 so far.
Lately I posted it here on Showcase forum, and somebody tried to run the EXE.
He says that it’s very problematic. It crashes and causes all kinds of weird problems. He’s running Windows 8.
My questions:
1- What is the best way to create an EXE wrapper for my runnable JAR? Is Launch4j good for this? Or something else?
2- Do I need to specifically make sure the EXE is compatible with various Windows versions?
What are the best practices to creating an EXE launcher for a JAR?
Thanks