I need to profile a java application for a customer. It\'s an eclipse/maven project, so I decided on using eclipse TPTP ( http://www.eclipse.org/tptp ).
I tried to i
VisualVM 1.1.1 is a nice alternative to using NetBeans, being a standalone app, so you don't have to bring a Maven/Ant/Eclipse project into it's project format. It can see any local Java process upon opening, so just double click your app in the list of Java processes and off you go. You can:
It's strange. I've tried the all in one package and it works without a problem on Windows XP with Java 1.5 Is it not possible that you use 64 bit version of Windows? Maybe that could be the cause of the problem.
I personaly don't use TPTP very much. I think NetBeans profiler gives more - at least more understandable - information.
An alternative is to use Netbeans to profile an Eclipse Application.
I have a blog post on the link below that explains how to configure both applications:
http://www.jroller.com/ortegon/entry/on_profiling_eclipse_rcp_applications
It works very well. I've been profiling this way from over a year. Easy to use, easy to setup and nice graphics also.
I found installing TPTP a pain, at least the version I used is not very well integrated with Eclipse. It took me a very long time to get it to work correctly. Netbeans was way quicker to learn and to get up to speed. In the newer versions, it is also possible to import the source code of the Eclipse Projects using a special netbeans plugin (albeit it needs to be downloaded separately).
If you update to Java 1.6u7 or better, you'll get access to the VisualVM tool that is essentially the same as the Netbeans Profiler.
I tried to use the Eclipse Test and Performance Tools package, but it just didn't work as well as the Netbeans profiler.
Maybe try downloading the "Java 1.5+ (JVMTI) Profiler SDK" (runtime) from http://www.eclipse.org/tptp/home/downloads/?ver=4.5.1
I also think IBM's latest Rational Developer integrates this technology (there is 60 days trial). You can see how they configure it there.