---
title: "知识收集7"
author: "yinxiangbing"
date: "2014-03-27T14:07:50Z"
tags: []
categories: ["操作系统"]
slug: "7"
draft: false
lastmod: "2014-03-27T14:07:50Z"
id: 2037503
url: "https://yinxiangbing.iteye.com/blog/2037503"
---

## JProfiler整合Eclipse

**1.安装，**   
运行jprofiler\_windows\_5\_1\_2.exe，安装到d:\\Program Files\\jprofiler5   
**2.整合到Eclipse,**   
先启动 JProfiler : (执行整合前，先关闭Eclipse)   
主菜单–&gt; Session –&gt;IDE Intergrations –&gt;选择Eclipse 3.3，，点“Integrate” ，选择Eclipse所在的文件夹。D:\\Java\\eclipse. （如果是myeclipse，注意选择里面的eclipse文件）  
整合成功。

![](http://dl2.iteye.com/upload/attachment/0095/4055/4ce4a801-397d-39d0-b1ae-1a5796434d18.jpg)

**3.打开Eclipse程序；**  
选择：主菜单–&gt;Window–&gt;Customize Perspective –&gt;Commands –&gt;找到Profile ,选中它,再点OK即可。

![](http://dl2.iteye.com/upload/attachment/0095/4057/c396c3d9-261a-3eef-8b7c-2004b524b6f8.jpg)

**4. 运行测试**，选择你要测试的系统的主类，右击profile as--&gt;Java Application运行

![](http://dl2.iteye.com/upload/attachment/0095/4060/b92f4857-8ccf-324f-bb7c-56c69e0cbdf0.jpg)