|cant create new driver definition for derby.jar [message #591756]
||Tue, 08 July 2008 00:25
| Adam Posner
Registered: July 2009
Hello all. I have Eclipse 3.4 with WTP (I downloaded the all-in-one for |
development). I want to use Apache Derby or something that allows me to
connect to a DBMS. From what I could tell, it seems like the DTP already
comes with this version of Eclipse. For ex, here is the last few lines of
output from when I do 'locate derby': (These are all .jar files, but the
names are too long to show the whole thing)
I do also have a regular derby.jar in /usr/lib/javadb/lib
I was trying to follow this tutorial. I created a new project called
DTPDatabaseAccess, created a folder lib in there, and copied my derby.jar
/usr/lib/javadb/lib/ to /home/cuco/workspace/DTPDatabaseAccess/lib. I did
this manually then hit refresh from within eclipse and derby.jar did show
in the Package Explorer, so eclipse knows about it.
Here, by the way, is the link for the tutorial I mentioned above:
I get to the section titled 'Configuration' and do this:
Define the driver for the derby access. Go to Window-> Preferences and
select "Data Management" -> Connectivity -> Driver Definition. Press Add.
Select Derby and the version you want to use. Select then the tab jar
press Add and select the derby.jar (which contains the driver).
WHen I follow these directions a window comes up saying 'New Driver
and under that it says 'Specify a Driver Definition and Template Name'.
I select derby.jar, click 'Add Jar/Zip File' and get this error:
Unable to locate JAR/zip in file system as specified by the driver
Anybody have any ideas what could be wrong ? THanks in advance.
Is it possible that
I need to download an additional plugin found here:
This Derby plugin for Eclipse is listed under the 'Prerequisites' section.
Note that these directions are for eclipse 3.3 and I have 3.4.
If it turns out I do need to download this, what directory should it go in
Powered by FUDForum
. Page generated in 0.07902 seconds