Joules is unfortunately a vector because it's over a distance in a direction. Temperature is a scalar. Sometimes scalars are better than vectors.
Edit:Ok for those who don't actually understand joules in its units J=KG•M2/s2 or N•D, it's force which is a vector over a distance, this requires a magnitude and direction. This is because force is a vector and Joules is using force. All of you are starting to be confidently incorrect... Joules is a vector you can search it up.