We have studied J/psi production in pp collisions at $\sqrt{s}=7$ TeV at the LHC through its muon pair decay. The polar and azimuthal angle distributions of the decay muons were measured, and results on the J/$\psi$ polarization parameters $\lambda_{\theta}$ and $\lambda_\phi$ were obtained. The study was performed in the kinematic region 2.5<y<4, 2<$p_{\rm T}$<8 GeV/$c$, in the helicity and Collins-Soper reference frames. In both frames, the polarization parameters are compatible with zero, within uncertainties.
We report on the measurement of the inclusive J/$\psi$ polarization parameters in pp collisions at a center of mass energy $\sqrt{s} = 8$ TeV with the ALICE detector at the LHC. The analysis is based on a data sample corresponding to an integrated luminosity of 1.23 pb$^{-1}$. J/$\psi$ resonances are reconstructed in their di-muon decay channel in the rapidity interval $2.5 < y < 4.0$ and over the transverse-momentum interval $2 < p_{\rm T} < 15$ GeV/$c$. The three polarization parameters ($\lambda_\theta$, $\lambda_\varphi$, $\lambda_{\theta\varphi}$) are measured as a function of $p_{\rm T}$ both in the helicity and Collins-Soper reference frames. The measured J/$\psi$ polarization parameters are found to be compatible with zero within uncertainties, contrary to expectations from all available predictions. The results are compared with the measurement in pp collisions at $\sqrt{s} = 7$ TeV.