RE: how to include derby.jar in my .class file?

2010-05-09 Thread Thomas Taylor
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

Re: how to include derby.jar in my .class file?

2010-05-09 Thread Bryan Pendleton
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

Re: how to include derby.jar in my .class file?

2010-05-09 Thread Damian Carey
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,

Re: how to include derby.jar in my .class file?

2010-05-09 Thread Donald McLean
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?

2010-05-09 Thread oldmhe
/how-to-include-derby.jar-in-my-.class-file--tp28505459p28505459.html Sent from the Apache Derby Users mailing list archive at Nabble.com.