How to set up Eclipse TPTP

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 install eclipse TPTP through the update manager from a standard eclipse installation, but I gave up because of the unbelievable complex setup and downloading of dependencies with very cryptic names.

Then I downloaded the "all in one TPTP 4.5.1" package from http://www.eclipse.org/tptp/home/downloads/?ver=4.5.1 but when I start it up, it pops up an error saying "The eclipse executable launcher was unable to locate it's companion shared library".

I'm running Windows XP, Sun Java 1.5, and clicked on "eclipse.exe" in the unpacked eclipse TPTP installation.

What do I need to do to get eclipse TPTP running?


Asked by: Dainton405 | Posted: 28-01-2022






Answer 1

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:

  1. Take Heap Dumps
  2. Compare Memory Snapshots
  3. View garbage collection with the VisualGC plugin
  4. Run BTrace scripts to add run-time profiling & debugging advice to your code.

Answered by: Fenton795 | Posted: 01-03-2022



Answer 2

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.

Answered by: Adelaide268 | Posted: 01-03-2022



Answer 3

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).

Answered by: Alina315 | Posted: 01-03-2022



Answer 4

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.

Answered by: Rubie941 | Posted: 01-03-2022



Answer 5

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.

Answered by: Stuart457 | Posted: 01-03-2022



Similar questions

java - Read from file in eclipse

I'm trying to read from a text file to input data to my java program. However, eclipse continuosly gives me a Source not found error no matter where I put the file. I've made an additional sources folder in the project directory, the file in question is in both it and the bin file for the project and it still can't find it. I even put a copy of it on my desktop and tried pointing eclipse there when it aske...


java - Eclipse 3.2 or 3.4?

Is there really a big difference between Eclipse 3.2 and 3.4? I am currently using 3.2.


java - Related File Tree in Eclipse

Is there a way to get a related file tree for files in eclipse? In other words I want to know ALL possible files changing a particular file could effect. So if I change an image file I want to know all JSPs that reference that image and all servlets that reference that JSP and all other java classes that reference that servlet... etc. Maybe I'm shooting for the moon. (Note: I have edited the post due to a c...


Java API in eclipse

Im new to eclipse , can anybody tell me how to use an JAVA API in eclipse. or share any sample Java API. Yes, how to use JavaDoc file in eclipse.


java - eclipse and path

Hello I have written a such function under Eclipse: public static ArrayList<String> getMails(){ ArrayList<String> mails = new ArrayList<String>(); try{ FileInputStream fstream = new FileInputStream("mails.txt"); DataInputStream in = new DataInputStream(fstream); BufferedReader br = new BufferedReader(new InputStreamReader(in)); ...


java - run jar in eclipse

My problem is that I want to run some jar files in eclipse within a plugin. This jars make analysis on an eclipse project: String run_tool ="cmd.exe /C start java -Xmx400m -cp org-jcolumbus.jar;org-jcolumbus-schema.jar;lib/antlr.jar org.jcolumbus.tool.BuildModel -tasks "+src_dir+" -jsi "+SelProj.getLocation()+"/result/temp/"+SelProj.getName(); Runtime rt2 = Runtime.getRuntime(); Process sp2 = rt2.exec(run_t...


java - How to Force Thread Dump in Eclipse?

I'm launching a Weblogic application inside Eclipse via the BEA Weblogic Server v9.2 runtime environment. If this were running straight from the command-line, I'd do a ctrl-BREAK to force a thread dump. Is there a way to do it in Eclipse?


eclipse - Java - change focus on key press

I am writing a Java Application for Data Entry using Eclipse and SWT. Naturally it has a great many Text objects. What I would like to happen is that when user enters something into one field focus automatically changes to the next field. Thanks in advance


java - Eclipse coding style checks as an Ant Task?

In Eclipse I can set all kinds of preferences for coding style. I'd like to be able to enforce these as an ant task to make the build break. Can anyone give me an example of how to enforce eclipse coding styles in an Ant task? (I KNOW about PMD, checkstyle etc - none of these EXACTLY match the eclipse preferences for coding style. I want an ant task that exactly matches the eclipse coding style)


java - How can I build an Eclipse plugin outside of Eclipse?

I have a series of Eclipse projects containing a number of plugins and features that are checked into CVS. I now need to run an automated build of these plugins. Ideally I'd like to do it without having to hardcode large numbers of Eclipse library locations by hand, which has been the problem with the automatically generated Ant files that Eclipse provides. The build also needs to run headlessly. Does anyone have e...


java - Where does Eclipse find javac to compile a project?

Here is what I have: JAVA_HOME=C:\Software\Java\jdk1.5.0_12 (points to JDK 5.0) In Eclipse "Installed Runtimes" I have: jre 1.5.0_12 (points to JRE 5.0) jre 1.6.0_3 (points to JRE 6.0) (this one is default) I do not have "javac" on my PATH (i.e. I cannot run javac -version from command line if I am not in JDK/bin). My project is set to use jre 1.6.0_3 and compiler's Compliance Level is set t...


java - Which is the best Maven Eclipse plugin?


eclipse - Java cannot find symbol compile error

new to Java. I want to use the org.apache.commons.lang.WordUtils package. Tried importing it. Tried downloading it and adding it to my build path. When I use intellisense for the word WordUtils Eclipse auto puts the import statement at the top of the file. I get the following error when compiling: ConvertToUrl.java:3: package org.apache.commons.lang import org.apache.commons.lang.WordUtils; ...


java - How to show syntax errors in an eclipse editor plugin

How can I indicate syntax errors (e.g. an illegal sequence of tokens) in an eclipse editor plugin just like in the eclipse Java editor, i.e. by red wriggly underlines, a red marker on the scrollbar that you can jump to, and an explanatory message when you hover over either one? I'm writing an eclipse editor plugin for a custom file format (specifically, the "snake file format" of the Shark3D game engine). I have im...


java - Can I get Eclipse File Search to include IvyDE jars?

The Eclipse File Search dialog doesn't seem to be playing nicely with my IvyDE (2.0.0beta1) dependency jars. That is, my IvyDE brings some-dep.jar/some-dep.zip (class/source), but I don't see any way to get my file search (ctrl+h search) to include these resources when searching for text -- so if MAGIC_FLAG appears only in the Magic class inside some-...


java - How to offer links in an eclipse editor plugin?

I'm writing an eclipse editor plugin for a custom file format and want to offer a way to quickly jump to the definition of an entity from a named reference to it - basically the "open declaration" functionality of the eclipse Java editor. I know I can do this by registering an editor action and putting it in the context menu, but I'd really like the way all Java identifiers turn into links to their declaration when...






Still can't find your answer? Check out these amazing Java communities for help...



Java Reddit Community | Java Help Reddit Community | Dev.to Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)



top