Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » why ervry time i run a project system lunch a new javaw.exe process??
why ervry time i run a project system lunch a new javaw.exe process?? [message #46015] Sun, 03 April 2005 13:55 Go to next message
Eclipse UserFriend
Originally posted by: lusp.21cn.com

Hi all:
Why ervry time i run a project whit Eclipse system lunch a new javaw.exe
process?? After i run my project servel times my computer will become very
slowy?

Help Me!!!

Thanks.

Sean
Re: why ervry time i run a project system lunch a new javaw.exe process?? [message #46074 is a reply to message #46015] Sun, 03 April 2005 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.gmail.com

Sean,

Every time you Run a Java program in Eclipse, the java interpreter is
launched to run your program. It is up to you to make sure that your
program terminates itself whenever you are done with it, so that
multiple instances do not continue running when launching multiple
times. An alternative is to switch to the Debug perspective and
manually terminate your old processes before launching a new one.

Hope this helps,
- Jeff

Sean wrote:
> Hi all:
> Why ervry time i run a project whit Eclipse system lunch a new javaw.exe
> process?? After i run my project servel times my computer will become very
> slowy?
>
> Help Me!!!
>
> Thanks.
>
> Sean
>
>
Re: why ervry time i run a project system lunch a new javaw.exe process?? [message #46499 is a reply to message #46074] Mon, 04 April 2005 05:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lusp.21cn.com

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?

Sean

"Jeff Myers" <myersj@gmail.com> ??????:d2ouno$rkg$1@news.eclipse.org...
> Sean,
>
> Every time you Run a Java program in Eclipse, the java interpreter is
> launched to run your program. It is up to you to make sure that your
> program terminates itself whenever you are done with it, so that multiple
> instances do not continue running when launching multiple times. An
> alternative is to switch to the Debug perspective and manually terminate
> your old processes before launching a new one.
>
> Hope this helps,
> - Jeff
>
> Sean wrote:
>> Hi all:
>> Why ervry time i run a project whit Eclipse system lunch a new javaw.exe
>> process?? After i run my project servel times my computer will become
>> very slowy?
>>
>> Help Me!!!
>>
>> Thanks.
>>
>> Sean
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 19:17 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Archived download site for Eclipse updates?
Next Topic:Bigger history repository
Goto Forum:
  


Current Time: Wed Jan 15 14:36:25 GMT 2025

Powered by FUDForum. Page generated in 0.05395 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top