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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:48:16+00:00 2026-06-07T02:48:16+00:00

This question is in regards to install4j 4.2.8. We’re using install4j to create a

  • 0

This question is in regards to install4j 4.2.8.

We’re using install4j to create a “windows archive”-type media file for our java application. Although most users are happy to download our .exe installer, some customers require an msi and so we use this .zip artifact as the basis for an msi which is created using third party tools.

This works fine except when it comes to incorporating a bundled jre (non-shared). It seems that by default, install4j compresses certain jar files within the jre hierarchy (such as rt.jar) using the pack200 algorithm and decompresses them the first time the launcher executable is run.

This process obviously works fine for installs installed from an exe installer, but seems to fail a lot of the time from our msi install (which as mentioned before is created from the windows .zip artifact). I had a look in the install4j manual to see if there was some way to turn this compression off, but the jre bundle creating tool doesn’t seem to have any such parameter to do so. And the behaviour is nice to have, so it’d be nice to not have to do without it.

Any ideas as to why the unpacking process might be failing in some circumstances?

  • 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-07T02:48:19+00:00Added an answer on June 7, 2026 at 2:48 am

    The unpacking process is done the first time you call a generated launcher. You could call a dummy launcher with a main class that returns immediately to reliably unpack the JRE libraries.

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

Sidebar

Related Questions

I bumped into an additional question that I needed in regards to this: Using
This question regards unit testing in Visual Studio using MSTest (this is important, because
This question is in regards to this blog entry. https://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/ All the way at
I have just asked this question an hour ago but with regards to IE8
I had posted a question in regards to this code. I found that JTextArea
I have few question in this regard When you create an internet page, does
Disclaimer, I not do anything in particular with regards this question, just curious. Is
I was asked this question in an interview would appreciate your answers. Regards; Mohammad
This question is in regards to the V8 C++ API. I would like to
In regards to the answer for this question Passing DataContext into Action() , how

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.