Difference between java.exe, javaw.exe and jvm.dll

前端 未结 2 1818
暖寄归人
暖寄归人 2020-12-08 14:08

What is the difference in running an application (for example, Eclipse) with java.exe, javaw.exe and jvm.dll? Also, does it make any difference in terms of performance?

2条回答
  •  青春惊慌失措
    2020-12-08 14:46

    • java.exe - run a Java program (need to specify classes and/or JARs) starting from specified class containing main() method.

    • javaw.exe - as above but does not create a Windows command prompt (suitable for Swing programs that do not need a console).

    • jvm.dll - this is not a runnable but a library. Probably used by both programs above.

提交回复
热议问题