diff --git a/src/main/java/io/bioimage/modelrunner/pytorch/javacpp/PytorchJavaCPPInterface.java b/src/main/java/io/bioimage/modelrunner/pytorch/javacpp/PytorchJavaCPPInterface.java index 02ac653..8bc16e6 100644 --- a/src/main/java/io/bioimage/modelrunner/pytorch/javacpp/PytorchJavaCPPInterface.java +++ b/src/main/java/io/bioimage/modelrunner/pytorch/javacpp/PytorchJavaCPPInterface.java @@ -488,7 +488,6 @@ private static String getCurrentClasspath() throws UnsupportedEncodingException if (modelrunnerPath == null || (modelrunnerPath.endsWith("DeepLearningEngineInterface.class") && !modelrunnerPath.contains(File.pathSeparator))) modelrunnerPath = System.getProperty("java.class.path"); - modelrunnerPath = System.getProperty("java.class.path"); String classpath = modelrunnerPath + File.pathSeparator + imglib2Path + File.pathSeparator; classpath = classpath + gsonPath + File.pathSeparator; classpath = classpath + jnaPath + File.pathSeparator;