Making executable JAR more "executable"
Hello
I have written and packed an executable JAR file. When running it in command line using "java -jar" it works fine, but when I double click it (Im on MS Windows 7) nothing happens.
What should I do to make it executable also by double click ?
Thanks
Guy
Re: Making executable JAR more "executable"
What is the nature of the Jar. Jar files when run do not open a commandline. So if you program was to contain Windows it would work fine, such as JFrames etc. However if your Jar file contains all console stuff then you will have to run it from the console and not just double click it.
Regards,
Chris
Re: Making executable JAR more "executable"
Well, you're right. It is a console application. I am so used to swing applications that I expected it to behave the same...
Thanks
Guy