Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm just about finished developing a small Java/Lwjgl-based game. For Windows users, I intend to use Launch4J to package the game into a nice .exe. For Mac users, I'll be using JarBundler to produce a nice .app.

What do I do for Linux users? So far I've been distributing beta versions as a .jar file, a lib folder and a shell script for invoking the jar with the right virtual machine parameters. But this is less than pretty. Is there a cross-distro way of providing a single clear way to start the game?

share|improve this question
    
Java Webstart works in Linux and PC, I haven't tried on Mac. There are occasional compatibility issues with the default Linux open source IcedTea compared to Oracle Java Webstart though. A lot of java programs come as an executable jar and a .bat and .sh script to start it on windows/linux. –  Nick Feb 20 '13 at 13:44
    
Sure, but I'd like to give the prospective players a nicer experience than a naked .sh file they have to run. –  Zarkonnen Feb 21 '13 at 8:48
    
@Zarkonen Is a .sh any worse than a .exe on windows? –  Nick Feb 21 '13 at 11:19
    
Starting from the shell is stanard on GNU/Linux. File extensions don't matter a single bit either. –  jco Feb 21 '13 at 12:45

1 Answer 1

Making a script and putting it somewhere like /usr/bin is the standard way of doing this. Look into .deb packages if you want to package it nicely.

share|improve this answer
    
oh the horror of deb packaging. –  dennmat Feb 21 '13 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.