changeset 207:b2d694f290cd

Test generators should use the Java from PATH. Contributed-by: Pavel Punegov <pavel.punegov@oracle.com>
author shade
date Fri, 15 Aug 2014 18:02:27 +0400
parents 8af457433465
children b736533e1715
files tests-generated/pom.xml
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests-generated/pom.xml	Wed Aug 13 22:41:05 2014 +0400
+++ b/tests-generated/pom.xml	Fri Aug 15 18:02:27 2014 +0400
@@ -71,8 +71,7 @@
                             generate-sources
                         </phase>
                         <configuration>
-                            <!--<skip>true</skip>-->
-                            <executable>java</executable>
+                            <executable>${java.home}/bin/java</executable>
                             <arguments>
                                 <argument>-jar</argument>
                                 <argument>../jcstress-test-gen/target/test-gen.jar</argument>
@@ -90,8 +89,7 @@
                             generate-sources
                         </phase>
                         <configuration>
-                            <!--<skip>true</skip>-->
-                            <executable>java</executable>
+                            <executable>${java.home}/bin/java</executable>
                             <arguments>
                                 <argument>-jar</argument>
                                 <argument>../jcstress-test-gen/target/volatile-tracegen.jar</argument>