简体   繁体   中英

Export Project from Eclipse As Folder

I have a game that I have finished and need to export now. I want people to be able to make mods for it, so therefore, I need a folder with all the classes that my game can find and run from that folder.

I know how to export it into an Archive Folder, but when you do that, you can't actually run it and play it.

I was thinking it could work like Minecraft does, where it creates a folder on your computer, that has the classes in it, and when you start up Minecraft, it finds this folder and uses it to run.

You can export it as a Runnable Jar file .With that you can run and play it , and when you open the jar with an archive manager you can see the classes.

In eclipse right click and select export , Under 'Java' there is an option for Runnable Jar. Select your Launch class and the export destination.

I hope this helped you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM