I have a function in Java that I would like to call from Clojure. The particular prototype is the following:
public MyClass create(String aaa, File bbb, String args)
No matching method found: createScript for class BlaBla..
(.create (MyClass.) "aaa" (File. "my file") (into-array ["foo" "bar" "baz"]))
Should do the trick.
See https://clojuredocs.org/clojure.core/into-array for more details.