Does eclipse.exe run as JVM process? How does eclipse start?
As you know, during using eclipse, we can try to chang the VM arguments in eclipse.ini, like
-Xmx1024m
it's easy to understand this if we just execute Java from command line with such arguments. However during we started eclipse, we invoke “eclipse.exe",right ? Also eclipse can allow us to change the JDK during runtime.
so in my opinion, the eclipse will start as the parent process, then it will start JVM subchild process to handle Java stuff. But I am not sure about this, as I can't decompile the ecl开发者_开发技巧ipse.exe. If you are familiar with the start process, then please help to clear about this. Appreciated for your comments.
The term Eclipse uses for this executable is "Launcher". You may find some useful information in the answer to this question:
Why does Eclipse use a native launcher?
Yes, eclipse.exe
is a small wrapper program that starts its own JVM, which is then used to run the rest of Eclipse. It does little more than find a JVM, set up a few paths and class loaders, and pass its arguments along.
精彩评论