Jump to content

[JAVA] Double click JAR?


jmace

Recommended Posts

So, I finally figured out how to make my java JAR file double click to open, which is exciting to a new Java programmer like myself. But I have a question about it.

 

The program is meant to run in the cmd prompt. It does not require any user input, but it does display the results of the program. The problem is that, when I double click the program, it runs but the cmd prompt does not open, so I cannot see the results. Is there a way I can double click to start it AND have the cmd show up?

 

Hopefully that question made sense.

 

Thanks,

jmace

Link to comment
https://forums.phpfreaks.com/topic/218335-java-double-click-jar/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.