A JavaFX-based student management system with MySQL database backend.
- Java JDK 17 or later
- MySQL Server
- Maven
-
Set up the Database
# Login to MySQL mysql -u root -p # Enter your password when prompted # Copy and paste the contents of database_setup.sql
-
Build the Application
# Navigate to the project directory cd studentmanagement_java # Clean and build the project mvn clean install
-
Run the Application
# Run using Maven mvn javafx:run
If you encounter any issues:
-
Database Connection Issues
- Make sure MySQL server is running
- Verify the database credentials in
DatabaseConnection.java - Check if the database and tables are created properly
-
Build Issues
- Make sure you have Java 17 or later installed
- Verify Maven is properly installed
- Check if all dependencies are downloaded
-
Runtime Issues
- Check the console output for error messages
- Verify all required files are in the correct locations
studentmanagement_java/
├── src/
│ └── main/
│ ├── java/
│ │ └── com/
│ │ └── studentmanagement/
│ │ ├── controller/
│ │ ├── dao/
│ │ ├── model/
│ │ └── util/
│ └── resources/
│ └── fxml/
├── pom.xml
└── database_setup.sql