I have no clue what he is talking about. But I got a similar problem related to *.jar's. I have this software that I am developing, and some users have complained they can't execute the *.jar file by double clicking the file, even though it works perfectly well on windows computers. A user suggested making a script, like this post. I guess there will be two executables then, one for the specific operative system that got a problem with *.jars and one for windows computers. Isn't there a easier way of doing this that involves only one file?
Edit: And btw I'm a total noob. I have no clue how to make such a script file anyway so...
Jar files are only runnable on windows thanks to a file association setup when the JVM is installed. If a user installs another program which handles jars this will break the ability to double click a jar to run it. For example I used to have a Nokia phone and the windows software for it registered to handle jars so that it could try and install them on my phone.
Eclipse is the best example of a cross platform java program used by lots of people. I would take a look at what they do. I suspect you will need a per platform launcher script/program. There are various java packaging tools which can help you with this but I don't have any specific suggestions.
1
u/64-17-5 Jun 21 '11 edited Jun 21 '11
I have no clue what he is talking about. But I got a similar problem related to *.jar's. I have this software that I am developing, and some users have complained they can't execute the *.jar file by double clicking the file, even though it works perfectly well on windows computers. A user suggested making a script, like this post. I guess there will be two executables then, one for the specific operative system that got a problem with *.jars and one for windows computers. Isn't there a easier way of doing this that involves only one file?
Edit: And btw I'm a total noob. I have no clue how to make such a script file anyway so...