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

  • Home
  • SEARCH
  • 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 6763349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:27:55+00:00 2026-05-26T14:27:55+00:00

How to set class path in JRuby 1.6.4 ? I set my class path

  • 0

How to set class path in JRuby 1.6.4 ?

I set my class path as

set CLASSPATH=
%<project_name>%\lib\java\ant-1.6.5.jar;
%<project_name>%\lib\java\ant-antlr-1.6.5.jar;
%<project_name>%\lib\java\ant-junit-1.6.5.jar;
%<project_name>%\lib\java\ant-launcher-1.6.5.jar;
%<project_name>%\lib\java\ant-swing-1.6.5.jar;
%<project_name>%\lib\java\antlr-2.7.6.jar;
%<project_name>%\lib\java\asm-attrs.jar;
%<project_name>%\lib\java\asm.jar;
%<project_name>%\lib\java\auriga-cryptolib.jar;
%<project_name>%\lib\java\bcprov-jdk12-137.jar;
%<project_name>%\lib\java\c3p0-0.9.1.jar;
%<project_name>%\lib\java\cglib-nodep-2.1_3.jar;
%<project_name>%\lib\java\checkstyle-all.jar;
%<project_name>%\lib\java\cleanimports.jar;
%<project_name>%\lib\java\commons-collections-2.1.1.jar;
%<project_name>%\lib\java\commons-logging-1.0.4.jar;
%<project_name>%\lib\java\concurrent-1.3.2.jar;
%<project_name>%\lib\java\dom4j-1.6.1.jar;
%<project_name>%\lib\java\ehcache-1.2.3.jar;
%<project_name>%\lib\java\hibernate-tools.jar;
%<project_name>%\lib\java\hibernate3.jar;
%<project_name>%\lib\java\jaas.jar;
%<project_name>%\lib\java\jacc-1_0-fr.jar;
%<project_name>%\lib\java\javassist.jar;
%<project_name>%\lib\java\jaxen-1.1-beta-7.jar;
%<project_name>%\lib\java\jboss-cache.jar;
%<project_name>%\lib\java\jboss-common.jar;
%<project_name>%\lib\java\jboss-jmx.jar;
%<project_name>%\lib\java\jboss-system.jar;
%<project_name>%\lib\java\trg-dao-hibernate-0.5.0.jar;
%<project_name>%\lib\java\trg-search-0.5.0.jar;
%<project_name>%\lib\java\trg-search-hibernate-0.5.0.jar;
%<project_name>%\lib\java\trilead-ssh2-build213.jar;
%<project_name>%\lib\java\versioncheck.jar;
%<project_name>%\lib\java\xerces-2.6.2.jar;
%<project_name>%\lib\java\xml-apis.jar;
%<project_name>%\lib\java\jasperreports-3.7.6.jar;
%<project_name>%\lib\java\commons-digester-1.7.jar;
%<project_name>%\lib\java\iText-2.1.7.jar;
%<project_name>%\lib\java\jfreechart-1.0.12.jar;
%<project_name>%\lib\java\jcommon-1.0.15.jar;
%<project_name>%\classes\;

But Windows cannot load these classes. I even tried to set the class in Windows environment variables at that time its works. But I can’t put these much classes there more over its bad practice.
Actually I’m migrating an app from 1.4 Jruby. In 1.4 the CLASSPATH works perfectly.

Any help would be greatly appreciated?

  • 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-26T14:27:56+00:00Added an answer on May 26, 2026 at 2:27 pm

    At last I found the answer you need to load all the local classes in your project then load the other class.

    In my case I load this class first

    % project_name %\classes\;

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just found the build-in classpath property of ant, namely, java.class.path, is different from
To what is the class path of a Servlet container set? As per my
I am trying to set the CLASSPATH variable so that my java programs can
How java knows the class file to execute without setting the class path.ie.,Does it
Hi using jar bundler of Mac 10.5.7. I can set any file as classpath.
Here's my 2 classes public class Item { public string Path { get; set;
I have bat file like below with name myBat.bat 1) @echo off set CLASSPATH=%CLASSPATH%;C:\Documents
I want my classpath to be set via a batch file. I'm working on
Which constitutes better object oriented design? Class User { id {get;set} } Class Office
I have something like this set up: class CategoryPage (webapp.RequestHandler): def get(self): ** DO

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.