The correct definition of a joule is:
It is the work done when a force of 1 newton is applied to an object for a distance of 1 meter.
This reflects that 1 joule is equal to the amount of energy transferred when a force of one newton moves an object one meter in the direction of the force.