Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Adding external JDBC JAR to plug-in
Adding external JDBC JAR to plug-in [message #187818] Fri, 12 January 2007 18:40
Eclipse UserFriend
Originally posted by: sadamson.cis.strath.ac.uk

Hi,

I'm tearing my hair out with this problem.

Basically all I need to do is connect to a MySQL database from my plug-in,
but the JDBC driver needs loaded from an external JAR which I can't seem
to add to my project correctly. I've found various posts on this
elsewhere so here is what i have at the moment:

- The required JAR saved in a 'lib' directory at the same level as src and
bin
- In the PDE runtime tab added this JAR as well as '.' (which I read
somewhere)
- Ensured that my lib folder is checked in the PDE build tab
- The JAR is added in the Properties->Configure Build Path->Libraries
dialog.

So does anyone know why I still get a ClassNotFoundException??

Thanks,
Steve
Previous Topic:Syntax for calling oracle store procedure from dataset
Next Topic:Where does Eclipse classpath variable definition reside in the file system?
Goto Forum:
  


Current Time: Fri Mar 29 01:54:04 GMT 2024

Powered by FUDForum. Page generated in 0.04628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top