有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

JMeterJava包,其中包含自己的JRE

我正在尝试从perfmon for jmeter获取服务器代理,该代理运行在Windows服务器上,我无法安装Java。下面的描述描述了如何操作,但我无法读出“创建自己的代理包,其中包含自己的JRE?”我已经从java下载了最新的文件。但是它是一个安装程序,这是它的一部分吗

参考:http://code.google.com/p/jmeter-plugins/wiki/PerfMonAgent

The agent is written in Java, so you will need JRE 1.4+ to run it. Note you can create yourself the agent package which includes its own JRE so you don't have to install java on the server (We tested it on windows platform). To do this, just create a JRE folder in the agent folder and copy one installed JRE inside. Change the java command inside the .bat file to the path to the java executable and it will work.


共 (1) 个答案

  1. # 1 楼答案

    1. 在另一台机器上安装Java(JDK+JRE)

    2. 在Windows中复制文件夹的内容>;程序文件>;爪哇>;jre XXXX到代理文件夹

    3. 编辑PerfMon代理。bat文件,并将其更改为与您在上一步创建的新jre文件夹中的java相匹配