db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Error Running Embedded
Date Sat, 14 Jan 2006 01:55:51 GMT
Hmm... I didn't realize you are using a Derby Eclipse plugin. I don't  
have any experience with the plugin. But from your earlier message I  
take you are running from command line outside Eclipse? So try  
running it inside Eclipse and see what happens. To do that right  
click on your main class and do "Run As -> Java Application".

If this still doesn't work, here is an idea of a "brute force"  
solution (those who know the plugin, may have a better one) - ignore  
the plugin and add derby.jar to your project directly (right click on  
your project folder, go to "Preferences -> Java Build Path ->  
Libraries" and select a path to derby.jar.


On Jan 14, 2006, at 8:44 PM, David Costelloe wrote:

> Hi Andrus,
> The path is shown as c:\eclipse\plugins\org.apache.derby.core_10.1.2
> I am only a couple of weeks (2) working with Eclipse. How can I fix  
> this to set the path correctly?
> I used the Eclipse plugin to add the reference.
> Thanks
> Andrus Adamchik wrote:
>> It is not Derby-related. It is a classpath issue. Double-check  
>> that  "derby.jar" is indeed in the same directory you are running  
>> from  (i.e. C:\Workspace).
>> Andrus

View raw message