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 is in line with the definition of work in physics, where 1 joule (J) is equivalent to 1 newton of force acting over a distance of 1 meter.