db-derby-user mailing list archives

Yes, the db lives outside the jar.
That feature is just a slimmed down version of FatJar.
--Kent
On Feb 16, 2009, at 3:45 AM, José Ricardo da Silva <dasilva.joser@gmail.co
m> wrote:
> Hi, nice new feature of eclipse. The last time I tryied to do
> something similar to this I had to install a plug-in called "FatJar"
> or something like this. I have one doubt however: the database will
> still have to be on the local file system, right? I mean, outside of
> this fat jar?
>
> Best regards,
>
> José Ricardo.
>
> On Mon, Feb 16, 2009 at 1:47 AM, Kent Spaulding <kent@iotabits.com>
> wrote:
>> It should work on Windows, yes, assuming that a Java Runtime (JRE)
>> or Java
>> Development Kit has been installed on the machine.
>>
>> --Kent
>>
>> On Feb 15, 2009, at 5:08 PM, ton80 wrote:
>>
>>>
>>> Kent,
>>>
>>> Too easy. That did the trick. Now should that work on Windows
>>> machine as
>>> is?
>>>
>>> Thanks,
>>> Mike
>>>
>>>
>>>
>>> Kent Spaulding-2 wrote:
>>>>
>>>> You can, in eclipse 3.4 (I don't know when this was added):
>>>>
>>>> Right click on the project.
>>>> Click on Export.
>>>> Select Java as the type, then Runnable Jar file.
>>>>
>>>> This will export all the classes and libraries in the project
>>>> into a
>>>> single fat jar file.
>>>>
>>>> If your eclipse doesn't have this, you can use the FatJar plugin -
>>>> install it via the plugin manager.
>>>>
>>>> --Kent
>>>>
>>>> On Feb 15, 2009, at 4:51 PM, ton80 wrote:
>>>>
>>>>>
>>>>> Hi Charlie,
>>>>>
>>>>> I don't have anything like that....guess that is why I could not
>>>>> find it.
>>>>> So I guess I need to get some additional stuff for
>>>>> eclipse....might
>>>>> you know
>>>>> what I need to get to give me this capability? Or is there any
>>>>> other way to
>>>>> include derby.jar in the application package?
>>>>> The problem is I am creating this on Linux and installing it on
>>>>> Windows....so I don't know how it is going to work out...I am
>>>>> assuming it
>>>>> would be best to have derby embedded.
>>>>>
>>>>> Thanks,
>>>>> Mike
>>>>>
>>>>>
>>>>> Charlie Kelly wrote:
>>>>>>
>>>>>> Hi Mike,
>>>>>>
>>>>>> File -> New -> Project -> Plugin Development -> Plugin
from
>>>>>> existing JAR
>>>>>> archives
>>>>>>
>>>>>> Hope this helps.
>>>>>>
>>>>>> Charlie
>>>>>>
>>>>>> ton80 wrote:
>>>>>>>
>>>>>>> Charlie,
>>>>>>> Looking all through Eclipse...I do not see where to perform the
>>>>>>> "create
>>>>>>> plugin from existing jar archive".
>>>>>>> Can I get another hint?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Mike
>>>>>>>
>>>>>>>
>>>>>>> Charlie Kelly wrote:
>>>>>>>
>>>>>>>> Hi Mike,
>>>>>>>>
>>>>>>>> Inside Eclipse, use the wizard to "create plugin from
>>>>>>>> existing jar
>>>>>>>> archive"
>>>>>>>> and include derby.jar.
>>>>>>>>
>>>>>>>> Charlie
>>>>>>>>
>>>>>>>>
>>>>>>>> ton80 wrote:
>>>>>>>>
>>>>>>>>> Hi Forum,
>>>>>>>>>
>>>>>>>>> I am newly working with Derby.
>>>>>>>>> I have a small project that uses derby in the embedded
mode.
>>>>>>>>> I created everything in Eclipse.
>>>>>>>>> Now I want to package it up so I can install it on a
clients
>>>>>>>>> machine.
>>>>>>>>> I export everything into a jar file. When I run the
>>>>>>>>> application
>>>>>>>>> from
>>>>>>>>> the
>>>>>>>>> jar file, I get an error message saying the
>>>>>>>>> org.apache.derby.jdbc.EmbeddedDriver is not found.
>>>>>>>>> This tells me it did not get included in the export.
>>>>>>>>>
>>>>>>>>> So how do I include it? Or how should I package this
up?
>>>>>>>>>
>>>>>>>>> Any and all assistance is greatly appreciated.
>>>>>>>>>
>>>>>>>>> Thank you,
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>>
>>>>> http://www.nabble.com/Including-Derby-in-an-application-jar-tp22028032p22030009.html
>>>>> Sent from the Apache Derby Users mailing list archive at
>>>>> Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Including-Derby-in-an-application-jar-tp22028032p22030148.html
>>> Sent from the Apache Derby Users mailing list archive at Nabble.com.
>>>
>>
>>