this projects mimics the working of a university management system where you can use admin and student functions with the implementation of database using the jdbc driver
- java-final-project
- database
- DatabaseManager.java
- model
- Course.java
- Student.java
- main
- Main.java
- database
Use this line for compiling
javac -cp ".:path/to/mysql-connector-java-x.x.xx.jar" database/DatabaseManager model/Course.java model/Student.java main/Main.java
Use this for executing
java -cp ".:path/to/mysql-connector-java-x.x.xx.jar" main.Main
Important
change "path/to/mysql-connector-java-x.x.xx.jar" to the actual path of the jdbc connector on your system when running. change the 'jdbc_url', 'user', 'password' acording to your database