Use Kotlin Scripting API from Java

Hello,
I would like to use the kotlin.script.experimental.api.* scripting api, specifically the examples for kotlin-script-examples/jvm/simple-main-kts at master · Kotlin/kotlin-script-examples (github.com). The examples provided are for using kotlin as the host language, but I would like to use Java for the host language running in the jvm.

Are there examples for using the kotlin-main-kts api from within Java to allow kotlin script integration to a Java application without using the JSR223 API?

My current implementation uses the JSR223 implementation, but the implementation is very limiting. I need support for getting a Kotlin defined class from Java, and being able to resolve imports of other kotlin classes in other script files from a kotlin script.

Any help would be greatly appreciated.

Thank you,
Trevor