db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald McLean <dmclea...@gmail.com>
Subject Re: how to include derby.jar in my .class file?
Date Sun, 09 May 2010 23:04:35 GMT
You have to build a JAR file that includes your class files and
deby.jar. At least I have heard that you can do this, though I've
never done it myself.

Alternately, there is probably some way to package it as an
application for various platforms (Windows, Mac, Linux).


On Sun, May 9, 2010 at 6:17 PM, oldmhe <mhe1943-oldnabble@yahoo.com> wrote:
> I'm new to Java, but am making progress with accessing Derby via the
> "embedded" framework.
> My program works as long as CLASSPATH points to derby.jar.
> But my preference to deploy the program as a single file, so that the user
> can run it simply with:
>     java myprogram [parameters]
> without having to set CLASSPATH.
> Is there a way to include derby.jar inside my class file (or some other way)
> so as to eliminate the need to set CLASSPATH -- and so the entire deployment
> involves a single file?
Family photographs are a critical legacy for
ourselves and our descendants. Protect that
legacy with a digital backup and recovery plan.

Join the photo preservation advocacy Facebook group:

View raw message