From: Thomas on
I just installed the new 2010a 32bit MATLAB version on Ubuntu 10.04,
and tried to connect to my DB as I used to do previously just fine.
The MySQL JDBC driver (/usr/share/local/java/mysql-connector-
java-5.1.10.jar) is installed and added to the classpath. MATLAB seems
to recognize the driver, but fails when I start it. This is the error
I get in MATLAB after launching it:

ERROR: Error starting reference:file:/usr/share/java/mysql-connector-
java.jar (org.osgi.framework.BundleException: Unresolved constraint in
bundle 12: package; (package=javax.naming))
org.osgi.framework.BundleException: Unresolved constraint in bundle
12: package; (package=javax.naming)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3097)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:
984)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:
263)
at java.lang.Thread.run(Unknown Source)

Any ideas how to get this working again?