From d85ed2596863e801d9c760813c9ebe5e1e2680d1 Mon Sep 17 00:00:00 2001 From: Richard Waltman Date: Thu, 19 Oct 2023 12:07:49 -0500 Subject: [PATCH] Update error message when unpacking ONNX .dlls in Java on Windows machines --- java_package/brainflow/src/main/java/brainflow/MLModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_package/brainflow/src/main/java/brainflow/MLModel.java b/java_package/brainflow/src/main/java/brainflow/MLModel.java index e28c3bf73..dd43212cc 100644 --- a/java_package/brainflow/src/main/java/brainflow/MLModel.java +++ b/java_package/brainflow/src/main/java/brainflow/MLModel.java @@ -59,7 +59,7 @@ private interface DllInterface extends Library JarHelper.unpack_from_jar ("onnxruntime_arm64.dll"); break; default: - throw new RuntimeException ("Unsupported Windows architecture: " + arch); + System.err.println("Unsupported Windows architecture: " + arch); } } else if (SystemUtils.IS_OS_MAC) {