Windows 7, no such file to load -- <insert a standard lib here>
---------------------------------------------------------------
Key: JRUBY-5309
URL: http://jira.codehaus.org/browse/JRUBY-5309
Project: JRuby
Issue Type: Bug
Components: Java Integration, Standard Library, Windows
Affects Versions: JRuby 1.5.6
Environment: Windows 7 64bit and 32bit
Latest Java SE6
Reporter: Matthias Geier
Priority: Minor
Fix For: JRuby 1.4
The curious thing about this is, I have 3 machines with identical hardware, all
running Windows 7 64bit with the latest Java SE6, and one Netbook running
Windows 7 32bit, same Java.
Yet two of the 64bit machines run the code sample below, the third and the
Netbook don't, throwing this error:
main.rb:6:in `require`: no such file to load -- xmlrpc/client (LoadError)
from main.rb:6
Removing this xmlrpc/client require will not solve it, then it is stuck at date.
On an additional note, the third 64bit machine had Ruby1.8 installed, which I
uninstalled in the process of running this. Path and Rubyopt entries were
removed. The Netbook however is fairly blank with no interferences.
java -jar jruby-complete-1.5.6.jar -S main.rb
Contents of main.rb:
require 'java'
# some commented awt and swing includes
require 'xmlrpc/client'
require 'date'
Different approaches were:
- including this main.rb with the jruby-complete into NetBeans and running it
from there
- packaging the main.rb into a jar and including the jruby-complete into the
manifest libraries
The outcome was the same, on two 64bit machines it worked, the netbook and the
third machine refused to run it.
My solution was to revert back to jruby-complete-1.4.1.jar. I could not figure
out which setting made the difference and tried to set environment variables
and similar to no avail. Linux (Arch and Ubuntu) was not affected for some
reason.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email