JDBC poza IDE

colon(:) is compulsory after jar file name important!
javac -cp mysql-connector.jar: ProgramFileName.java

javac -cp mysql-connector.jar: JDBCDemo.java
Blue-eyed Beetle