I have developed a game in Java language. I'd like to make a pretty installer. None of those I've tried worked properly. The build process is made with Maven. For now I launch the application with a batch file. I want an icon on a executable. Today I tried PS2EXE but I don't know Powershell. I also tried BAT2EXE but the executable crashed several times. The project is free software, so I can distribute the source but also want a more end-user zip or setup.exe.
            Asked
            
        
        
            Active
            
        
            Viewed 199 times
        
    2 Answers
0
            
            
        Look at this solution to make the java program run as an executable.
Compiling a java program into an executable
You can then use a open source Windows installer program to easily install it.
http://nsis.sourceforge.net/Main_Page
 
    
    
        Community
        
- 1
- 1
 
    
    
        Andy Arismendi
        
- 50,577
- 16
- 107
- 124
0
            
            
        All you need to know about converting Java programs to EXE files and then some: Convert Java to EXE — Why, When, When Not and How.
Just short descriptions of all the available tools, with URLs: Best JAR to EXE Conversion Tools, Free and Commercial.
I am the author and maintainer of both resources.
 
    
    
        Dmitry Leskov
        
- 3,233
- 1
- 20
- 17
