What Ruby code is causing this?

Padmapriya Mahalingam wrote:
> I think I am getting the following error in
> org.jruby.javasupport.JavaSupport Class.Please let mw know which
> jar/location I need to set(in -cp) for the class "JavaLang".
>     [java] org.jruby.exceptions.RaiseException: cannot load Java class
> JavaLang
>     [java] unable to load language: ruby:
> org.jruby.exceptions.RaiseException: cannot load Java class JavaLang
>
> public Class loadJavaClass(String className)
>     {
>         Class result;
>         try
>         {
>             result = primitiveClass(className);
>             if(result == null)
>                 return Class.forName(className, true, javaClassLoader);
>         }
>         catch(ClassNotFoundException cnfExcptn)
>         {
>             throw runtime.newNameError("cannot load Java class " +
> className);
>         }
>         return result;
>     }


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to