cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
zokas01
Level 2

ChooseBundledVMs: Unable to locate the VMPack Directory error

Hello,

I am using install anywhere 2010 for preparing the installer. But when I run the installer i get "ChooseBundledVMs: Unable to locate the VMPack Directory" error.

I checked the resource\installer_vms folder, I have SunJRE160_15Win32.vm file.
To try different solution, I unchecked the "Bundled Virtual Machine" option in project->java section. Then I removed "Installanywhere VM Component" from Organization-> components. But I am still getting same error.

Note: I migrated my project from install anywhere 2009 to 2010.

Please suggest me, how can I solve this issue.


I get the same error when I try to build project with NO VM option. Now I have a question, If I select NoVM option, then also VM is required??
Labels (1)
0 Kudos
(5) Replies
pv7721
Level 20

The VM is required then only for the installer's needs: it needs a VM to operate, to be launched and to proceed to installation.
0 Kudos
ivenkata
Level 6

Hi Zokas01

This is just a print statement which is getting printed and there is a Bug raised for this.

This would not effect your installer anyways.

Thanks,
Indraneel
0 Kudos
zokas01
Level 2

Hello Indraneel and guys,

First apologies for late response.
Thank you very much now my installer is working.

I can see
ChooseBundledVMs: Unable to locate the VMPack Directory
Loading externalized properties
Exception running install action:
java.lang.NullPointerException


messages in log file and installer is returning with error code 1

(X) shutting down service manager
(X) cleaning up temporary directories
Exiting with exit code: 1
(X) storing replay variable manager
cleanUp()
calling cleanUpWin32()

Due to it my installation script is failing because successful installation should return error code 0. But successful installation is returning error code 1.

Please let me know, if it is bug?

Your prompt response will really help becaz my clock is ticking.. 🙂

Thank you again for your help
0 Kudos
jijujacob27
Level 6

The installer should not return an error code of 1 after a successful install. This should be a bug.

Thanks,
Jiju
0 Kudos
ivenkata
Level 6

I am unable to reproduce this issue. Could you please let us know your Project Configuration? I always get the return code 0 with the installation successful.

Can you also please confirm on which platform you see this issue?

Thanks,
Indraneel
0 Kudos