This should be posted in an eclipse forum. I already solved it.
The problem was that i wasn't using Sun's jdk. So I installed it, and selected with update-alternatives. Then eclipse used the correct jdk, and have no troubles installing JBoss Tools.
Were just about to say you should make sure you use a JDK and not just a JRE.