I've created a runnable jar file from my application but when I open it, it appears to do nothing. My guess is that this is because my application does some internal calculations and then just uses System.out to print some messages to the user (and take input too). So even if the program opens there is no console to print to so it appears nothing is happening.
If I run the jar file through the console java -jar myjar.jar then it works as intended.
Is there any way for it to open a console and run through that when I double click the jar file?
java -jarworks, you have already created the JAR file correctly, and that is what you should double-click, not the Java file. Clarification required.