Latest JDBC Driver with built in Protege JRE
Posted: 30 Aug 2018, 11:46
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
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