From owner-freebsd-java@FreeBSD.ORG Fri Jun 27 23:19:34 2014 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE23BFB for ; Fri, 27 Jun 2014 23:19:34 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACC5F2861 for ; Fri, 27 Jun 2014 23:19:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RNJYC2030748 for ; Sat, 28 Jun 2014 00:19:34 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 191403] java/openjdk8-8.5.13_7 java.lang.ProcessBuilder.start throwing IOException: no such file or directory Date: Fri, 27 Jun 2014 23:19:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 23:19:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191403 Jung-uk Kim changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkim@FreeBSD.org --- Comment #1 from Jung-uk Kim --- Sorry but I can't reproduce the problem. % uname -pr 11.0-CURRENT amd64 % cat PBuilder.java import java.io.InputStream; import java.io.InputStreamReader; import java.io.BufferedReader; public class PBuilder { public static void main(String args[]) { try { Process p = new ProcessBuilder("/bin/date").start(); //Read out dir output InputStream is = p.getInputStream(); InputStreamReader isr = new InputStreamReader(is); BufferedReader br = new BufferedReader(isr); String line; System.out.printf("Output of running is:\n"); while ((line = br.readLine()) != null) { System.out.println(line); } //Wait to get exit value try { int exitValue = p.waitFor(); System.out.println("\n\nExit Value is " + exitValue); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } catch(java.io.IOException e) { e.printStackTrace(); } } } % /usr/local/openjdk8/bin/java PBuilder Output of running is: Fri Jun 27 19:15:44 EDT 2014 Exit Value is 0 % /usr/local/openjdk8/bin/java -version openjdk version "1.8.0_05" OpenJDK Runtime Environment (build 1.8.0_05-b13) OpenJDK 64-Bit Server VM (build 25.5-b02, mixed mode) % pkg query %n-%v java/openjdk8 openjdk8-8.5.13_8 -- You are receiving this mail because: You are the assignee for the bug.