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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:33:47+00:00 2026-05-20T12:33:47+00:00

I have made a project in NetBeans IDE using a custom library (a .JAR

  • 0

I have made a project in NetBeans IDE using a custom library (a .JAR file added to the project within its properties dialog in NetBeans IDE), but when I try to build the project, it says this:

init:
deps-clean:
Updating property file: I:\Java\NetBeansProjects\MCItemCosts\build\built-clean.properties
Deleting directory I:\Java\NetBeansProjects\MCItemCosts\build
clean:
init:
deps-jar:
Created dir: I:\Java\NetBeansProjects\MCItemCosts\build
Updating property file: I:\Java\NetBeansProjects\MCItemCosts\build\built-jar.properties
Created dir: I:\Java\NetBeansProjects\MCItemCosts\build\classes
Created dir: I:\Java\NetBeansProjects\MCItemCosts\build\empty
Compiling 2 source files to I:\Java\NetBeansProjects\MCItemCosts\build\classes
I:\Java\NetBeansProjects\MCItemCosts\src\mcitemcosts\Main.java:7: package bht.tools.comps does not exist
import bht.tools.comps.BHMessagePanel;
I:\Java\NetBeansProjects\MCItemCosts\src\mcitemcosts\UIJFrame.java:13: package bht.resources does not exist
import bht.resources.Icons;
I:\Java\NetBeansProjects\MCItemCosts\src\mcitemcosts\UIJFrame.java:14: package bht.tools.comps does not exist
import bht.tools.comps.BHMessagePanel;
[and so on]
I:\Java\NetBeansProjects\MCItemCosts\nbproject\build-impl.xml:586: The following error occurred while executing this line:
I:\Java\NetBeansProjects\MCItemCosts\nbproject\build-impl.xml:269: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 3 seconds)

How do I get NetBenas IDE to recognize that it’s supposed to put the .JAR library in the classpath upon building? It works within the IDE, by the way, so I know NetBeans works with the library and compiles normally just fine. I’ve tried using NetBeans IDE 6.9.1 and 7.0

  • 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-20T12:33:48+00:00Added an answer on May 20, 2026 at 12:33 pm

    How about setting it up as a library by choosing Tools on the menu and then Library option. Once it is setup, if you go to your project properties, and click the ‘Libraries’ option on the left you will be able to add it. Also, check the Build Required Projects checkbox on the bottom of Project properties -> Libraries.
    Btw, what external jar are you trying to add?

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

Sidebar

Related Questions

Till now, I have been using Netbeans IDE for Java Applications. To distribute applications
In NetBeans 6.7.1, I have made a j2ee project, In this project I have
I have a project in NetBeans with JUnit tests. I made a change to
I have an project in NetBeans. I made some preparations to make database migration
I've just create a new MVC project, and have made no changes at all,
This is the day of weird behavior. We have a Win32 project made with
I have made a custom UserControl i Vb.net (windows application). How can I add
I have made a new windows service which works fine using barebone code (just
I am using GNU/Linux (Ubuntu + Gnome). I have been using netbeans on windows
I have made a framework for a project. The project does a medium amount

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.