enshahar
09/23/2021, 1:42 AM<http://kotlin.io|kotlin.io>.path.createTempDirectory()
to create temporary directory on my kotlinc 1.4.31 but failed on Windows, WSL2 and Mac. In the Kotlin playground web, the code raises `SecurityException`(which is correct) but all my systems (including kotlinc and intelliJ IDEA) cannot resolve the package kotlin.io.path
. Is there anything I need to do to use the kotlin.io.path
package?ephemient
09/23/2021, 1:56 AMenshahar
09/23/2021, 6:06 AMkotlin-stdlib-jdk7
module. So I need to put the jar file to the classpath or add the dependency to kotlin-stdlib-jdk7
or `kotlin-stdlib-jdk8`(which transitively depends on the kotlin-stdlib-jdk7
).ephemient
09/23/2021, 11:22 AM