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 6104883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:53:36+00:00 2026-05-23T13:53:36+00:00

I have a massive, unfamiliar Java codebase that I need to use in one

  • 0

I have a massive, unfamiliar Java codebase that I need to use in one of my projects, and unfortunately it’s one of those situations where almost nothing is documented, and the very few things that are documented are of the “setFoo(Foo foo) - sets the foo.” variety. So the documentation generated with javadoc is not as helpful as it could be.

I’m more of a Lisp and Python guy myself, so my first thought was that I could learn a lot by interactively playing with some of the relevant classes. Enter the Jython REPL. The problem is that I can’t figure out how to set the…the whatever (classpath?) to use them. Assume that I have two directories containing the subdirectories containing the .java files: ~/project/foo/src/ and ~/project/bar/src/.

Thanks in advance.

  • 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-23T13:53:37+00:00Added an answer on May 23, 2026 at 1:53 pm

    It sounds like you first need to compile those Java classes (you’ve referenced src directories in your question).

    Once you have classes compiled, you can reference them via the classpath.

    e.g.

    >>> import sys
    >>> sys.path.append(r'C:\temp\sample.jar') 
    >>> from org.my.package import MyClass
    

    More info in this document

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

Sidebar

Related Questions

I have a massive amount of input data (that's why I use Hadoop) and
We have a massive, ancient codebase that needs a lot of cleanup. We have
In one of our applications, we have a massive Materialized View that refreshes three
This has been killing me - I have a massive file that I need
I am importing massive amounts of data from Excel that have various table layouts.
I have a massive MySQL database (around 10 GB), and I need to copy
I have a massive multidimensional array that has been serialised by PHP. It has
I have this massive nested loop scenario that is calling the DB and making
I have this massive folder structure with thousands of folders and subfolders. I need
I have a massive collection of methods that I want to shape into a

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.