Joules = mass  * speed of light makes no sense because you can arbitrarily assign the speed of light  in meters/second or in km/second or any other distance unit.  Another flaw is that on the LHS of the equation you have an extensive property and on the RHS, an intensive property