Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX Momentics 6.3.2 fails to install on Linux host: (5 Items)
   
QNX Momentics 6.3.2 fails to install on Linux host  
I am having trouble installing QNX Momentics 6.3.2, seemingly due to Java problems.  I've seen similar issues posted but
 the resolutions for those cases do not fix my situation.  My host is running OpenSUSE 11.0.  Hearing of issues with 
that distribution's packaging of Java, I removed all versions and reinstalled the JVM directly from Sun's website.  Here
 are the two install scenarios I've tried; both of which fail:

1)  running momentics-6.3.2-200709062316-linux.bin from shell prompt as root
Install Shield fails with the following message:

Preparing Java(tm) Virtual Machine...
................................... 
<repeats>
................................... 
Exception in thread "main" java.lang.OutOfMemoryError
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at run.main(run.java:38)

2) extracting qnx_linux_setup.jar from .bin file and running as java -jar qnx_linux_setup.jar
Here, the installer starts up and I can enter my key and designate the installation directory.  After being told how 
much drive space will be used, the progress bar moves to 2% and then displays this message:

The uninstaller has not been created completely. At least one of these files is missing:
uninstall.dat, uninstaller.jar, and uninstaller.bin.

I click on the next button and see this message:

Errors occurred during the installation.
JVM not found

At this point all I can due is abort the installation.  Other Java applications execute correctly on my system.  Any 
advice on getting past this hurdle would be most appreciated.

Thanks,
Dave
Re: QNX Momentics 6.3.2 fails to install on Linux host  
do you have JAVA_HOME set when you trying to manually install it? (This is not supported host and looks like problem 
with java that we bundle does not work properly)
Re: QNX Momentics 6.3.2 fails to install on Linux host  
Hi Dave,

As Elena already mentioned, Suse 11 is not a supported distribution, so we have not done testing on this platform.   
Could you please post installOptionalLog.txt file from  /tmp directory?  Hopefully, the log file will provide more info 
on why the second installation scenario failed.

Natalia
Re: QNX Momentics 6.3.2 fails to install on Linux host  
Thanks for your replies.  I have attached the installOptionLog.txt file you requested.  My JAVA_HOME variable is set to 
/opt/java/ which points to the following jdk/jre version which I downloaded from Sun (not Suse's packaging):

                java version "1.6.0_10"
               Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
               Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode)

After some additional playing around I found that the error when running the momentics .bin installer came from having 
the qnx_linux_setup.jar file extracted in the same directory I was executing from.  Moving this file results in a new 
error; I hope this info is helpful for you.

Initializing InstallShield Wizard...

Preparing Java(tm) Virtual Machine...
...................................
<repeats>
..................................
Exception in thread "main" java.lang.NoClassDefFoundError: run

Thanks again for your help!
-Dave
Attachment: Text installOptionalLog.txt 72.47 KB
Re: QNX Momentics 6.3.2 fails to install on Linux host  
Dave,

Can you try downloading and using Sun java 1.5 as opposed to 1.6 ?