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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:08:15+00:00 2026-06-10T22:08:15+00:00

I have a jar file named stdlib.jar . This has many classes in its

  • 0

I have a jar file named "stdlib.jar". This has many classes in its "Default Package". I have added this stdlib.jar to my NetBeans Libraries. and Also "Build"-ed it without using anything from stdlib.jar . So that stdlib.jar can be added to my "./dist/lib" folder. But still I can’t use any classes within stdlib.jar
What should I do to reuse any classes within stdlib.jar?

  • 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-10T22:08:17+00:00Added an answer on June 10, 2026 at 10:08 pm

    Using “Default Package” package for libraries or even for a project is highly discouraged.
    If you use default package then the classes name should be unique or else they will override all the java.lang classes.

    Now coming to your situation. To use your stdlib.jar if you’ve added it in your library then you should be able to use it.
    You can use your stdlib.jar from your default package of the project in which you are using it. Other than default package you cannot use it as it will search your stdlib.jar class in that package.

    Hope this makes you clear. Thanks.

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

Sidebar

Related Questions

I have a jar file that has a file named client.ts in (when viewing
I have a Jar file named OuterJar.jar that contains another jar named InnerJar.jar this
I have a jar file named umar.jar in /root/umar/bin directory. I have a shell
HI Guys I Have A jar File Named Column Reader. I am trying to
I have a jar file with predefined entry point in its manifest file. And
i have added google admob jar, have added jar file to builtpath and also
I have a external jar file named xxx.jar. I use xxx.jar in my GWT
I have a JAR file that contains classes with sensitive names that ideally I
I have built a program in NetBeans, it creates myprogram.jar file but also creates
I have a JAR file named helloworld.jar . In order to run it, I'm

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.