Step 1 : Download JDK
Go to https://www.oracle.com/java/technologies/downloads/#jdk17-windows and download jdk the latest version
Step 2 : Install Java
Open jdk-.*.exe
Step 3 : Check Java installation
Open cmd and run java—version
Step 4 : Install XAMPP
Go https://www.apachefriends.org/fr/index.html and download XAMPP latest version
Step 5 : Open XAMPP
click on start button and search for xampp
Step 6 : Run MySQL
1- Click start button on Mysql and apache services
Step 7 : Create Database
1- Open your browser and type http://localhost/phpmyadmin/
2- Click new in left menu
3- Go to databases tab
4- Type hotelresidence and click create
Step 8 : Download Maven
Go to https://maven.apache.org/install.html and download maven latest version
Step 9 : Install Maven
1- Go the bin directory and copy the path
2- Open the Start Search, type in env, and choose Edit the system environment variables
3- Click the Environment Variables… button
4- Add maven path to the environement variables
Step 10 : Generate Jar file
1- Go to root directory
2- Open cmd and run mvn clean package
3- Open target directory and check if jar file exists
Step 11 : Run Application
1- Go to target directory
2- Open cmd inside target directory
3- Run java -jar springboot-hotel-residence-codecanyon-0.0.1-SNAPSHOT.jar
4- Open ypur browser and type this url http://localhost:8080/