java game builder: compiling the game

hello all :slight_smile:

so today I made a small game creation tool which allows to add objects (like Game Maker) to the game “room”.
So now I need to face a new challange: the compiling and sharing of games made with my creator :slight_smile:

How would I do this? I want to create a jar file based of the game that they made.

Suggestions or other ideas always welcome.

Thanks.