How do you combine Java and jxbrowser processes into a single custom named process?

北慕城南 提交于 2019-12-24 20:52:36

问题


We have a pretty huge application that runs on JVM and relies heavily on jxbrowser. Whenever we run our application we see the following process tree in task explorer (which does change from time to time unintentionally and by itself):

  • Java(TM) Platform SE binary (32 bit) (5)
    • BrowserCore Chromium native Process
    • BrowserCore Chromium native Process
    • BrowserCore Chromium native Process
    • BrowserCore Chromium native Process
    • Java(TM) Platform SE binary

My goal is simple, make sure the process tree is always a single line with a set name [app name].

The reason is primarily security related; on high security networks, unidentified processes are a problem.

Failed solutions considered:

  • Dname: windows and security software doesn't see it.
  • Launch4j: process name tag is depreciated.

回答1:


Unfortunately, it is not possible as JxBrowser has a multi-process architecture, which does not allow to combine everything in one .exe file.



来源:https://stackoverflow.com/questions/56674075/how-do-you-combine-java-and-jxbrowser-processes-into-a-single-custom-named-proce

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!