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 means that if a force of one newton moves an object one meter in the direction of the force, then one joule of work is done.