Skip to content

Commit

Permalink
make fix more general
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 6, 2023
1 parent 46bc89f commit fc14f5a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,7 @@ private void retrieveInterprocessingTensors(List<Tensor<?>> tensors) throws RunM
private List<String> getProcessCommandsWithoutArgs() throws IOException, URISyntaxException {
String javaHome = System.getProperty("java.home");
String javaBin = javaHome + File.separator + "bin" + File.separator + "java";
if (javaBin.contains(" "))
javaBin = "\"" + javaBin + "\"";
javaBin = "\"" + javaBin + "\"";

String modelrunnerPath = getPathFromClass(DeepLearningEngineInterface.class);
String imglib2Path = getPathFromClass(NativeType.class);
Expand Down

0 comments on commit fc14f5a

Please sign in to comment.