- Java (tested with jdk 1.8)
- Gradle
Please refer to Gradle installation guide for instruction for your OS.
Open a terminal and navigate to the project directory, there's a build.gradle file inside. Then just enter:
gradle build
and wait for the buil process to complete.
There are two ways to start the application:
- Launching the main .class file
- Launching the .jar generated by gradle
- navigate to /build/classes/main
- add all .jar inside /lib folder to your class path:
- /lib
- /lib/commons-cli-1.3.1
- /lib/classes/main
- specify the fully qualified package name of app's main class
If you didn't change the default directory structure of the project the following command should launch the application:
java -cp ./:../../../lib/*:../../../lib/commons-cli-1.3.1/* com.evilbox.ApplicationMain
java -cp ./;../../../lib/*;../../../lib/commons-cli-1.3.1/* com.evilbox.ApplicationMain
Note: if the above commands don't works try to surround classpath declaration with double or single quotes
If the build succedeed, gradle creates a redistributable jar of application inside the /build/application/ folder To launch the app:
- navigate to /build/application
- open a terminal, then type:
java -jar evilBox-1.0.jar
run the program with -h --help switches for usage