On 4/21/06, Deepa Remesh <[EMAIL PROTECTED]> wrote:
> On 4/21/06, Andrew McIntyre <[EMAIL PROTECTED]> wrote:
> > On 4/21/06, Myrna van Lunteren <[EMAIL PROTECTED]> wrote:
> > >
> > > Then build, and then I need to copy the 10.1 jars to c:\10jars\10.1? And 
> > > the
> > > 10.2 jars can still be anywhere?
> >
> > 10.2 jars can be anywhere, set in your classpath. 10.1 jars can be
> > anywhere, There are multiple ways to set the location of the 10.1
> > jars, but this is the most direct:
> >
> > java -DderbyTesting.jar.path=c:/10jars o.a.d.f.h.RunSuite derbyall
>
> This will not work as the property has to be passed in as a jvmflags
> property. I just tried to pass in jvmflags as a java command-line
> property but this did not work either. I think this should work and
> over-ride the property in app.properties file. I'll look at this to
> check why this is not working.
>

Passing in the property in jvmflags works. I think I made a mistake
when I tried earlier.
So this works:
java -Djvmflags=-DderbyTesting.jar.path=c:/10jars o.a.d.f.h.RunSuite derbyall

Thanks,
Deepa

Reply via email to