I completed my very first project and i export it to a jar file. After that i made a text document and convert it into a bat file
Inside of the text document i put this
java -jar MyProject.jar
pause
but after executing the bat file i encountered an error
java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver
So im currently stuck in the Login page. I feel like im missing something, what is it?
My program is running fine in my Eclipse IDE and its connected to the database successfully, but when i click the .bat file of my project it gives me an error why?, i can't figure out what is wrong and missing
im new to this please guide and help me