On Thu, Mar 18, 2010 at 10:56 AM, Ahmed Ragab Nabhan wrote:
> Hi Charlie,
>
> The main method defined in a ruby class is not generated properly by the
> jrubyc utility. I mean the function has different signature than expected by
> the JVM:
>
> public static Object main(Object args)
>
> while the
Hi Charlie,
The main method defined in a ruby class is not generated properly by
the jrubyc utility. I mean the function has different signature than
expected by the JVM:
public static Object main(Object args)
while the JVM looks for a different signature:
public static void main(String[]
On Tue, Mar 16, 2010 at 10:39 AM, Ahmed Ragab Nabhan wrote:
> I have used the simple utility jrubyc that compiles a .rb file into .java.
> When I try to
> run the resulting .class file, I got got an exception:
> $ jrubyc --java myruby.rb
> javac -d /Users/anabhan/Work/Workspace/JavaRuby -cp
> /Use