Changing the default TeXlipse compiler to PDFLatex

If I understood your question correctly, you probably have a Java project with a .tex file somewhere. Something like the following image:

Image 1

If we save our document, TeXlipse is configured to run the TeX builder for us. Saving the document with CTRL + S will give us the following files in my doc/ subfolder:

Image 2

The default setup is to rely on latex and .dvi. In order to change this behaviour, we need to go to Project > Properties:

Image 3

Just a note: if we check the builders, we will see that the project is set to run both Java and TeX builders for us.

Image 4

Look for the LaTeX Project Properties tab:

Image 5

The following screen will appear:

Image 6

Go to the output format and change the extension from .dvi to .pdf:

Image 7

The engine will automatically change to pdflatex. Click OK.

Image 8

Every time we edit our .tex document and save it, pdflatex will be executed instead of latex, and we will have the following files in my doc/ subfolder:

Image 9

We can also see the .pdf with the embedded viewer:

Image 10

Hope it helps. :)