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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:31:34+00:00 2026-05-20T20:31:34+00:00

We currently have an Java application that can be deployed on clients or run

  • 0

We currently have an Java application that can be deployed on clients or run as a shortcut from the server. We have intermittently received ClassNotFound exceptions when running the JAR from the server which looks like Windows dropping the network connection with only part of the classes from the JAR loaded (user opens a different screen then the problem is apparent).

I am currently looking at the Web Start technology to allow us to run a single shortcut.

However the application has several folders it requires to be in the same folder the JAR is launched (for configuration, logs, etc.). These folders will require full access for all users to allow them to write log files. There are lots of configuration files under the configuration folder hierarchy.

The application also requires access to environment user settings (such as getting their user folder). It also requires certain command line parameters (including which folder to use for configuration, log file location, java memory usage, etc.)

Edit

The application also contains a reference to 2 signed JARs. These are:

  • jh.jar
  • mail.jar

It looks like these are signed by SUN Microsystems. jh is used for help integration in our application whilst mail is used for email integration.

I have now downloaded the latest versions of these files from java2s.com which do not have the signed equivalents.

end edit

The application is developed in Netbeans which compiles a single JAR file and copies the dependant JARs to the dist/lib folder. I enabled the Web Start functionality in Netbeans for the application and it generates the JNLP file.

Bearing everything in mind is Web Start the way to go for an application like this?
Can you include folders in a Web Start deployment? I could not find anything to do this in the XML structure for a JNLP file.

Cheers,

Andez

  • 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-20T20:31:35+00:00Added an answer on May 20, 2026 at 8:31 pm

    Yes, you could use WebStart for this.

    Permission:
    If you need permission to the file system, you have to sign your jars and put the all-permissions tag in your jnlp.

    Arguments:
    Arguments can be provided by using the arguments elements in application_desc.

    Folders:
    I’m don’t think you can include folders in the WebStart application, but you could put the config files in a jar and read them from there, or extract them on startup.

    ClassNotFoundError:

    We have intermittently received
    ClassNotFound exceptions when running
    the JAR from the server which looks
    like Windows dropping the network
    connection with only part of the
    classes from the JAR loaded

    Does not sound plausible to me. per default, all jars will be downloaded before the application starts. If you set “download” to “lazy”, the jar will be downloaded when first needed, but I would guess it will be downloaded completly then.

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

Sidebar

Related Questions

I have a JSP java application that has a name AAA-master so currently my
I have a Flex/Java web application that uses Maven as a build tool. Currently,
I'm looking into some XSS prevention in my Java application. I currently have custom
I am writing an application in java (1.6) using swing. I currently have a
I have a POS web application which currently executes a java applet on page
I currently have a small text game I've written in Java that utilizes System.out.print();
I have a Java web-service which currently runs on a local tomcat server. I
I'm currently working on Mangler's Android implementation. I have a java class that looks
I want to unit test a Java application that fetches mails from an email
I have a java web application . Currently the application is installed in a

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.