jruby -version
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on IBM J9 VM
jvmap3260sr8-20100412 [OS/400-PowerPC]
RubyBasicObject.java:1276:in setVariableStamped': java.lang.UnsatisfiedLinkError: sun/misc/Unsafe.putOrderedObject(Ljava/lang/Object;JLjava/lang/Object;)V from RubyBasicObject.java:1237:in setVariableInternal’
from RubyBasicObject.java:1230:in setVariable' from RubyClass.java:265:in set’
from RubyBasicObject.java:1397:in variableTableStore' from RubyBasicObject.java:1465:in setInternalVariable’
from RubyStruct.java:219:in newInstance' from Ruby.java:1365:in initCore’
from Ruby.java:1205:in bootstrap' from Ruby.java:1140:in init’
from Ruby.java:276:in newInstance' from Main.java:262:in internalRun’
from Main.java:221:in run' from Main.java:201:in main’
Even a simple:
jruby
puts “Hello World”
dumps the same error.
This is a Java 6 JVM running on IBM i (v 6.1) Any ideas as to cause or
workaround?
Yeah, I guess it is a little long in the tooth. I am downloading the
latest CUME and PTF’s but I doubt it’ll make a difference. I’ll also
try Java 7 which is available on IBM i.