How to rename a java process?

Possible duplicate:
How to rename the process java.exe / javaw.exe?

Hi, I am working on a Java desktop application. When a program starts, it creates a process java.exe. I was not worried about this. But now one of my users wants the name of this process to be changed to <project-name>.exe.

So, please provide me some suggestions, how can I achieve this function for my program?

+3
source share
3 answers

By their nature, Java programs are usually interpreted by the JVM. The Java process that you see is an actual JVM instance.

, , JVM , , -, ( JVM- ).

:

... , , "java to exe" Google.

: , Java, - .

, JNLP .

: http://www.excelsior-usa.com/articles/java-to-exe.html

,

+3

java.exe( javaw.exe) java (w).exe

+2

- , , , , , Java- ; . , ( ), , , , , ( SIGKILL).

The big problem with this solution is that you have to create platform independent code.

+1
source

Source: https://habr.com/ru/post/1793785/


All Articles