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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:10:22+00:00 2026-05-14T03:10:22+00:00

I have various Java Swing applications that are used by multiple users. My deployment

  • 0

I have various Java Swing applications that are used by multiple users. My deployment strategy is to locate the .jar file on a network share, and users create shortcuts to that file. When the user launches an application, the file is copied to their machine and executed locally. This method allows for a single copy of the code and easy updating.

The problem is that I can’t update the file on the network share if any user is using the application at that time.

I can’t use Web Start because I don’t have access to a cert for signing the jar.

My current workaround is a separate application that copies the desired app to the user’s local machine, launches the application, and then the launcher exits. There is a several second delay from when the launcher app exits and the user’s app becomes visible.

Can anyone suggest a better deployment method where I can easily update a central copy of the application, one where Windows XP won’t maintain a lock on the file?

Update:
The JSmooth method solves the essential issues. The .exe created by JSmooth is locked while in use, but the .jar files containing the application’s functionality can be updated.

  • 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-14T03:10:22+00:00Added an answer on May 14, 2026 at 3:10 am

    You can use Java Web Start, as you can use a self-signed certificate to sign your files. This will give your users a warning which they can accept once and for all.

    I would therefore recommend you going that way, as this is the only standard Java way to do what you want, and it works reasonably well. With the latest Java 6 update you get a lot of new, useful functionality.

    A piece of advice: When you release a new version, put the jars in a new location so the URL’s pointing to the jar-files inside the JNLP-file change! This is because Java Web Start caches the jar-files and this is the best way we have found to ensure that the cache is accurate.


    EDIT: I believe you can also use JSmooth to wrap the Java files in an EXE-file, which transparently extracts the various files on the local computer and executes them there. This should not lock the original EXE file. I would, however, recommend you use the Web Start approach.

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

Sidebar

Related Questions

In my application I have various styles and templates that are used in several
I have multiple logos of various companies in various formats that needs to be
In Java (Swing), say I've got a 2D game where I have various types
I have a Swing application that uses a Java Thread to constantly perform some
We have various php projects developed on windows (xampp) that need to be deployed
We have various servers that have many directories shared. It's easy enough to look
We have various spreadsheets that employ deliciously complicated macros and third party extensions to
I am writing a toolbar for IE(6+). I have used the various sample bars
Background So I read that often memory leaks within Swing applications originate from the
We do have various frameworks in java, like spring, jsf etc. At the beginning

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.