Hospital Management System in java. This system has a home page from where the administrator can login. On logging in the user can add details of patients and doctors.
- Clone or download zip from github repository
- Install MySQL Connector/J, on Ubuntu/linux MySQL connector can be installed by
apt-get install libmysql-javaand then add the path of.jarfile toCLASSPATH. On Ubuntu/linux the location of.jarfile can be added toCLASSPATHby adding the following lineexport CLASSPATH=".:/usr/share/java/mysql.jar"to~/.bashrcfile followed bysource ~/.bashrc - Create database named
hmsand tableuserswith columnsusername,password, tabledoctorswith columnsDocName,Specialisation,Address,Pnumber, tablePatientswith columnsPname,Address,Pnumber,Age,Sex,Illnessand tablecontactuswith columnsemail,comments - Navigate to the project folder and run
javac HomePage.javato compile andjava HomePageto run the program
This project is open-sourced software licensed under the MIT license.

