Exactly as the title says, how can I run a java program from a batch file without a window popping up? So far my batch file looks like this:
@Echo off
java findIt test.txt
When I run the batch file it opens up a command window and starts to run the program. What I need if for it to run in the background. I tried with a javascript file and:
@Echo off
start /dcscript tindIt.js test.txt
does exactly what I'm wanting. I tired
/djava findIt test.txt
and that doesn't work, I also tried putting /b in front (which is supposed to make it run in the background) and it doesn't work. Any help would be appreciated. I can't find it on google! Thanks in advance.
@Echo off
java findIt test.txt
When I run the batch file it opens up a command window and starts to run the program. What I need if for it to run in the background. I tried with a javascript file and:
@Echo off
start /dcscript tindIt.js test.txt
does exactly what I'm wanting. I tired
/djava findIt test.txt
and that doesn't work, I also tried putting /b in front (which is supposed to make it run in the background) and it doesn't work. Any help would be appreciated. I can't find it on google! Thanks in advance.
