I want to run kotlin code as script from java with Java Scripting API similar to this for javascript:
import javax.script.*; public class EvalScript { pu
Kotlin support for the Java Scripting API is planned, but as of version 1.0.3 is not available yet. For the mean time, you can try to use an existing open-source implementation.