Author: cutting
Date: Mon Aug 22 18:00:29 2011
New Revision: 1160350

URL: http://svn.apache.org/viewvc?rev=1160350&view=rev
Log:
AVRO-879: Try locating the java executable from java.home system property 
rather than $PATH.

Modified:
    
avro/trunk/lang/java/mapred/src/test/java/org/apache/avro/mapred/tether/TestWordCountTether.java

Modified: 
avro/trunk/lang/java/mapred/src/test/java/org/apache/avro/mapred/tether/TestWordCountTether.java
URL: 
http://svn.apache.org/viewvc/avro/trunk/lang/java/mapred/src/test/java/org/apache/avro/mapred/tether/TestWordCountTether.java?rev=1160350&r1=1160349&r2=1160350&view=diff
==============================================================================
--- 
avro/trunk/lang/java/mapred/src/test/java/org/apache/avro/mapred/tether/TestWordCountTether.java
 (original)
+++ 
avro/trunk/lang/java/mapred/src/test/java/org/apache/avro/mapred/tether/TestWordCountTether.java
 Mon Aug 22 18:00:29 2011
@@ -86,7 +86,8 @@ public class TestWordCountTether {
     // create the input file
     WordCountUtil.writeLinesFile();
 
-    java.net.URI exec= new java.net.URI("java");
+    java.net.URI exec =
+      new java.net.URI(System.getProperty("java.home")+"/bin/java");
 
     //input path
     String in=dir+"/in";


Reply via email to