How to export to a .jar file?

Hello! I have been working on a school project for about a week now and I’d like to be able to export the project to a .jar file so I can have a few friends test it out. Unfortunately, I’m not sure how I can go about doing that. The export button only shows options for a .zip file. I have tried researching this online, but I can’t seem to find a good answer. I know it’s probably going to have a super simple solution, but I’m new to this IDE haha. Thank you!

If you’re using the SDK, first you need to hit the “c;lean and build” button at the top next to the button to run your application.

Then once the clean and build process is done, you’ll find a folder titled “/dist” in the location that you’ve placed your project folder, alongside the src and assets folder.

Then you can just run the file titled “MyGame.jar” within the dist folder and you’re good to go. If you want to easily share the game with friends, just zip the entire /dist folder and send that to them.

Which ide is that, and what build system? Gradle?

Thank you! I feel dumb now haha