Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
There is a conjecture due to Bjorn Poonen (www-math.mit.edu/~poonen/papers/leopoldt.pdf) which implies that if $J$ is simple, then $r'=r$. So, if you believe it you will have to pick $J$ to be a product of two elliptic curves, with ranks 2 and 0 respectively.For any Jacobian of this type $r'$ will be 1.