Jtreg setup under Windows 7/8

Patrick Reinhart patrick at reini.net
Tue Jun 11 14:38:23 PDT 2013

Hi Mike,

I just began to set it up after I have built jdk8_tl that extracted the 
binary and set up the following cygwin exports:

export JAVA_HOME=/cygdrive/c/Java/jdk1.7.0_21
export JT_HOME=/cygdrive/c/OpenJDK/jtreg
export PATH=${JAVA_HOME}/bin:${JT_HOME}/win32/bin:${PATH}

After that I did some basic tests:

$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

$ jtreg
Cannot determine version of java to run jtreg

What could cause this problem?



On 06/11/2013 10:59 PM, Mike Duigou wrote:
> What's failing? which OpenJDK repo are you trying to run it against? Which tests are you trying to run? etc.
> Mike
> On Jun 11 2013, at 13:40 , Patrick Reinhart wrote:
>> Hi everybody,
>> I just set up a new build environment under Windows 8 and try to also set up Jtreg after a successful build. But until now with not lot much luck.
>> I use the binary version jtreg-4.1-bin-b05_29_nov_2012.zip from http://download.java.net/openjdk/jtreg.
>> Does anyone have a hint what kind of variables have to be set under Cygwin?
>> Cheers Patrick

More information about the jtreg-use mailing list