Showing entries 1 to 4
Displaying posts with tag: Java 8 (reset)
MySQL 8.0.20 JDBC

In April, when I updated from MySQL 8.0.17 to MySQL 8.0.19, I found that my Java connection example failed. That’s because of a change in the JDBC driver, which I blogged about then. Starting yesterday, I began updating a base Fedora 30 configuration again to MySQL 8.0.20. I wrote a testing program for the Java JDBC file last time, and when I ran it this time it told me that I didn’t have the JDBC driver installed, or in the $CLASSPATH. My Java diagnostic script, MySQLDriver.java, returned the following error message:

Error: Could not find or load main class MySQLDriver

The Java JDBC test program code is in the prior post. It simply loads the user, password, database, host, and port statically for my student …

[Read more]
Java & MySQL 8.0.19

It’s the in-between term time and we’re all stuck at home. I decided to update the image for my Fedora 30 virtual machine. I had a work around to the update issue that I had encountered last October in Bug #96969 but it was not required with the current version. However, after updating from MySQL 8.0.17 to MySQL 8.0.19, I found that my Java connection example failed.

The $CLASSPATH value was correct:

/usr/share/java/mysql-connector-java.jar:.

The first error that I got was the my reference to MySQL JDBC driver was incorrect. The error message is quite clear:

Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Cannot connect to database server:
The server time zone …
[Read more]
451 CAOS Links 2010.12.07

The future of Java. Google releases Gingerbread. And more.

Follow 451 CAOS Links live @caostheory on Twitter and Identi.ca, and daily at Paper.li/caostheory
“Tracking the open source news wires, so you don’t have to.”

# The Register reported, and Oracle later confirmed, that Oracle’s proposed roadmap for Java 7 and 8 has been accepted.

# Stephen Colebourne provided more details on the results of the vote on Java 7 and Java 8.

# Google introduced the Nexus-S with Android Gingerbread. …

[Read more]
451 CAOS Links 2010.10.15

The future of the JCP. A new Mozilla CEO. And more.

Follow 451 CAOS Links live @caostheory on Twitter and Identi.ca, and daily at Paper.li/caostheory
“Tracking the open source news wires, so you don’t have to.”

# Mike Milinkovich explained why the Eclipse Foundation will support Oracle’s plans for Java 7, and outlined its concerns about the Java 8 JSR.

# Stephen Colebourne outlined the choices facing Java Community Process executive committee voters: pragmatism or bust, before later proposing a third option: a split in the …

[Read more]
Showing entries 1 to 4