Page 1 of 1

Latest JDBC Driver with built in Protege JRE

Posted: 30 Aug 2018, 11:46
by josievich
Hi All,

I was getting a "JDBC driver is not found on classpath" error when trying to convert my project to a DB. I noticed the output in the console was below

WARNING: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0 -- java.la
ng.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor
version 52.0

I had set up Protege to use the JRE it came packaged with but the MySQL driver I had and as per above, the JRE packaged with Protege cannot run the driver. I had to change the run_protege.bat with below

rem set JAVA_PATH=.\jre\bin
set JAVA_PATH= "%JRE_HOME%"\bin

Not sure if this is the correct way to do?

Regards,
Robert

Re: Latest JDBC Driver with built in Protege JRE

Posted: 04 Sep 2018, 20:22
by neil.walsh
Hi Robert,

Can post some details of your setup?

Which versions of
Protege
Java
Tomcat
MySQL

Thanks

Neil

Re: Latest JDBC Driver with built in Protege JRE

Posted: 04 Sep 2018, 20:32
by neil.walsh
Quick follow up...

Here are a couple of links to other forums posts which have explored the same or similar type issue.

viewtopic.php?f=21&t=1959
viewtopic.php?f=21&t=1951

If you are still having issues then do post the version details and if possible so error log details.

Cheers

Neil