https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
j

Jiaxiang

03/17/2023, 6:23 PM
When running Kotlin/Native tasks, I’ve been seeing
Could not initialize class org.jetbrains.kotlin.backend.konan.env.env
, does anyone know what could be the cause?
w

wolfseifert

04/10/2023, 7:37 AM
j

Jiaxiang

04/10/2023, 8:16 PM
thanks for the pointer, I do have an invalid path in PATH but after removing it I am still getting same error. guess that’s a different cause. Also worth noting that I am getting this on a linux machine.
w

wolfseifert

04/11/2023, 6:45 AM
Did you delete ~/.konan (and maybe ~/.gradle) before retrying? If it is still not working you should create an issue at https://youtrack.jetbrains.com/issues to let the experts know.
90 Views