jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.

Home Page:http://github.com/jashkenas/ruby-processing/wikis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When using jruby-9.0.0.0 arcball library fails to load

monkstone opened this issue · comments

Although many sketches will now run with jruby-9.0.0.0 it has proven very difficult to make it fully compatible with ruby-processing, because the jruby guys have futzed with the class loaders.... here is one failing example (their suggested solution of adding jars to the java classpath, broke original functionality so I have rolled that back to just the processing core native library jars and then only for jruby-9.0.0.0).

Java::OrgJrubyExceptions::RaiseException
(NameError) cannot load Java class processing.arcball.Arcball
    org.jruby.javasupport.JavaClass.for_name(org/jruby/javasupport/JavaClass.java:204)
    org.jruby.javasupport.JavaUtilities.get_proxy_class(org/jruby/javasupport/JavaUtilities.java:34)
    RUBY.const_missing(uri:classloader:/jruby/java/java_package_module_template.rb:4)
    RUBY.init(/home/tux/.gem/ruby/2.2.0/gems/ruby-processing-2.6.14/library/vecmath/vecmath.rb:17)
    RUBY.setup(implicit.rb:50)

They have already reverted some of there changes here is hoping this just goes away...