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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:01:12+00:00 2026-06-01T16:01:12+00:00

I wonder if one can let the user specify an installation directory for an

  • 0

I wonder if one can let the user specify an installation directory for an application served by a JNLP file? For example:
INSTALLDIR: C:\Program Files\MyCompany\My Program\

Is that also possible to mention a data folder to be downloaded with the jnlp application jars in INSTALLDIR/data?

  • 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-01T16:01:13+00:00Added an answer on June 1, 2026 at 4:01 pm

    I wonder if one can let the user specify an installation directory for an application served by a JNLP file?

    The user or their system administrator can configure the location of the cache using the Java Control Panel.

    Is that also possible to mention a data folder to be downloaded with the jnlp application jars in INSTALLDIR/data?

    There is no existing functionality, but if you can write Java code to achieve that, add it to a JNLP installer extension and that code will be called when the app. is first run. Here is a demo. of using the extension installer service.

    Concerning installation directory, I fear that changing the cache path will change it for all other JNLP applications, isn’t it?

    Your fears are well founded, but there is a subtle implication you seem to have missed. Not only that, but even if it were possbile to find that directory in your app. (it is not possible for an applet or JWS app. to discover that information), it might be changed at any moment by the user (or their system administrator).

    What I’ve been hoping you would infer from my messages so far is this. If your app. relies on knowing the installation directory, it is seriously broken. Fix that first.

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

Sidebar

Related Questions

I am learning PyQt and wonder if one can create custom/owner draw control like
Having a look at BDD frameworks and I can't help but wonder which one
wonder whether someone can help me with the following one... I have a struct
I wonder if my adobe air application can communicate with external hardware's API functions.
I wonder if we can do that in python, let's suppose we have 3
Let's say I have two ear file and one .jar file with an EJB
I wonder there are any tools or online tools which one can construct tree
With C++, I can have one class definition in a header file, and have
Some social games on Facebook let user publish a link to their feed to
I am aware that one can do doskey /history to save the command history

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.