def require_resources
      if RUBY_PLATFORM =~ /java/
        resource_paths(:remove_jruby => true).each {|res| require res}
        true
      else
        false
      end
    end
def require_resources
      if RUBY_PLATFORM =~ /java/
        resource_paths(:remove_jruby => true).each {|res| require res}
        true
      else
        false
      end
    end
This will add all the jars for this jnlp to the effective
 classpath for this Java process.

 *If* you are already running in JRuby *AND* the jnlp references a
 JRuby resource the JRuby resource will not be required.