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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:58:41+00:00 2026-05-13T08:58:41+00:00

Hi using jar bundler of Mac 10.5.7. I can set any file as classpath.

  • 0

Hi using jar bundler of Mac 10.5.7. I can set any file as classpath. I have a folder which contains some database files. In my java program I am using this path. So how to set my folder in “class path and file section” in jarbundler.

http://developer.apple.com/Mac/library/documentation/Java/Conceptual/Jar_Bundler/Packaging/Packaging.html

Thanks
Sunil Kumar Sahoo

  • 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-13T08:58:42+00:00Added an answer on May 13, 2026 at 8:58 am

    This question belong to serverfault. If I am not wrong then your problem is to give a single application to the end user which will run simply by double clicking on it. But the problem is that ur application refers to some path. so better compress those database file embed those things in your jar and then write the logic to extract the file and store the data in the path that you actually want. I would be preferred if u do the same for home directory means the data must be saved in home directory.

    The above (extraction of zip file) should run for once only.

    Thanks
    Deepak

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

Sidebar

Related Questions

There is a checkbox in Jar Bundler which allows to set working folder to
I have a jar file and I invoke the jar using java -jar myjar.jar
I try to get file as resource from bundle jar using Felix/OSGi. I have
using jar on the windows command prompt, how can I add foo.class to a
I am using a X.jar and adding to my AspectJ project(in eclipse). I have
I tried to create jar file using command line that I inserted into java
I am trying to run a jar file using my command prompt (Windows XP)
Possible Duplicate: LSUIElement not working I am using Jar Bundler to create a .app
Using Apache Felix, I have an OSGi component I've authored that wraps some middleware
I've created an OSX app using Jar Bundler from Xcode following this howto: http://www.centerkey.com/mac/java/

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.