This isnt really a java issue. I'm not a OS expert, but if you run something from a command like, the process (i.e. you app / JVM) are a child so to speak of the command prompt process. I.e. kill the command prompt process and the operating system will kill all child processes / your app.
So this is OS specific executable stuff, i.e. you need to figure out a way to run it either not from a command prompt or disown it. Effectively something like the apps that wrap your java up into an executable or something.
Darryl Burke wrote:There's something I'm not getting here.
That makes two of us.
Bhagirathi Mallick wrote:But, I need the Command line console, i am not using swing application
is it possible or not...
I've never written a Java application that requires absolutely no user interaction or feedback so I don't know - did you try it?
I suppose if you have some file manipulation or heavy number crunching, you could have a program that just needs the input file name, and you know it's done when some new file shows up...but that's probably a stretch.