title: How to see output on command prompt by running a jar/exe file?
body: <p>I have created a jar which reads values from excel, does some manipulations and write the results back to excel.</p>
  
  <p>When I run the jar, it works perfectly. I have also created an exe file for the jar and it works very well too.</p>
  
  <p>However, while the values are being calculated for data on each row of the excel, I want the result to be displayed on command prompt too, for which i have syso statements.</p>
  
  <p>I am able to achieve this by creating a batch file and running the jar through .bat file.
  But when i run the exe file through a bat file, I'm not able to see the calculations on cmd.</p>
  
  <p>Is there any way where I can see the calculated values in runtime through syso statements, on command prompt, just by double clicking on exe file?</p>
  
  <p>PS: I do not want to run the jar through java -jar  command on cmd.
  I want calculation results to be displayed on cmd if i just double click the jar/exe.</p>