I wrote a simple Java GUI to execute some MS-DOS commands. So this program would only work on Windows.
I have converted the class to executable jar. I think that is what it is. I can double click on the JAR file and off it runs. The problem with double clicking the jar file is that I can't run it as Administrator and can't pin it on the Windows 10 menu as a Tile.
When I try to convert it to exe using Jar2Exe
, Jsmooth
or Jwrapper
, I obtain what looks like an .exe file. But when I double click that exe file with the icon I provided, nothing happens.
For example, in JWrapper it look like its loading for 1 or 2 secs (small blue circle round and round) and then nothing. If I press Ctrl-Alt-Del (Task Manager) I see the appname-windows32-offline.exe
running though. But the GUI isn't shown and I can't click on anything to activate any command lines.
Can someone help me find out what is wrong?