unless I'm missing something here.
I believe you're missing something
I'm just trying to supply an arcade game in the same vein as the old shot-them-up arcade games. Less technical users on PC don't like having Java on their PC and prefer to just run a simple exe. Those installing the game into arcade cabinets have probably never heard of Java and they'd never want to see a popup telling them it's time to update the Java runtime etc. There's also the current security scares. I know the "dream" was that you could simply trust Java programs and simply run them but the reality (for me) appears very different to end users and they seem to prefer an exe.
Have you tried looking at the docs
? Both the "<opt>" tag section as well as the "Additional JVM options at runtime" section would seem to be what you're looking for.Edit:
Forgot to mention the "<cmdLine>" section which should be what you need to pass the "FULLSCREEN" flag.
Didn't see docs though I did try what I thought might be the help but it just told me the version of the program. Actually I've looked through the docs and I suspect I'm too stupid to understand them
Uninstall Java or get a machine with no Java on it and see what happens when you run the .exe. The "<jre>" section of the docs page talks about the different options you have which include: use a bundled JRE that you include with your application, search for an installed system JRE that meets a min/max version requirement, or throw an error and display the Java download page in the user's browser. I'd make it easy on your end users, and go with the first option.
I'll see if I can work out how to do this - it's a bit of a shame it doesn't default to this and use whatever environment variables there are to find the jre itself.
you could also give JarSplice
a try, should be a lot more user friendly to use and you can easily include vm parameters.
I'll have a look at this, thanks.
Will either tool (launch4J or JarSplice) allow you to pass run time parameters?
MyProg.exe FULLSCREEN MAME_KEYS
Thanks for the immediate responses by the way.