Jprofiler 5.1.2 配置

Jprofiler 5.1.2 配置

 

 

http://blog.cnsucc.com/2009/04/24/jprofiler-512-%e9%85%8d%e7%bd%ae/

 

 

Jprofiler 5.1.2下载地址

2.安装,
运行jprofiler_windows_5_1_2.exe,安装到d:/Program Files/jprofiler5
安装的过程中可以选择与IDE整合,也可以在安装完成后,运行Jprofiler的时候再整合。

3.整合到Eclipse,
先启动 JProfiler :
开始菜单–>所有程序–>JProfiler 5 –>JProfiler,输入注册码。
算号器下载
Name: any
Company: any
License Key:
L-Larry_Lau@163.com#16320-dvzxpt17ogmau#013
L-Larry_Lau@163.com#83851-1vyctfjv8d6ua#255
L-Larry_Lau@163.com#83192-56yozpwn6v3n#174

(执行整合前,先关闭Eclipse)
主菜单–> Session –>IDE Intergrations –>选择Eclipse 3.3,,点“Integrate” ,选择Eclipse所在的文件夹。D:/Java/eclipse.
整合成功。
4.在Eclipse里配置JProfiler.

主菜单–>Window–>Customize Perspective –>Commands –>找到Profile ,选中它,再点OK即可。

5.填写注册码的时候,第一位必须是大写字母,第二位必须连接号,
第一个井号前的内容如果填错,Jprofiler不会提示出错。

而在启动Session的时候,而Jprofiler弹出的对话框内容为:
The JVM has Terminated unexpectedly.
Please try the following strategies:
*reduce the -Xmx value of the profiled application
*profile in interpreted mode
*change your profiling settings(e.g. from dynamic instrumentation sampling)
害得我试了半天都不行,

后来仔细看Terminal才发现是提示” Invalid license key”.

JProfiler> Protocol version 25
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 31757.
JProfiler> Instrumenting native methods.
JProfiler> Native library initialized
JProfiler> Waiting for a connection from the JProfiler GUI …
JProfiler> Using sampling (5 ms)
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled
JProfiler> ERROR: Invalid license key. Aborting.

JProfiler> Disconnected.

修改注册码之后,终于正常启动了。

正常启动的Terminal显示内容:

JProfiler> Protocol version 25
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 31759.
JProfiler> Instrumenting native methods.
JProfiler> Native library initialized
JProfiler> Waiting for a connection from the JProfiler GUI …
JProfiler> Using sampling (5 ms)
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled
JProfiler> Hotspot compiler enabled
JProfiler> Starting com/lizongbo/smpp/server/Main …

Listening on port a 5435

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值