Towards the heavy-ion program at J-PARC