Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

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 programming languages.

like image 764
Fuangwith S. Avatar asked Nov 05 '08 16:11

Fuangwith S.


People also ask

How do you change the process name in java?

During the install service process, we can give the process an meaningful name such as OurApp.exe. All we need do is rename prunsrv.exe to OurApp.exe and replace every occurrence of prunsrv.exe in our install|start|stop|uninstall service scripts to MyApp.exe.

Do I use java exe or Javaw exe?

you can run your java program either by using java.exe or javaw.exe. It's suggested to use javaw.exe when you don't need a command line window to appear. javaw launcher will display in error in a dialog box if execution fails.

What is the difference between Javaw and java?

The javaw command is identical to java, except that javaw has no associated console window. Use javaw when you do not want a command prompt window to be displayed. The javaw launcher displays a window with error information if it fails.

What is Javaw exe process?

javaw.exe is a legitimate file from Sun Microsystems. It is an executable file used for displaying error messages, if they occur while installing any application. It's an essential Java file and it is typically located in c:\program by default.

Where is the Javaw exe file located?

The default path of javaw.exe on 64-bit Windows platforms should be C:\Program files(x86)\java\jre7\bin or C:\Program files(x86)\java\jre8\bin.


1 Answers

If you are confused by looking at process names that are all the same (java.exe), try to use Process Explorer instead of Task Manager, and display the command line field. This way, you can see the class or jar arguments that differentiate one process from another.

like image 50
gimel Avatar answered Sep 26 '22 21:09

gimel