The unit of measurement for thermal energy (in the SI system) is: J