Let $R$ be a commutative unitary ring and I and J be two maximal ideals of $R$ such that $I \neq J$ and $I \cap J = Re$ where $e \in R$ is idempotent.
Prove that $J \cap R(1 - e) \neq \{0\}$.
I have no clue. I tried to work by contradiction to make use of the second isomorphism theorem. I said that since $e$ is idempotent, $R = Re \oplus R(1 - e)$. Also $J + R(1-e)$ is an ideal of $R$ containing $J$ and $\neq J$ so $R = J \oplus R(1-e)$, so $J \cong Re = I \cap J$. I don't see how this can be made useful.
Help is much appreciated.
Because of $I\cap J = Re$, $I \neq J$, and $J$ maximal, we know that $Re \subsetneq J$. Let $\phi:R \to Re\oplus R(1-e)$ be the canonical isomorphism, and set $J' = \phi(J)$.
Take an element $(a, b) \in J'$ such that $b \neq 0$ (possible because $J \not \subseteq Re$). Because of $Re \subset J$, we also have $(a, 0)\in J'$, so $(a, b) - (a, 0) = (0, b) \in J'$. But $(0,b) \in \{0\}\oplus R(1-e)$, so $\phi^{-1}(0,b)$ is both an element of $J$ and of $R(1-e)$.