Study of J /ψ Production in Jets