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
- :
- Re: Custom VM Pack creation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2012
12:08 AM
Custom VM Pack creation
Hi,
I have followed following steps to create Custom VM Pack creation
1. tar -cf /mydir/vm.tar jre && compress vm.tar
Results : vm.tar.Z
2. create "vm.properties"
vm.platform=Linux
vm.platform.flavor=Linux Sus
vm.name=jre1.4
vm.exe.path=bin/java
3. Zip these two files up (vm.tar.Z and vm.properties) as vm.zip
4. Rename the vm.zip as vm.vm
But when I use as bundled JRE, it does not work.
Please suggest correct steps, if I have done wrongly.
I have followed following steps to create Custom VM Pack creation
1. tar -cf /mydir/vm.tar jre && compress vm.tar
Results : vm.tar.Z
2. create "vm.properties"
vm.platform=Linux
vm.platform.flavor=Linux Sus
vm.name=jre1.4
vm.exe.path=bin/java
3. Zip these two files up (vm.tar.Z and vm.properties) as vm.zip
4. Rename the vm.zip as vm.vm
But when I use as bundled JRE, it does not work.
Please suggest correct steps, if I have done wrongly.
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2012
04:20 AM
From help files:
vm.platform.flavor =>use "Linux" (case sensitive)
--Jerome
vm.platform.flavor =>use "Linux" (case sensitive)
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2012
04:42 AM
Changes done...still it does not work....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2012
08:47 AM
Maybe just because vm.platform=Linux is wrong too, use 'unix' instead.
Check "VM Pack Properties" chapter in help files.
--Jerome
Check "VM Pack Properties" chapter in help files.
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2012
11:17 AM
Just a question:
You're posting in the IA2011 forum, so I'm assuming you have IA2011. This version includes a VM Pack creation utility.
Have you tried using that utility?
One other note: the structure of the JRE directory and the name of the root directory both have specific requirements. I just created a series of 6u31 VM Packs using the VM Pack creation utility and it whined when I got to the Windows versions. Their JRE directory names where 'jre6' rather than 'jre'. When I renamed them to 'jre', the VM Pack creation utility was happy again.
Here's the kicker: I haven't been able to test the new VM Packs because I can't get IA to load my project files... (noted in a separate thread). So, in reality, I can't vouch for the accuracy of the VM Pack utility.
You're posting in the IA2011 forum, so I'm assuming you have IA2011. This version includes a VM Pack creation utility.
Have you tried using that utility?
One other note: the structure of the JRE directory and the name of the root directory both have specific requirements. I just created a series of 6u31 VM Packs using the VM Pack creation utility and it whined when I got to the Windows versions. Their JRE directory names where 'jre6' rather than 'jre'. When I renamed them to 'jre', the VM Pack creation utility was happy again.
Here's the kicker: I haven't been able to test the new VM Packs because I can't get IA to load my project files... (noted in a separate thread). So, in reality, I can't vouch for the accuracy of the VM Pack utility.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2012
11:43 PM
tdfunk wrote:
Just a question:
You're posting in the IA2011 forum, so I'm assuming you have IA2011. This version includes a VM Pack creation utility.
Have you tried using that utility?
One other note: the structure of the JRE directory and the name of the root directory both have specific requirements. I just created a series of 6u31 VM Packs using the VM Pack creation utility and it whined when I got to the Windows versions. Their JRE directory names where 'jre6' rather than 'jre'. When I renamed them to 'jre', the VM Pack creation utility was happy again.
Here's the kicker: I haven't been able to test the new VM Packs because I can't get IA to load my project files... (noted in a separate thread). So, in reality, I can't vouch for the accuracy of the VM Pack utility.
I tried with Utility.....for Windows platform, I could do creation without any hitch...but for Unix platform, it just stuck without any progress status....so I had to fall back to manual steps...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2012
06:15 AM
Hi,
Please try the below Steps to create the VM pack Manually.
1. tar -zcvf vm.tar.Z jre/
2. Provide the permission
chmod 775
3.create "vm.properties"
vm.platform=unix
vm.platform.flavor=Linux
vm.name=SunJRE170_Linux32
vm.exe.path=bin/java
4. Again provide permission
chmod 775
5. Create a jar file from these two file (vm.tar.Z and vm.properties) as SunJRE170_Linux32.jar
6.Rename the SunJRE170_Linux32.jar file to SunJRE170_Linux32.vm
Hope it helps.
Please try the below Steps to create the VM pack Manually.
1. tar -zcvf vm.tar.Z jre/
2. Provide the permission
chmod 775
3.create "vm.properties"
vm.platform=unix
vm.platform.flavor=Linux
vm.name=SunJRE170_Linux32
vm.exe.path=bin/java
4. Again provide permission
chmod 775
5. Create a jar file from these two file (vm.tar.Z and vm.properties) as SunJRE170_Linux32.jar
6.Rename the SunJRE170_Linux32.jar file to SunJRE170_Linux32.vm
Hope it helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 18, 2012
01:36 AM
jmishra wrote:
Hi,
Please try the below Steps to create the VM pack Manually.
1. tar -zcvf vm.tar.Z jre/
2. Provide the permission
chmod 775
3.create "vm.properties"
vm.platform=unix
vm.platform.flavor=Linux
vm.name=SunJRE170_Linux32
vm.exe.path=bin/java
4. Again provide permission
chmod 775
5. Create a jar file from these two file (vm.tar.Z and vm.properties) as SunJRE170_Linux32.jar
6.Rename the SunJRE170_Linux32.jar file to SunJRE170_Linux32.vm
Hope it helps.
Thanks Jayashree!!!, it works...