mb4
Posts: 6
Joined: Tue Mar 20, 2018 12:07 pm

Problème package MSI java

Bonjour,

J'ai un soucis,

Lorsque je créer un package MSI Java installer et que je l'exécute (sur une autre machine)

J'obtiens cette erreur sur mon application java :

"Impossible de charger la bibliothèque Java VM: C: \ Program Files (x86) \ logiciel \ logiciel \ jre \ bin \ client \ jvm.dll (errno = 126)."

Je précise que le jre est intégré à mon package et que mon application se lance correctement sur mon ordinateur avec le MSI mais j'obtiens cette erreur lorsque je le lance sur un autre ordinateur,

Comment puis-je remédier à cela s'il-vous-plaît ?

Merci pour votre aide

MB4
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Problème package MSI java

Hello,

This could happen if the EXE java product you configured into your setup project if configured to use a 32-bit version of JRE, but on current running machine there is no 32-bit version of JRE installed. Can you please check this?

You can check into your project which version and architecture of JRE your java product is configured to use by inspecting the following settings:
1. "Java Products" page -> "Settings" tab -> "Platform" field
2. "Java Products" page -> "Virtual Machine" tab -> "Settings" section

Also, to make sure a JRE version is always deployed on target machine (when there is none already installed), then you can add the JRE version used by your java product as a prerequisite.

If this is of no help to you then please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”