diff --git a/README.md b/README.md index 3f8394b..0aeb5da 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Everest uses Maven, so building from the source code is very simple. You need to 1. Clone the repository: `git clone https://github.com/RohitAwate/Everest.git` 2. Enter the repository: `cd Everest` 3. Build a binary: `mvn package` -4. Run the binary: `java -jar target/Everest-Alpha-1.X.jar` replacing 'X' with the current version. +4. Run the binary: `mvn exec:java`. **For JDK 10 and above:** JavaFX has been decoupled from the JDK and will need to be installed separately. diff --git a/pom.xml b/pom.xml index a1dc455..0e66cae 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,7 @@ UTF-8 1.8 1.8 + com.rohitawate.everest.Main @@ -45,7 +46,7 @@ - com.rohitawate.everest.Main + ${main.class} @@ -53,6 +54,14 @@ + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + ${main.class} + +