We first determine c and (c) over bar shower parton distributions in jets induced by light and charm hard partons in the framework of the recombination model from relevant fragmentation functions. The shower parton distributions can be used to calculate other fragmentation functions and study charmed hadron production in other collisions. When the distributions are applied to reproduce the J/psi production in Au + Au collisions at root(NN)-N-s = 200 GeV, energy loss effect is taken into account for J/psi production due to its momentum loss in traversing the dense medium. We find that the contr...