ginal Message-
From: oldmhe
Sent: Sunday, May 09, 2010 6:17 PM
To: derby-user@db.apache.org
Subject: how to include derby.jar in my .class file?
I'm new to Java, but am making progress with accessing Derby via the
"embedded" framework.
My program works as long as CLASSPATH points t
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.
You can try using the manifest Class-Path:
http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html
thanks,
bryan
e deployment
> involves a single file?
>
> Thanks in advance.
> --
> View this message in context:
> http://old.nabble.com/how-to-include-derby.jar-in-my-.class-file--tp28505459p28505459.html
> Sent from the Apache Derby Users mailing list archive at Nabble.com.
>
Donald,
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).
Donald
On Sun, May 9, 2010
/how-to-include-derby.jar-in-my-.class-file--tp28505459p28505459.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.