diff --git a/src/commonMain/kotlin/jvm.kt b/src/commonMain/kotlin/jvm.kt index 1184e86..8283895 100644 --- a/src/commonMain/kotlin/jvm.kt +++ b/src/commonMain/kotlin/jvm.kt @@ -74,7 +74,10 @@ class JvmRuntimeConfig(recognizedArgs: Array) : break } } - if (java == null) fail("No Java installation found.") + if (java == null) { + debug("No Java installation found.") + return + } debug("Successfully discovered Java installation:") debug("* rootPath -> ", java.rootPath) debug("* libjvmPath -> ", java.libjvmPath ?: "") diff --git a/src/commonMain/kotlin/python.kt b/src/commonMain/kotlin/python.kt index fb92c44..e14bc53 100644 --- a/src/commonMain/kotlin/python.kt +++ b/src/commonMain/kotlin/python.kt @@ -63,7 +63,10 @@ class PythonRuntimeConfig(recognizedArgs: Array) : break } } - if (python == null) fail("No Python installation found.") + if (python == null) { + debug("No Python installation found.") + return + } debug("Successfully discovered Python installation:") debug("* rootPath -> ", python.rootPath) debug("* libPythonPath -> ", python.libPythonPath ?: "")