Hello
The jovian density is

, while the density of terrestrial planets is much higher. For instance, the earth's density is

. The reason of this difference is in the different chemical composition: while jupiter is made of gas (mainly hydrogen), with lower density, while the terrestrial planets are made of solid and liquid, with compounds of higher density.