How to rename java.exe/javaw.exe process?

前端 未结 7 1119
故里飘歌
故里飘歌 2020-12-15 22:00

Always when I run java application it will display in Windows Task Manager is java.exe or javaw.exe. How to rename java.exe or javaw.exe process without wrapper by other pro

7条回答
  •  自闭症患者
    2020-12-15 22:52

    Old thread but if anyone still wonders...If you use the javapackager with the -name MyTestApp -native image flags it will generate a native runtime image with the executable MyTestApp.exe for you and this is how it will look like in the Task Manager with the default icon:

    Now, packaging as a Self-Contained Application may or may not be what you want. It has both benefits and drawbacks: https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/self-contained-packaging.html#A1307236

提交回复
热议问题