When a java project needs to be transfered to another machine, e.g. vps, we need to export it to a runable jar and then run it directly on a new machine. right click project in eclipse, and export to a runable jar. Choose the second Library handling…