Eclipse PDT requires jre as prerequisite, so you need to first install jre.
Get Eclipse PDT
go to eclipse pdt site http://www.eclipse.org/pdt/
Download linux version 32/64 bit depending on your os
extract eclispse and just click on the eclipse file
it will now open editor