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
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