For a simple project without many files or dependencies, I simply use scripts.

To build:

To run:

java -cp .;* SomeMainClass

Replace . with whatever path(s) you need for your source. The * will use any jar on the default path or use a different path like lib/*.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *