It's from French 'journée', which means a day, and reflects the fact that a journeyman was originally paid by the day.
Once an apprentice had completed his training he became a journeyman, and was employed by a master craftsman. In due course he could go on to become a master himself, and could train his own apprentices.