Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
$ javac MyTest.java
$ jruby -S irb
ruby-1.8.7-p352 :001 > require 'java'
=> true
ruby-1.8.7-p352 :002 > java_import 'MyTest'
=> Java::Default::MyTest
ruby-1.8.7-p352 :003 > MyTest.new
=> #<Java::Default::MyTest:0xc07bacb>
ruby-1.8.7-p352 :004 >
public class MyTest {
public void test(){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.