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
Latest JDBC Driver with built in Protege JRE
- neil.walsh
- Posts: 447
- Joined: 16 Feb 2009, 13:45
- Contact:
Hi Robert,
Can post some details of your setup?
Which versions of
Protege
Java
Tomcat
MySQL
Thanks
Neil
Can post some details of your setup?
Which versions of
Protege
Java
Tomcat
MySQL
Thanks
Neil
- neil.walsh
- Posts: 447
- Joined: 16 Feb 2009, 13:45
- Contact:
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
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