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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:29:02+00:00 2026-06-06T12:29:02+00:00

I could understood that Desktop applications in Java doesn’t have a pre-defined relative path

  • 0

I could understood that Desktop applications in Java doesn’t have a pre-defined relative path for jar (library) files inclusions. It already have a CLASS_PATH env var.

But what I couldn’t understood why EJB modules doesn’t such feature… (Web App has!- throw WEB-INF/lib)

  • 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-06T12:29:03+00:00Added an answer on June 6, 2026 at 12:29 pm

    Here are two excerpts from the Java EE specification:

    A JAR format file (such as a .jar file, .war file, or .rar file) may
    reference a .jar file or directory by naming the referenced .jar file
    or directory in a Class-Path header in the referencing JAR file’s
    Manifest file. The referenced .jar file or directory is named using a
    URL relative to the URL of the referencing JAR file. The Manifest file
    is named META-INF/MANIFEST.MF in the JAR file. The Class-Path entry in
    the Manifest file is of the form

    Class-Path: list-of-jar-files-or-directories-separated-by-spaces
    

    A .ear file may contain a directory that contains libraries packaged
    in JAR files. The library-directory element of the .ear file’s
    deployment descriptor contains the name of this directory. If a
    library-directory element isn’t specified, or if the .ear file does
    not contain a deployment descriptor, the directory named lib is used.
    An empty library-directory element may be used to specify that there
    is no library directory. All files in this directory (but not
    subdirectories) with a .jar extension must be made available to all
    components packaged in the EAR file, including application clients.
    These libraries may reference other libraries, either bundled with the
    application or installed separately, using any of the techniques
    described herein.

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

Sidebar

Related Questions

I have understood that I could use the RubyGem Curb to fulfill my needs
I have just started with Gui Programming in netbeans (Using the template Java Desktop
Assume that we have a network deployed desktop application written in .NET. We don't
From all the reading that I have done, I have understood that using user-agent
I work mainly on a desktop Mac but also have a laptop Mac that
I'm running wget through php's shell_exec() How could I understand that wget got 404
I understand that this question could be answered with a simple sentence and that
I have come across the following jQuery code but could not understand it. What
I really want to create a stunning-looking GUI desktop application that looks like, for
I have a class library which is called through COM from a Third Party

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.