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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:54:29+00:00 2026-06-13T18:54:29+00:00

In netbeans, if you right click on a project, go to Properties then click

  • 0

In netbeans, if you right click on a project, go to Properties then click on Libraries, it shows you a list of current JAR files added to your project. Then you can add more libraries by clicking Add JAR/Folder. However, when you click on a JAR file, it defaults to Absolute Path. In my particular case, this is never what I want and I often just hit Open and add the file incorrectly. When I check my project changes into SVN, the absolute path breaks the build for all of my team members.

So, is there a way to make Relative Path the default?

UPDATE:
To clarify, I have multiple projects open in netbeans.

Main – /lib/ contains all of my JAR files. Main refers to some of the JAR files in the lib folder, adding JAR files as described uses Relative Path by default.

PluginA – Uses and refers to some of the JAR files inside Main/lib. I’m adding the JAR files as described and they are defaulting to Absolute Path. I’d like these to use Relative Path by default.

  • 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-06-13T18:54:30+00:00Added an answer on June 13, 2026 at 6:54 pm

    Sadly, I suspect the existence of this bug means the answer is that there is no way to make Relative Path the default.

    Looking for alternatives: in the same bug there is this description of NB behaviour:

    1. If the JAR is considered “collocated” with the project basedir according to some provider of this information (generally a version
      control system which checks whether file paths are in the same
      checkout), then Relative is checked by default. (Since it can be
      assured that someone else checking out the same sources would indeed
      be able to use the same path.)

    2. If the JAR can be referred to using a named variable, that is used.

    So, if the projects live in the same SVN repository, using a single woking copy (which I did until recently and why I never noticed the Absolute / Relative problem) could work.

    Otherwise maybe defining a variable for that /lib directory could be a workaround.

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

Sidebar

Related Questions

When I right click a project in NetBeans and choose Test, certain unit tests
I am new to emacs . In Netbeans, you can right click on any
In netbeans I can ignore files existing in SVN repository (blue color on screen-shot),
I want to add a right click popupmenu to a JTable in NetBeans IDE
following the tutorial at http://platform.netbeans.org/tutorials/nbm-quick-start.html#lookup Right-click the TextFilter module, choose Properties, and use the
I can't find a way to mouse over or right click Objects and their
I have created several files with unit tests on existing classes in NetBeans project.
I create a ruby project in netbeans 6.9.1, and wrote some source ruby files
Right-click > Events > Action > actionPerformed adds the mouse-down event to a NetBeans
I'm trying to work with netbeans right now and I've run into a bit

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.