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: No JVM error while running IA Installer on Unix
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jul 29, 2009
09:00 AM
No JVM error while running IA Installer on Unix
Hello, I have to design an installer for Linux, Windows and Unix systems, that's why we choose IA 2008 (VP1 version). On windows and Linux no problem at the install part, but on Unix, I've got those messages :
"Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program."
I have bundled a VM (JRE 1.6 Solaris SPARC) in the installer "UNIX_with_VM", and I have also tried Solaris Output but I always have the same message.
For the other plateforms Windows and Linux, I don't have same results :
- build Windows with VM bundled : OK
- build Windows without VM bundled : OK
- build Linux with VM bundled : OK
- build Linux without VM bundled : Same message
Does it mean that I have a VM on the test computer under Windows, and no VM on the other computer under Linux so I have to bundle one in Linux installer ? If yes, why don't we always bundle a VM in installers in order not to have this kind of problem ?
Thanks by advance for clues 🙂
"Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program."
I have bundled a VM (JRE 1.6 Solaris SPARC) in the installer "UNIX_with_VM", and I have also tried Solaris Output but I always have the same message.
For the other plateforms Windows and Linux, I don't have same results :
- build Windows with VM bundled : OK
- build Windows without VM bundled : OK
- build Linux with VM bundled : OK
- build Linux without VM bundled : Same message
Does it mean that I have a VM on the test computer under Windows, and no VM on the other computer under Linux so I have to bundle one in Linux installer ? If yes, why don't we always bundle a VM in installers in order not to have this kind of problem ?
Thanks by advance for clues 🙂
(5) Replies
‎Jul 29, 2009
09:36 AM
You say you're attempting the install on an Unix, but you also say that you've bundled a JRE 1.6 Solaris SPARC, so am I correct in assuming that the Unix you've attempting the install on IS a Solaris?
If you build an installer without an VM then in order to install you NEED to have a suitable VM installed on the target machine BEFORE attempting the installation. By suitable I mean that the rules for Java you set in the installer must match the existing VM (you can say for instance to the installer to use a Java 1.6 minimum, so even if you had Java 1.5 installed that wouldn't be usable by the installer).
To ask your final question, in order not to have any issues yes it is best to always bundle a JVM. There are however situations like application that don't need Java post-installation, so in order not to make setups too big, no JVM is bundled and the end-user must install a JVM in order to be able to use the install.
If you build an installer without an VM then in order to install you NEED to have a suitable VM installed on the target machine BEFORE attempting the installation. By suitable I mean that the rules for Java you set in the installer must match the existing VM (you can say for instance to the installer to use a Java 1.6 minimum, so even if you had Java 1.5 installed that wouldn't be usable by the installer).
To ask your final question, in order not to have any issues yes it is best to always bundle a JVM. There are however situations like application that don't need Java post-installation, so in order not to make setups too big, no JVM is bundled and the end-user must install a JVM in order to be able to use the install.
‎Jul 30, 2009
08:18 AM
Thanks for your quick answer,
yes, the Unix system is a Solaris one
The JVM asked to be available is the default choice : 1.4 or greater so the 1.6 should be good.
I'll have a check on access rights even if I had a try in my home directory for install target of VM
yes, the Unix system is a Solaris one
The JVM asked to be available is the default choice : 1.4 or greater so the 1.6 should be good.
I'll have a check on access rights even if I had a try in my home directory for install target of VM
‎Aug 30, 2010
11:13 AM
Heroesmith wrote:
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program."
I have a related question. Is it possible to change this error message to be more specific?
For instance my installer requires java 1.5+ and I'd like to give an error message that states it couldn't find 1.5 or greater if the user has a 1.4 JVM installed.