[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] JDBC type 2 drivers & plugins?

I have a plugin that provides a library that uses a type 2 JDBC driver (ugh!) which means it needs some native libraries. The plugin basically provides the driver and the libraries. Other plugins will use the JDBC driver for whatever reason. Question is, how do a specify a way in the plugin to make the native libraries available to the JDBC drivers that need it? I theoretically need the native libraries to be added to the java.library.path at runtime. I had thought that Bundle-NativeCode was the way to do this but it doesn't seem to be working. I've also tried System.load() but that doesn't seem to be working either.

Any other suggestions?  What is the prefered way of doing this?

-Aaron