- Once installed, follow the installation process if any.
- Go to System Properties on your machine (windows)
- Click Environment Variables...
- Under System Variables look for Path, click Edit...
- A new window should pop up, select New and add the location of the bin folder of Java 11
- Mine looks like this:
C:\Program Files (x86)\Java\jdk-11\bin
- NOTE: It is very important that you have this path variable at the top so other java versions do not interfere!
- Mine looks like this:
- Open powershell or command prompt
- Type
java --version
- you should see java 11 show up
- Under the project, open up the
src/main/resources/application.yml
file - Change the
username
andpassword
variables to the variables you have in your MySql Workbench
- Go to the project directory in your command shell or powershell window
- Run
./gradlew build --refresh-dependencies
- Once finished, run
./gradlew clean build
- Run
./gradlew run
in the project directory