We’re installing PowerHub using its installer in Linux machine. The installer is built using InstallAnyWhere, that use JRE inside the installer.
The problem happen when we try to install as a user which its home directory is not mounted. We tried to set the HOME to other directory by setting up HOME environment variable. But, we got:
No module find error
Then we try to debug the installation by:
sh -x setup.bin
It come back with a lot of debug messages, and at the end we will see a line with:
CLASSPATH=/tmp/install.829388/jar/...
exec /tmp/install.829388/jre/bin/java ....
What we did is to manipulate the user home by
$export CLASSPATH=/tmp/install.829388/jar/...
/tmp/install.829388/jre/bin/java -Duser.home=/tmp/tmpdir ...
This way, we will force the installer to use different HOME directory


