How to import java class, to Robot Framework like library
<p>I can't understand how to import .jar file, in Robot Framework.</p>

<p>Here is the code:</p>

<pre><code>*** Settings ***
Library   MyLibrary

*** Test Cases ***
My Test
    Do Nothing
    Hello    world
</code></pre>

<p>and Java:</p>

<pre><code>public class MyLibrary {

    public void hello(String name) {
        System.out.println("Hello, " + name + "!");
    }

    public void doNothing() {
    }

}
</code></pre>

<p>After Extracting in .jar, I put in C:\Python27\Lib\site-packages\MyLibrary and I created empty <code>__init__.py</code> file. After I execute my Robot file with: <code>pybot TestJavaLibrary.robot</code> I get this WARN:</p>

<pre><code>[ WARN ] Imported library 'MyLibrary' contains no keywords.
==============================================================================
TestJavaLibrary
==============================================================================
My Test                                                               | FAIL |
No keyword with name 'Do Nothing' found.
</code></pre>

<p>How to use this jar, like external library?</p>