如何将 Java 和 jxbrowser 进程组合成一个自定义命名进程? [英] How do you combine Java and jxbrowser processes into a single custom named process?

查看:90
本文介绍了如何将 Java 和 jxbrowser 进程组合成一个自定义命名进程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个非常庞大的应用程序,它在 JVM 上运行并且严重依赖于 jxbrowser.每当我们运行我们的应用程序时,我们都会在任务资源管理器中看到以下进程树(它会不时地无意中自行更改):

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 二进制文件(32 位)(5)
    • BrowserCore Chromium 原生进程
    • BrowserCore Chromium 原生进程
    • BrowserCore Chromium 原生进程
    • BrowserCore Chromium 原生进程
    • Java(TM) Platform SE 二进制文件

    我的目标很简单,确保进程树总是一行并带有一个集合名称 [应用程序名称].

    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 和安全软件看不到它.
    • Lau​​nch4j:流程名称标签已折旧.

    推荐答案

    不幸的是,这是不可能的,因为 JxBrowser 具有多进程架构,不允许将所有内容合并到一个 .exe 文件中.

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

    这篇关于如何将 Java 和 jxbrowser 进程组合成一个自定义命名进程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆