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-java
and then add the path of.jar
file toCLASSPATH
. On Ubuntu/linux the location of.jar
file can be added toCLASSPATH
by adding the following lineexport CLASSPATH=".:/usr/share/java/mysql.jar"
to~/.bashrc
file followed bysource ~/.bashrc
- Create database named
hms
and tableusers
with columnsusername
,password
, tabledoctors
with columnsDocName
,Specialisation
,Address
,Pnumber
, tablePatients
with columnsPname
,Address
,Pnumber
,Age
,Sex
,Illness
and tablecontactus
with columnsemail
,comments
- Navigate to the project folder and run
javac HomePage.java
to compile andjava HomePage
to run the program
This project is open-sourced software licensed under the MIT license.