# VisualVM汉化 **Repository Path**: yfeil/visualvm ## Basic Information - **Project Name**: VisualVM汉化 - **Description**: VisualVM汉化版 目前还在制作中。。 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: https://www.cnblogs.com/yfeil/p/18111338 - **GVP Project**: No ## Statistics - **Stars**: 11 - **Forks**: 3 - **Created**: 2024-04-02 - **Last Updated**: 2025-08-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # VisualVM (2.1.8) 汉化版源码仓库 VisualVM 是一个集成了命令行JDK工具和轻量级分析功能的可视化工具。有关详细信息、下载和文档,请参见 https://visualvm.github.io。 ![输入图片说明](img/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202024-04-02%20190840.png) ![输入图片说明](img/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202024-04-02%20190851.png) ![输入图片说明](img/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202024-04-02%20190903.png) ![输入图片说明](img/%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202024-04-02%20190926.png) ## 获取工具 使用Apache Ant 1.9.9或更高版本和Oracle JDK 8从这个存储库构建VisualVM。 ## 获取源码 首先下载或克隆此存储库到 `visualvm`目录。包括两个项目套件: * visualvm (`visualvm/visualvm`) - 核心visualvm工具套件 * plugins (`visualvm/plugins`) - 插件中心提供的visualvm插件套件 ## 配置依赖项 下载并解压 [NetBeans Platform 19](https://github.com/oracle/visualvm/releases/download/2.1.8/nb190_platform_20230927.zip) 到目录 `visualvm/visualvm` (应该创建 `visualvm/visualvm/netbeans`). ## 如何构建 要构建 VisualVM,在 `visualvm/visualvm` 目录下使用 `ant build-zip` 命令。 ## 如何运行 要运行 VisualVM, 在 `visualvm/visualvm` 目录下使用 `ant run` 命令。 ## 构建并运行插件 To build or run the plugins suite, use `ant build` or `ant run` in the `visualvm/plugins` directory. This will automatically build the zip distribution of the core VisualVM tool into `visualvm/visualvm/dist/visualvm.zip` and extract it into the `visualvm/plugins/visualvm` directory. After that the build of the plugins suite continues to build each of the individual plugins. Running the plugins suite means starting VisualVM with all the plugins installed. ## Generate the Maven artifacts First prepare the binaries: 1. Build VisualVM tool as described above 2. Expand/decompress the generated `visualvm.zip` file in `visualvm/dist`. 3. Generate the NBMs by running: `ant nbms`. This will generate a folder `build/updates` containing all the NBMs. To generate the artifacts use [`org.apache.netbeans.utilities:nb-repository-plugin`](https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html). Make sure the current directory is still `visualvm/visualvm`. To install the artifacts into your local repository use the following command: ``` mvn \ -DnetbeansInstallDirectory=dist/visualvm \ -DnetbeansNbmDirectory=build/updates \ -DgroupIdPrefix=org.graalvm.visualvm \ -DforcedVersion=RELEASE218 \ org.apache.netbeans.utilities:nb-repository-plugin:populate ``` To publish the artifacts into a remote repository use the following command: ``` mvn -DnetbeansInstallDirectory=dist/visualvm \ -DnetbeansNbmDirectory=build/updates \ -DgroupIdPrefix=org.graalvm.visualvm \ -DforcedVersion=RELEASE218 \ -DdeployUrl= \ -DdeployId= \ -DskipInstall=true \ org.apache.netbeans.utilities:nb-repository-plugin:populate ``` For more information about `nb-repository-plugin` see https://bits.netbeans.org/mavenutilities/nb-repository-plugin/index.html ## Contributing We highly appreciate any feedback! Please let us know your ideas, missing features, or bugs found. Either [file a RFE/bug](https://github.com/oracle/visualvm/issues/new/choose) or [leave us a message](https://visualvm.github.io/feedback.html). For legal reasons, we cannot accept external pull requests. See [CONTRIBUTING](./CONTRIBUTING.md) for details. ## 保护措施 请参考[安全指南](./SECURITY.md)了解我们负责任的安全漏洞披露流程 ## 许可证 版权所有 (c) 2017, 2023 Oracle 或其关联公司. Released under the GNU General Public License, version 2, with the Classpath Exception.