I tried to generate a exe file form my java source. I followed the following link.
http://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fwww.eteks.com%2Ftips%2FtipCreationExe.html.
But the exe file couldn’t produced. I have the following exception.
Unable to execute file: c:/Program Files/Bienvenue/Bienvenue.exe CreateProcess failed; code 2. The system cannot find the file specified
Any suggestion pls..
Launch4J will be a good solution. you can embed the JVM in to the application.