building jtreg - problem with xalan

Pete Brunet peter.brunet at
Thu Oct 3 08:51:30 PDT 2013

Hi Omair,

On 10/3/13 10:35 AM, Omair Majid wrote:
> Hi Pete,
> On 10/03/2013 12:42 AM, Pete Brunet wrote:
>> Hi, I need to run an existing regression test to investigate a problem
>> so need to set up jtreg.  I'm using cygwin on Win 7.  Following is info
>> on my current roadblock.  Does anyone have an idea of what is wrong?  -Pete
> My setup is a little different, but hopefully this will help.
>> CLASSPATH=/cygdrive/c/Users/Pete/JDK8/xalan-j_2_7_1/xalan.jar:/cygdrive/c/Users/Pete/JDK8/xalan-j_2_7_1/serializer.jar:/cygdrive/c/Users/Pete/JDK8/xalan-j_2_7_1/xml-apis.jar:/cygdrive/c/Users/Pete/JDK8/xalan-j_2_7_1/xercesImpl.jar
>> /cygdrive/c/Program\ Files/Java/jdk1.7.0_25/bin/java
> So this CLASSPATH is where the build is searching for xalan. Is your
> xalan jar located at /cygdrive/c/Users/Pete/JDK8/xalan-j_2_7_1/xalan.jar
> ? 
Yes it is.
> If not, you may have to set XALANHOME to point to where the xalan.jar
> is located,
I have
>  or edit the make/jtreg.gmk file and fix the line that says:
> $(XALANHOME)/xalan.jar:$(XALANHOME)/serializer.jar:$(XALANHOME)/xml-apis.jar:$(XALANHOME)/xercesImpl.jar
> I just had to modify it to point to my xalan (2) jar and xalan (2)
> serializer jar.
>> XALANHOME='/cygdrive/c/Users/Pete/JDK8/xalan-j_2_7_1'
> xalan-j-2.* is xalan 2. The jar might be named xalan-j2.jar or
> something. 
It's named correctly, i.e. xalan.jar - also that directory has
> You may want to specify a XALAN_PATH directly or edit the
> makefile.
> Cheers,
> Omair
I wonder if the problem has anything to do with the cygwin style path.


More information about the jtreg-use mailing list