Installation issues on LINUX machines

User 677b9c22ff

15-11-2006 17:55:14

Hi,


installed on a clean system, whitout or without any JAVA installation produces an error (and on these LINUX machines always the JAVA server version starts, because the default is -server) However the JAVA server version is not included in the installer (there is no server directory under \jre\lib\i386)





In this case also


INSTALL4J_JAVA_HOME_OVERRIDE


INSTALL4J_ADD_VM_PARAMS=


dont help.





-bash-3.00$ ./instantjchem-1_0_1-linux.sh


Unpacking JRE ...


Preparing JRE ...


Starting Installer ...


Error: no `server' JVM at `/work/instant-jchem/jre/lib/i386/server/libjvm.so'.


-bash-3.00$

ChemAxon 7c2d26e5cf

16-11-2006 11:51:30

Dear Tobias,


I am no idea why the installer tries to find JVM in "/work/instant-jchem/jre/lib/i386/server/libjvm.so".


InstantJChem installer includes a bundled Java (1.5.0_09 client version).


The installer use this one at installation and set the "jdkhome" variable to this Java in the config file of InstantJChem to launch it with this version.


I've tested the installer under Fedora without any problem.


Which Linux version do you use?


Is X server running on your machine? Since it is a GUI installer, it requires display.

User 677b9c22ff

17-11-2006 01:26:43

Hi Tamas,


its a clean system, no variables set, nothing, only a directory with Instant-Jchem (maybe an older JVM installed somewhere). I tested it with which java, which javac. However it should install instantly, no user interference.





I only managed to install it because I changed the scripts (I usually dont want to do) and copied a server JVM into I-JChem.





Yes I had X-Windows installed (I did the tests with the 8 core LINUX machine).





------------------------------------------------------------------------------


The install script also doesnt work with the busy box which has a symbolic link for gunzip but doesnt know the -V option.





gunzip -V > /dev/null 2>&1


if [ "$?" -ne "0" ]; then


echo "Sorry, but I could not find gunzip in path. Aborting."


cd "$old_pwd"


rm -R -f "$sfx_dir_name"


exit 1


fi





Thanks


Tobias

ChemAxon 7c2d26e5cf

17-11-2006 12:33:25

Thanks that you shared your experimence about installation.


By the way, the install script is generated by Install4j 3.2.1.