A while ago I wrote the following Java 8 code on Win 10 to create an index file for a .laz file: Process p = null; ArrayList<String> lines = new ArrayList<String>(); String lasbinpath = "somepath\\LAStools\\bin"; String command = "lasindex64 -i someotherpath\\myfile.laz"; try { ProcessBuilder builder = new ProcessBuilder("cmd.exe", "/c", command); Map<String, String> env = builder.environment(); env.put("path", lasbinpath); builder.redirectErrorStream(true); p = builder.start();...