0

I use Windows 8.1, I start program instance by command line. There is this line

java -jar "C:\Program Files (x86)\Jenkins\jenkins.war" --ajp13Port=-1 --httpPort=8082

Program starts and everything is all right. But i want to hide console from task menu. Is it possible to run program by command line in this way?

Jacek
  • 11,661
  • 23
  • 69
  • 123
  • 1
    You can use [`javaw` instead of `java`](http://stackoverflow.com/questions/1997718/difference-between-java-exe-and-javaw-exe) to start the application without a console window. – Jesper May 19 '15 at 15:12

2 Answers2

2

Why not using javaw instead of java?

GhostCat
  • 137,827
  • 25
  • 176
  • 248
2

You could use

1) javaw - java without console window to start your application

or

2) start /b *command* - to start a background task

K139
  • 3,654
  • 13
  • 17