Pass environment variables to a Java test

Alan Bateman Alan.Bateman at oracle.com
Sat Apr 27 00:49:50 PDT 2013


On 27/04/2013 02:31, Weijun Wang wrote:
> I might have asked this before but cannot find any mail on it.
>
> It seems there is no way to pass environment variables to a Java test, 
> and the only way to do that is to write a script or use a 
> ProcessBuilder. Is that correct?
>
> Thanks
> Max
Are you looking for the jtreg -e option?

-Alan.


More information about the jtreg-use mailing list