Problems when trying to run an old microservice example from github

Hello,
I thought I could learn more about gradle and microservices (together with docker / docker-compose) by examples from github.

This one looked promising apart from its age

Sadly the project is already a little old (6 years) and hence uses an older version of gradle such that I receive the following error message:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.15'.

Would you know maybe how I could get it started?

Thanks!

Hello @vonSpotz

accordying to the root build file microservice-sampler/build.gradle at master · vaquarkhan/microservice-sampler · GitHub

it require jdk8 but you have jdk 11 so download jdk 8 first

safest way to run the build using the gradlew/gradlew.bat (gradle wrapper) which will download the same version of gradle used to build this project (in case there other incompatibility issue related to gradle version)

i have no experiance with docker so not sure how you run this command

./gradlew build run this from the project directory in linux/unix
gradlew.bat build using windows

hope that help and have a nice day :slight_smile: