title: How do I pass a Java function a String[] argument?
body: <p>I have a function in Java that I would like to call from Clojure. The particular prototype is the following:</p>
  
  <pre><code>public MyClass create(String aaa, File bbb, String[] args)
  </code></pre>
  
  <p>I therefore need to pass a <code>String[]</code> as a parameter, from a Clojure function. Passing any of the following:</p>
  
  <ul>
  <li>(def args <code>[]</code>)</li>
  <li>(def args  <code>[""]</code>)</li>
  <li>(def args ^String [])</li>
  </ul>
  
  <p>all yield an exception: <code>No matching method found: createScript for class BlaBla..</code> </p>
  
  <p>I have also seen <a href="http://clojure.org/reference/java_interop" rel="nofollow">this Java interop documentation</a>, but I am probably missing something. How do I call this method from Clojure?</p>