In this work we investigate the J/ψ production in proton-proton collisions at the center-of-mass energy (s) equal to 2.76, 5.02, 7, 8, and 13 TeV with the parton and hadron cascade model PACIAE 2.2a. It is based on PYTHIA but extended considering the partonic and hadronic rescatterings before and after hadronization, respectively. In the PYTHIA sector the J/ψ production quantum chromodynamics processes are selected specially and a bias factor is proposed correspondingly. The calculated total cross sections, the transverse momentum differentia...