← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #272170]: [1.1.0] Running JRuby scripts: JythonSupport: Not possible to get a Jython on to the classpath!

 

Question #272170 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272170

    Status: Needs information => Open

Serge gave more information on the question:
Thank you very much for answer.

I have the same for jirb session in case of old sikulixapi.jar:

jruby-1.7.16.1 :002 > require 'sikulix'
 => true 
jruby-1.7.16.1 :003 > include Sikulix
 => Object 
jruby-1.7.16.1 :004 > popup("Hallo")
 => nil 

but with new one I have this:
 
LoadError: load error: sikulix/sikulix -- java.lang.IllegalAccessError: tried to access class org.sikuli.basics.Debug$CallbackType from class org.sikuli.basics.Debug
	from org/jruby/RubyKernel.java:1065:in `require'
	from /Users/qa/.rvm/rubies/jruby-1.7.16.1/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/qa/.rvm/gems/jruby-1.7.16.1/gems/sikulix-1.1.0.3/lib/sikulix.rb:4:in `(root)'
	from org/jruby/RubyKernel.java:1065:in `require'
	from /Users/qa/.rvm/rubies/jruby-1.7.16.1/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1:in `(root)'
	from /Users/qa/.rvm/rubies/jruby-1.7.16.1/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55:in `require'
	from org/jruby/RubyKernel.java:1101:in `eval'
	from (irb):2:in `evaluate'
	from org/jruby/RubyKernel.java:1501:in `loop'
	from org/jruby/RubyKernel.java:1264:in `catch'
	from org/jruby/RubyKernel.java:1264:in `catch'
	from /Users/qa/.rvm/rubies/jruby-1.7.16.1/bin/jirb:13:in `(root)'

Absolutely not clear why. New .jar is copied to the same folder that
previous one because (old jar has been renamed).

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.