I have a jar that executes endlessly because i create a thread and the i join() the edt with this thread.
If i run this jar with double click on lets say windows a javaw process is created that runs forever and i can continue working which is what i want.
Now if i try to run the jar from cmd with java -jar myJar.jar the execution halts right there.
What i want is to continue cmd execution after running the jar.
*Note:*I currently trying to do this in linux console which i access with putty.So please consider this in your answer
Thank you
The
&puts the command into the background and allows you to do other things from the shell prompt.This is very basic UNIX/Linux shell stuff. I suggest that you find / read an online tutorial or a book on the shell you are using (e.g. bash). It will make your life a lot easier. Or if you are a masochist, read
man bash.Use of putty is actually not relevant.