This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Command line Build.sh fail on Linux.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Mar 22, 2012
09:29 AM
Command line Build.sh fail on Linux.
I have the following scenario. I automated the creation of a windows executable on a windows platform. (maven plugin calls the build.exe that create my install.exe). Everything works fine on Windows.
I installed InstallAnywhere on our Linux deployment platform and try to run the same script and I have the following error:
I copied over the windows pack SunJRE160_15Win32.vm from the windows platform to resource/installer_vms/ on the Linux platform but I still have the same error.
If anybody has a clue of what I might be missing please let me know.
Thanks
I installed InstallAnywhere on our Linux deployment platform and try to run the same script and I have the following error:
No VM Pack files exist in this directory
Unable to invoke the method:
....
Unable to invoke the method:
....
I copied over the windows pack SunJRE160_15Win32.vm from the windows platform to resource/installer_vms/ on the Linux platform but I still have the same error.
If anybody has a clue of what I might be missing please let me know.
Thanks
(5) Replies
‎Mar 22, 2012
10:13 AM
I think this message is always displayed 'No VM Pack files exist in this directory' probably it happens if your vm pack is not in same folder than your installer xml file (so it always display this).
Your problem might more be in the next message: "Unable to invoke the method:"
Do you have more traces after that one?
--Jerome
Your problem might more be in the next message: "Unable to invoke the method:"
Do you have more traces after that one?
--Jerome
‎Mar 22, 2012
02:10 PM
I have the following structure:
InstallAnywhere 2011 Enterprise>
I am running the following command
./build JavaInstaller.iap_xml
and I have the following error:
Original project unchanged
No VM Pack files exist in this directory
Unable to invoke the method:
RelatedProjectSettings.setDefaultLocaleFromProject(String)
Some installer configuration information may be lost
java.lang.NoSuchMethodException
at ZeroGgn.a(DashoA10*..)
at ZeroGgn.a(DashoA10*..)
...
It looks to me that the VM has something to do with it, after that it's trying to invoke some GUI and fails since I don't have any xserver running.
Thanks
InstallAnywhere 2011 Enterprise>
|_build
|_resource
|_JavaInstallerBuild.iap_xml
|_resource
|_installer_vms
|_SUN_160_B23_LINUX_64Bit.vm
|_SunJRE160_15Win32.vm
|_SunJRE160_15Win32.vm
|_JavaInstallerBuild.iap_xml
I am running the following command
./build JavaInstaller.iap_xml
and I have the following error:
Original project unchanged
No VM Pack files exist in this directory
Unable to invoke the method:
RelatedProjectSettings.setDefaultLocaleFromProject(String)
Some installer configuration information may be lost
java.lang.NoSuchMethodException
at ZeroGgn.a(DashoA10*..)
at ZeroGgn.a(DashoA10*..)
...
It looks to me that the VM has something to do with it, after that it's trying to invoke some GUI and fails since I don't have any xserver running.
Thanks
‎Mar 23, 2012
10:04 AM
setDefaultLocaleFromProject remind me something I read from release notes of SP3 where now you can set a default locales.
Which version of IA 2011 are you building with? is it the same version your xml project was saved?
Try to define a default locale (it's in build configuration/locales) then try to build again your project.
--Jerome
Which version of IA 2011 are you building with? is it the same version your xml project was saved?
Try to define a default locale (it's in build configuration/locales) then try to build again your project.
--Jerome
‎Mar 23, 2012
03:49 PM
I finally found the root cause. I first installed IA via command line no GUI. When I tried to run my build (./build JavaInstaller.iap_xml) it failed and tried to display the error message which cause the vm Pack error because the XSERVER is not running.
I had to install GNOME/XSERVER on my Linux box in order to run the IA client.
At this point, I try to open IA and it's complaining that IA is not the most recent version (need to upgrade SP3 which you can only do if you run the GUI!). Wish they would put the most current binary on the download site.
Hope this help.
I had to install GNOME/XSERVER on my Linux box in order to run the IA client.
At this point, I try to open IA and it's complaining that IA is not the most recent version (need to upgrade SP3 which you can only do if you run the GUI!). Wish they would put the most current binary on the download site.
Hope this help.