"Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver"
when trying to run my application.
As of JDeveloper 11, a new default directory structure for user-specific content in JDeveloper for Windows is used. The default location for the system subdirectory is now %APPDATA%\JDeveloper\systemXX.XX.XX.XX, where:
- %APPDATA% is the Windows Application Data directory for the user (usually C:\Documents and Settings\<username>
- XX.XX.XX.XX is a unique number of the product build, for example, system18.104.22.168.17.45.02
So, in my case, the MySQL JDBC JAR file (mysql-connector-java-3.1.12-bin.jar) should go into the directory:
C:\Documents and Settings\
Once I put it there, and restarted the embedded OC4J, it worked fine.