0

I know with programming languages like VB that their console applications are made in exe to run. I want to know if/how to deploy a console app in java.

Re: Can you make a .jar file for java console?

Timmi
  • 48
  • 9
  • 5
    Possible duplicate of [How can I create a Windows .exe (standalone executable) using Java/Eclipse?](http://stackoverflow.com/questions/5719376/how-can-i-create-a-windows-exe-standalone-executable-using-java-eclipse) – azurefrog Jul 15 '16 at 21:00
  • I want to deploy a console app not a built panel/frame (gui). – Timmi Jul 15 '16 at 21:05
  • How will you run the app ? If it's a console application, it will open the console automatically. Or just run it using a batch file. – 11thdimension Jul 15 '16 at 21:06
  • You can run the jar from command line and the console should output there. – Compass Jul 15 '16 at 21:06
  • @Compass ok, so if i execute the jar from command line the output will be in like comand prompt console? – Timmi Jul 15 '16 at 21:08
  • @Timmi Yes. Java has built-in classes to handle standard console/command-line input and output. You don't have to do anything special, you can just read/write from/to System.in/System.out – azurefrog Jul 15 '16 at 21:13
  • @azurefrog Thanks! – Timmi Jul 15 '16 at 21:16

0 Answers0