Summary: | java/openjdk8-8.5.13_7 java.lang.ProcessBuilder.start throwing IOException: no such file or directory | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jimmy Kelley <ljboiler> |
Component: | Individual Port(s) | Assignee: | freebsd-java (Nobody) <java> |
Status: | Closed Unable to Reproduce | ||
Severity: | Affects Only Me | CC: | jkim |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Jimmy Kelley
2014-06-26 12:24:52 UTC
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 Please provide more information. Since I reported the bug against PORTREVISION 7, and you just tested it against PORTREVISION 8 (commited, what, just hours ago?), it might be safe to say that the new version fixed the problem. I'll build it and report back. Built, tested, problem no longer exists. (In reply to ljboiler from comment #3) > Since I reported the bug against PORTREVISION 7, and you just tested it > against PORTREVISION 8 (commited, what, just hours ago?), it might be safe > to say that the new version fixed the problem. I'll build it and report > back. I committed it but I am 100% sure it was not a fix for your problem. |