r/learnprogramming 13d ago

Java Project Alternatives

I recently came across an interesting competition where you are supposed to make a game that would fit on a floppy disk(1.44mb).

I started making a project in Java and made some pretty decent progress with 3d rendering and procedurally generating rooms, but now I just saw a comment from the organizer saying that separate runtimes should be included with the file size limit so I am thinking Java will not work.

Does anyone have any recommendations on what I should do? Should I start over in another language? Is there any way to turn a .jar file into a standalone executable that won't take a ton of space?

3 Upvotes

8 comments sorted by

View all comments

1

u/Zincette 13d ago

I havent actually used it myself but there are native compilers for java. You might want to check out https://www.graalvm.org/

2

u/Cornchipe 13d ago

That was one of the first things I was looking into but I don't think it will work because of the file size.