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.
apt-get install libmysql-java
and then add the path of .jar
file to CLASSPATH
. On Ubuntu/linux the location of .jar
file can be added to CLASSPATH
by adding the following line export CLASSPATH=".:/usr/share/java/mysql.jar"
to ~/.bashrc
file followed by source ~/.bashrc
hms
and table users
with columns username
, password
, table doctors
with columns DocName
, Specialisation
, Address
, Pnumber
, table Patients
with columns Pname
, Address
, Pnumber
, Age
, Sex
, Illness
and table contactus
with columns email
, comments
javac HomePage.java
to compile and java HomePage
to run the programThis project is open-sourced software licensed under the MIT license.