|
|
|
Re: why ervry time i run a project system lunch a new javaw.exe process?? [message #47037 is a reply to message #46499] |
Mon, 04 April 2005 15:17  |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Sean" <lusp@21cn.com> wrote in message
news:d2qhvb$u86$1@news.eclipse.org...
> Thank you Jeff, and i really want to know is that: how can i terminated
> javaw.exe when the programe shut down?
> Is theren any code example?
When your program's main thread exits, javaw should shut down automatically.
If it does not, it may be that your program is not successfully exiting;
that is, there may be a bug in your program that is keeping it from shutting
down all the way. If you have created a daemon thread, or if you are doing
your UI on a dependent thread and exiting that thread but not exiting the
main thread, then it could *look* like your program exited when actually it
didn't.
If you run your program outside of Eclipse, does the javaw process go away
when the program exits?
You can always use the Task Manager to shut down runaway processes. You may
need to watch the Task Manager during program startup, to figure out which
processID corresponds to your program.
-Walter Harley
BEA Systems, Inc.
|
|
|
Powered by
FUDForum. Page generated in 0.07946 seconds