Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3964590
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:21:10+00:00 2026-05-20T03:21:10+00:00

I have installed JRuby 1.6.0 on my Windows XP machine. I have also downloaded

  • 0

I have installed JRuby 1.6.0 on my Windows XP machine. I have also downloaded the Google gdata libraries. This code:

require "java"
$CLASSPATH << "D:\\javalib\\gdata\\java\\lib\\*"
include_class "com.google.gdata.client.docs"

gives this error:

org/jruby/javasupport/JavaClass.java:1052:in `for_name': cannot load Java class
com.google.gdata.client.docs (NameError)
        from org/jruby/javasupport/JavaUtilities.java:34:in `get_proxy_class'
        from C:/jruby-1.6.0.RC1/lib/ruby/site_ruby/shared/builtin/javasupport/co
re_ext/object.rb:46:in `java_import'
        from C:/jruby-1.6.0.RC1/lib/ruby/site_ruby/shared/builtin/javasupport/co
re_ext/object.rb:26:in `include_class'
        from download_gdocs.rb:5:in `(root)'

The Google gdata Java libraries are in D:\javalib\gdata\java\lib. For example, if I type jar tvf D:\javalib\gdata\java\lib\gdata-client-1.0.jar I get (in part) this:

     0 Fri Feb 04 15:25:54 PST 2011 com/google/gdata/data/docs/
   904 Fri Feb 04 15:25:54 PST 2011 com/google/gdata/client/docs/DocsService$Versions.class
  6686 Fri Feb 04 15:25:54 PST 2011 com/google/gdata/client/docs/DocsService.class
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:21:11+00:00Added an answer on May 20, 2026 at 3:21 am

    $CLASSPATH doesn’t support glob expressions. Instead, require each .jar individually:

    Dir["D:\\javalib\\gdata\\java\\lib\\*.jar"].each { |jar| require jar }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running a windows machine have installed Python 2.5. I also used the
I have installed RockMongo http://code.google.com/p/rock-php/ to manage my mongoDB database. This is installed in
I have installed Tomcat 5.5 in windows vista home basic. I have set classpath
So, I have rvm installed on my machine, and I type: rvm install jruby
I have installed and setup RubyCAS-Server and RubyCAS-Client on my machine. Login works perfectly
I have installed Xperf performance analyzer from Windows SDK and captured a trace as
I have IIS 5.1 installed on Windows XP Pro SP2. Besides I have installed
I'm new to PHP and have installed on Linux to boot (also a newbie).
I have JRuby and Ruby (MRI) installed. It seems that I need to install
I have installed SharePoint 2010 on a single machine in farm mode pointing to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.