This is probabibly trivial, but I've read on here that a connected compact $n$-manifold $M$ is orientable iff $H_n(M,\mathbb{Z}) \neq 0$, and it's not exactly clear to me why.
Following Hatcher, let's say that a $n$-manifold $M$ is $R$-orientable with coefficients in $R$ iff there is a generator of $H_n(M;R) \cong R$, called a "fundamental class", which is mapped by $i_\ast$ ($i$ being the inclusion $(M, \emptyset) \to (M|x) :=(M, M \setminus \{x\})$) to a generator of $H_n(M|x;R) \cong R$ for all $x$. I want to prove that this is equivalent to $H_n(M;R) \cong R$ for $M$ compact and connected. Clearly Poincaré duality implies that $H_n(M;R) \cong R$ if $M$ is orientable. The converse doesn't seem trivial to me though: from Proposition 3.29 of Hatcher I know that $H_n(M \setminus \{x\}; R ) =0$, and from the long exact sequence of a pair I get $$ 0 \to R \cong H_n(M; R) \xrightarrow{i_\ast} H_n(M|x; R) \cong R \to \dots $$ but this is not enough to say that $i_\ast$ is an isomorphism, unless $H_{n-1}(M\setminus \{x\};R) = 0$, but this doesn't seem to hold in general (take $M = S^1 \times S^1$ and $n=2$). What am I missing?