db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oldmhe <mhe1943-oldnab...@yahoo.com>
Subject how to include derby.jar in my .class file?
Date Sun, 09 May 2010 22:17:41 GMT

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?

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.

View raw message