Prijavljuje mi gresku Class.forName("com.mysql.jdbc.Driver").newInstance();
c:\JProg\mysql\javac mysql.java
mysql.java:8: unreported exception java.lang.ClassNotFoundException; must be c
ght or declared to be thrown
Class.forName("com.mysql.jdbc.Driver").newInstance();
^
mysql.java:8: unreported exception java.lang.InstantiationException; must be c
ght or declared to be thrown
Class.forName("com.mysql.jdbc.Driver").newInstance();
^
2 errors
c:\JProg\mysql\javac mysql.java
mysql.java:8: unreported exception java.lang.ClassNotFoundException; must be c
ght or declared to be thrown
Class.forName("com.mysql.jdbc.Driver").newInstance();
^
mysql.java:8: unreported exception java.lang.InstantiationException; must be c
ght or declared to be thrown
Class.forName("com.mysql.jdbc.Driver").newInstance();
^
2 errors