[英]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.当我打开 Eclipse 或 Netbeans Java 虚拟机进程 javaw 时,我在进程列表中看不到 javaw 进程。 Shouldn't i be able to?
我不应该可以吗?
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. 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. Netbeans 和 eclipse 由 Windows 启动器应用程序启动,这些应用程序可能是用 C/C++ 编写的——它们不是直接的 ZD5213877880E5EA221 调用。
Eclipse doesn't run in a virtual machine and doesn't start the virtual machine until you run your code.
Eclipse 不会在虚拟机中运行,并且在您运行代码之前不会启动虚拟机。
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.我认为,当您运行代码的多个实例时,它会在单独的虚拟机中运行它们,因此当您的代码运行时,您应该只看到 java 或 javaw 进程。
Try running code containing while(true){}
and see if you can see the process then.尝试运行包含
while(true){}
的代码,然后看看您是否可以看到该过程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.