javaw multiple processes when working with VE [message #70295] |
Mon, 08 November 2004 11:37  |
Eclipse User |
|
|
|
Originally posted by: mnatali.bezeqint.net
Hi!
I am a newbie and beg your pardon if the question I want to ask has been
already discussed to death. I've paid attention that when I work with the
VE
(edit/run/stop the Java application) consequently, Task Manager shows me
the growing number of the javaw processes. What can be a reason? Do I do
something wrong? Is it because of VE?
Thanx!
|
|
|
|
|
Re: javaw multiple processes when working with VE [message #70437 is a reply to message #70417] |
Mon, 08 November 2004 16:48   |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
We would like to not show it, but Java doesn't have an API to hide it.
On Windows, we'd have to write JNI code, but even if we did, we'd have
to find the handle for the window, and Java doesn't expose the handle.
We could probably kludge something up but we have so many other things
on the plate too.
It's even worse in Linux, so far we have found no API what-so-ever, even
in JNI land, that can be used to not show it.
--
Thanks,
Rich Kulp
|
|
|
Re: javaw multiple processes when working with VE [message #70456 is a reply to message #70437] |
Mon, 08 November 2004 18:03   |
Eclipse User |
|
|
|
Originally posted by: cdouglas.NOSPAMoz.net
Rich Kulp <richkulp@us.NO_SPAM.ibm.com> wrote in news:cmophj$bei$1
@eclipse.org:
> We would like to not show it, but Java doesn't have an API to hide it.
> On Windows, we'd have to write JNI code, but even if we did, we'd have
> to find the handle for the window, and Java doesn't expose the handle.
> We could probably kludge something up but we have so many other things
> on the plate too.
>
> It's even worse in Linux, so far we have found no API what-so-ever, even
> in JNI land, that can be used to not show it.
>
I suspected as much, but it's good to know it has been looked into.
Chas Douglass
|
|
|
Re: javaw multiple processes when working with VE [message #70515 is a reply to message #70337] |
Tue, 09 November 2004 03:05  |
Eclipse User |
|
|
|
Originally posted by: mnatali.bezeqint.net
Rich Kulp wrote:
> We need to start another java process up because we need to do
> introspection, and we need to run your code so that we can screen scrape
> it to the picture you see. We can't do it in the same java process as
> the IDE becuase it may not be the same java version, and we don't want
> to run user code in the IDE because it could crash the IDE, and because
> the class keep changing as you are editing and this causes problems with
> class loading because there's no easy way to unload a class and load in
> a new version of it without using sophisticated class loader techniques.
Thank you!
Natasha
|
|
|
Re: javaw multiple processes when working with VE [message #602717 is a reply to message #70295] |
Mon, 08 November 2004 12:52  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
We need to start another java process up because we need to do
introspection, and we need to run your code so that we can screen scrape
it to the picture you see. We can't do it in the same java process as
the IDE becuase it may not be the same java version, and we don't want
to run user code in the IDE because it could crash the IDE, and because
the class keep changing as you are editing and this causes problems with
class loading because there's no easy way to unload a class and load in
a new version of it without using sophisticated class loader techniques.
--
Thanks,
Rich Kulp
|
|
|
Re: javaw multiple processes when working with VE [message #602743 is a reply to message #70337] |
Mon, 08 November 2004 16:22  |
Eclipse User |
|
|
|
Rich Kulp <richkulp@us.NO_SPAM.ibm.com> wrote in news:cmobo5$1m5$2
@eclipse.org:
> We need to start another java process up because we need to do
> introspection, and we need to run your code so that we can screen scrape
> it to the picture you see. We can't do it in the same java process as
> the IDE becuase it may not be the same java version, and we don't want
> to run user code in the IDE because it could crash the IDE, and because
> the class keep changing as you are editing and this causes problems with
> class loading because there's no easy way to unload a class and load in
> a new version of it without using sophisticated class loader techniques.
>
Would it be possible to not show the client VM in the Windows task list?
This is the real issue here -- I don't think anyone cares that you start a
separate process. What is frustrating is having that new task "appear" on
your task bar, but you can't select it even though it has the name of your
app on it.
Also, once you start running/debugging your app, you know have *two* of
these on your task list, with no obvious differentiation other than "when I
click on this one nothing happens and when I click on this one I get my app
back".
Chas Douglass
|
|
|
Re: javaw multiple processes when working with VE [message #602750 is a reply to message #70417] |
Mon, 08 November 2004 16:48  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
We would like to not show it, but Java doesn't have an API to hide it.
On Windows, we'd have to write JNI code, but even if we did, we'd have
to find the handle for the window, and Java doesn't expose the handle.
We could probably kludge something up but we have so many other things
on the plate too.
It's even worse in Linux, so far we have found no API what-so-ever, even
in JNI land, that can be used to not show it.
--
Thanks,
Rich Kulp
|
|
|
Re: javaw multiple processes when working with VE [message #602756 is a reply to message #70437] |
Mon, 08 November 2004 18:03  |
Eclipse User |
|
|
|
Rich Kulp <richkulp@us.NO_SPAM.ibm.com> wrote in news:cmophj$bei$1
@eclipse.org:
> We would like to not show it, but Java doesn't have an API to hide it.
> On Windows, we'd have to write JNI code, but even if we did, we'd have
> to find the handle for the window, and Java doesn't expose the handle.
> We could probably kludge something up but we have so many other things
> on the plate too.
>
> It's even worse in Linux, so far we have found no API what-so-ever, even
> in JNI land, that can be used to not show it.
>
I suspected as much, but it's good to know it has been looked into.
Chas Douglass
|
|
|
Re: javaw multiple processes when working with VE [message #602778 is a reply to message #70337] |
Tue, 09 November 2004 03:05  |
Eclipse User |
|
|
|
Originally posted by: mnatali.bezeqint.net
Rich Kulp wrote:
> We need to start another java process up because we need to do
> introspection, and we need to run your code so that we can screen scrape
> it to the picture you see. We can't do it in the same java process as
> the IDE becuase it may not be the same java version, and we don't want
> to run user code in the IDE because it could crash the IDE, and because
> the class keep changing as you are editing and this causes problems with
> class loading because there's no easy way to unload a class and load in
> a new version of it without using sophisticated class loader techniques.
Thank you!
Natasha
|
|
|
Powered by
FUDForum. Page generated in 0.06356 seconds