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

Unable to install InstallAnywhere, where we have JDK with space

Hi Team,

I want to see, if there is a bug in the installanywhere when we have the JDK install on *NIX with installation folder with space, for example: /opt/Java 1.8.0 211, here, we have spaces between Java and 1.8.0, etc...

This says, cannot find the JAVA

/usr/xpg4/bin:/opt/solaris test/bin:/usr/sbin:/usr/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
Searching for VMs in PATH:
Looking in:............................. /usr/xpg4/bin
Looking in:............................. /opt/solaris
Looking in:............................. test/bin
Looking in:............................. /usr/sbin
Looking in:............................. /usr/bin
Looking in:............................. /bin
Looking in:............................. /usr/bin
Looking in:............................. /sbin
Looking in:............................. /usr/sbin
Looking in:............................. /usr/local/bin
No Java virtual machine could be found from your PATH
environment variable.  You must install a VM prior to
running this program.
Removing temporary installation directory: "/tmp/install.dir.800"

Please advice us.

Thanks, WarrenT

0 Kudos
(1) Reply
UtsabKarmakar
Level 5 Flexeran
Level 5 Flexeran

Hi @warrent,

Based on your logs its seems that the installer is not able to locate Java.

You can use LAX_VM option from command line to point to Java.

install.bin LAX_VM "/opt/Java 1.8.0 211/bin/java"

https://helpnet.flexerasoftware.com/installanywhere2018/Content/helplibrary/ia_ref_command_line_launcher.htm?

 

Thanks,

0 Kudos