Step 1 : Download JDK

Go to https://www.oracle.com/java/technologies/downloads/#jdk17-windows and download jdk the latest version

Hotel Residence | Hotel Management System - 11

Step 2 : Install Java

Open jdk-.*.exe

Hotel Residence | Hotel Management System - 12

Step 3 : Check Java installation

Open cmd and run java—version

Hotel Residence | Hotel Management System - 13

Step 4 : Install XAMPP

Go https://www.apachefriends.org/fr/index.html and download XAMPP latest version

Hotel Residence | Hotel Management System - 14

Step 5 : Open XAMPP

click on start button and search for xampp

Hotel Residence | Hotel Management System - 15

Step 6 : Run MySQL

1- Click start button on Mysql and apache services

Hotel Residence | Hotel Management System - 16

Step 7 : Create Database

1- Open your browser and type http://localhost/phpmyadmin/

2- Click new in left menu

Hotel Residence | Hotel Management System - 17

3- Go to databases tab

4- Type hotelresidence and click create

Hotel Residence | Hotel Management System - 18

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

Hotel Residence | Hotel Management System - 19

2- Open the Start Search, type in env, and choose Edit the system environment variables

Hotel Residence | Hotel Management System - 20

3- Click the Environment Variables… button

Hotel Residence | Hotel Management System - 21

4- Add maven path to the environement variables

Hotel Residence | Hotel Management System - 22

Step 10 : Generate Jar file

1- Go to root directory

Hotel Residence | Hotel Management System - 23

2- Open cmd and run mvn clean package

Hotel Residence | Hotel Management System - 24

3- Open target directory and check if jar file exists

Hotel Residence | Hotel Management System - 25

Step 11 : Run Application

1- Go to target directory

Hotel Residence | Hotel Management System - 26

2- Open cmd inside target directory

3- Run java -jar springboot-hotel-residence-codecanyon-0.0.1-SNAPSHOT.jar

Hotel Residence | Hotel Management System - 27

4- Open ypur browser and type this url http://localhost:8080/

Hotel Residence | Hotel Management System - 28