« Return to Thread: JRubyApplet 'class not visible to class loader' error

Re: JRubyApplet 'class not visible to class loader' error

by Vladimir Sizikov-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

It would be great if you could upload the full example somewhere and
post the link so that we could look at it to investigate. Or, come
over to the #jruby IRC channel and we'll take it from there :)

Thanks,
  --Vladimir

On Wed, Apr 9, 2008 at 4:38 PM, sikanrong <sikanrong@...> wrote:

>
>  Actually this happens if I try to use JRubyApplet OR if I try to roll my own
>  applet class and require the same .rb file. It's complaining because I'm
>  trying to include java classes that are 'not visible to the class loader'.
>  I'm assuming (since the same classes are indeed visible to the applet class)
>  that I have to do some fnaggeling with the class loader. If I could figure
>  out what it was I would write a patch for JRubyApplet.java to incorporate
>  it. Basically the issue (seems to) come from including_classes which are 3rd
>  party stuff. For instance I jave the jogl.jar file in my classpath, and I
>  can import/use it in my applet class. Also, I can import/use it just by
>  running JRuby. For some reason, loading the jruby (with JRubyApplet or
>  otherwise) is giving me the 'not visible to class loader' error. Help??
>  --
>  View this message in context: http://www.nabble.com/JRubyApplet-%27class-not-visible-to-class-loader%27-error-tp16586207p16586207.html
>  Sent from the JRuby - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: JRubyApplet 'class not visible to class loader' error