I know that $$\log\zeta(s) = \sum_p \sum_n {\frac{1}{n}\,p^{-ns}}$$ And I have read that $$\log\zeta(s) = s\int_0^{\infty}J(x) \, x^{-s-1} \, dx$$ (where $J(x)$ is the function which begins at $0$ for $x = 0$ and increses by a jump of $1$ at primes $p$, by a jump of $\frac12$ at prime squares $p^2$, by a jump of $\frac13$ at prime cubes, etc; $p$ sums over all the prime numbers; the real part of $s$ is always greater than $1$; and $n$ sums over all the natural numbers greater than $0$.
But how do I get from the first to the second one?
Thanks for your help.