We present a closed form solution for the self-resonances in a short Josephson tunnel junction. This solution is alternative to the well known textbook result \cite{Barone,Kulik} based on a series expansion. Results are derived for the up-to-date case of a 0−π junction.