A
Anukul Singhal
Hi,
I am using rjb gem, and trying to import a JAVA class. The JAVA API
documentation is located at:
http://www.jarvana.com/jarvana/view...r!/com/jayway/android/robotium/solo/Solo.html
I have installed jdk, and installed the relevant jar files, and using
the following code:
require 'rjb'
c =
"c:/robotium/robotium-solo-1.7.1.jar;c:/robotium/robotium-solo-1.7.1-javadoc.jar"
Rjb::load(classpath = c, jvmargs=[])
@rapi = Rjb::import('com.jayway.android.robotium.solo.Solo')
puts "robotium_class=#{@rapi.inspect}"
But, it fails to import this class, and throws the following error:
(NoClassDefFoundError)
from test_robotium.rb:11
Any help on this would be appreciated. To download the relevant jar
files, goto http://code.google.com/p/robotium/downloads/list
Thanks,
Anukul
I am using rjb gem, and trying to import a JAVA class. The JAVA API
documentation is located at:
http://www.jarvana.com/jarvana/view...r!/com/jayway/android/robotium/solo/Solo.html
I have installed jdk, and installed the relevant jar files, and using
the following code:
require 'rjb'
c =
"c:/robotium/robotium-solo-1.7.1.jar;c:/robotium/robotium-solo-1.7.1-javadoc.jar"
Rjb::load(classpath = c, jvmargs=[])
@rapi = Rjb::import('com.jayway.android.robotium.solo.Solo')
puts "robotium_class=#{@rapi.inspect}"
But, it fails to import this class, and throws the following error:
test_robotium.rb:11:in `import': android/view/Viewruby test_robotium.rb
(NoClassDefFoundError)
from test_robotium.rb:11
Exit code: 1
Any help on this would be appreciated. To download the relevant jar
files, goto http://code.google.com/p/robotium/downloads/list
Thanks,
Anukul