Let $R > 0$. Determine the radial solution of the problem
\begin{align} - \Delta u(x) & = 1 \text{ if $|x| < R$}\\ u(x) & = 0 \text{ if $|x| = R$} \end{align}
We know the fundamental solution of the Laplace equation in $\mathbb{R}^n$ for n>2:
$\Phi(x) = \frac{1}{(n-2) \cdot w_n} \cdot |x|^{2-n}$,
where $w_n$ denotes the surface area of the unit sphere in $\mathbb{R}^n$.
Additionally we know following theorem:
Suppose $f \in C^2_c(\mathbb{R}^n)$ and let $u = \Phi \ast f$. Then $u \in C^2(\mathbb{R}^n)$ and $- \Delta u = f$ in $\mathbb{R}^n$.
My first guess is, that we have to choose $f = \mathbb{1}_{B(0,R)}$. But this function is not even continuous. And just tacking $f = \mathbb{1}_{\mathbb{R}^n}$ seems to make no sense to me.
Can anyone give me a hint how to approach this problem?
Recipe -
A similar problem - Poisson equation inside a ball $B(0, 1)$