J/ψ production by 24 GeV/c protons