I'm trying to import Java package for use in Kotlin native as below;
/* main.kt */
import java.util.*
fun main(args: Array<String>) {
print("Simple program")
}
and compile it with the below command
kotlinc main.kt -o main
I got the error message
main.kt:2:8: error: unresolved reference: java
import java.util.*
obviously I need to show kotlinc where to find java.util, how can I achieve this without using the command line? I'm on Windows 10 64 bit using Kotlin native 0.3.