简体   繁体   中英

Why doesn't the javaw.exe start when i open Eclipse or NEtbeans?

When i open Eclipse or Netbeans the Java virtual machine process javaw i can't see the javaw process in the processes list. Shouldn't i be able to?

It is probably wrapped by some other process, which creates the JVM programmatically. You can do this for your own application with Launch4J .

I can't speak for Netbeans, but Eclipse is started by eclipse.exe, which I can find easily in my Windows XP processes list in Task Manager.

Netbeans and eclipse are started by Windows Launcher applications that are written possibly in C/C++ - they are not direct Java calls.

Eclipse doesn't run in a virtual machine and doesn't start the virtual machine until you run your code. I think that when you run multiple instances of your code it runs them in separate virtual machines, so you should only see a java or javaw process when your code is running.

Try running code containing while(true){} and see if you can see the process then.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM