|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
JRubyApplet 'class not visible to class loader' errorActually 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??
|
|
|
Re: JRubyApplet 'class not visible to class loader' errorHi,
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 |
|
|
Re: JRubyApplet 'class not visible to class loader' errorHey, thanks for the speedy reply. I uploaded a zip to my site: http://sikanrong.com/jruby_obj_helloworld.zip I've been using firefox to open it, use the java console (it's an extension) to see the error I'm talking about. I've been playing with this for awhile so its sortof a mess. using different techniques to load the file I've been able to get around the permissions problems using appletviewer but I still hit the 'class not visible' wall. Help! |
|
|
Re: JRubyApplet 'class not visible to class loader' errorHi,
The provided URL doesn't work for me. Can you double-check? Thanks, --Vladimir On Wed, Apr 9, 2008 at 6:27 PM, sikanrong <sikanrong@...> wrote: > > > Hey, thanks for the speedy reply. I uploaded a zip to my site: > > http://sikanrong.com/jruby_obj_helloworld.zip > > I've been using firefox to open it, use the java console (it's an extension) > to see the error I'm talking about. I've been playing with this for awhile > so its sortof a mess. using different techniques to load the file I've been > able to get around the permissions problems using appletviewer but I still > hit the 'class not visible' wall. Help! > -- > View this message in context: http://www.nabble.com/JRubyApplet-%27class-not-visible-to-class-loader%27-error-tp16586207p16590542.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 |
|
|
Re: JRubyApplet 'class not visible to class loader' errorvlad - I should have posted this earlier - but i *did* figure this out, so i took the .zip file down. Anyway - basically now that everything works I'm trying to figure out a good strategy for deploying the beast with pack200 compression, and then I'm going to write a GIANT expose on my site about how I managed to write such an awesome JRuby OpenGL Applet. In the meantime though, thanks a load for being willing to help!
|
|
|
Re: JRubyApplet 'class not visible to class loader' errorI'd love to see what you came up with... I played around with a JRuby applet a few months back and had all kinds of security permissions problems. Are you running the applet in a browser? Did you have to sign it?
On Mon, Apr 14, 2008 at 5:10 PM, sikanrong <sikanrong@...> wrote:
|
|
|
Re: JRubyApplet 'class not visible to class loader' errorOn Mon, Apr 14, 2008 at 11:10 PM, sikanrong <sikanrong@...> wrote:
> > vlad - I should have posted this earlier - but i *did* figure this out, so i > took the .zip file down. Anyway - basically now that everything works Ah, excellent! So, to be clear, there are no bugs in JRuby that block using Applet with 3rd party libs, right? Please share your findings and experience, once you got it all working! :) Thanks, --Vladimir --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: JRubyApplet 'class not visible to class loader' errorHi Chris,
On Tue, Apr 15, 2008 at 12:06 AM, Chris Nelson <me@...> wrote: > I'd love to see what you came up with... I played around with a JRuby applet > a few months back and had all kinds of security permissions problems. I think we fixed most problems preventing JRuby working in security sensitive environments (like unsigned Applets or unsigned WebStart apps) in recent months. So these modes now should be operational (but with limitations - like, naturally, you can't access filesystem from unsigned Applet or WebStart app). Thanks, --Vladimir --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |