How to append jar files to Kotlin interactive shell?

I try to append jar files to the ki shell’s classpath, i.e.

but I can’t find a command.

Anybody knows?

Use @file:dependsOn("path_to.jar"). It works in Jupyter. I am not sure about KI, but you can try

Unfortunately it does not work, it fails with this error message:

[0] @file:dependsOn(“bio.jar”)
ERROR Unresolved reference: dependsOn (Line_1.kts:1:7)

with large letter DependsOn: Get started with Kotlin custom scripting – tutorial | Kotlin

…but, it works well with this syntax:

:dependsOn bio.jar

Thank you, darksnake!!