algorithm-archivists / algorithm-archive

A collaborative book on algorithms
https://www.algorithm-archive.org
MIT License
2.33k stars 353 forks source link

Added Java compilation #973

Closed Amaras closed 2 years ago

Amaras commented 2 years ago

This is the PR to close #972.

For now, I have implemented compilation with .class files. We might want to use .jar files instead, but they require a manifest file.

It it also possible since Java 11 to simply run a single file, so a copier could be enough (assuming Java 11+). 

Amaras commented 2 years ago

Alright, I guess I will merge this PR, it has been open long enough for people to criticize, and no disagreement came of it. If you have any qualms, please open a PR in response to correct this. The GH Actions run correctly, so I don't think there will be a problem with it, though (the changed filenames were fixed)