Yesterday I downloaded the 30-days eval of Momentcis and RTOS-for-Linux. I will (try to) run it on a Sempron-based Fedora Core 5 machine. As indicated in the pdf, when RTOS stated that it couldn't find Java installed, I tried to install Momentics. However, despite that I am root (su actually), running ./qnxSetupLinux.bin from the CD ends with the message that I don't have permission to run it.How can I solve this?

NOTE: The instructions talk about installing 1.5. DO NOT INSTALL 1.5. The installation will not work with 1.5

After setup do a java -version. Make sure it reports that it is using the 1.4.2 VM from Sun and not GCJ.

As root switch to the CD and run the following command:java -cp ./qnx_linux_setup.jar run

Should install fine that way but if you get a message about display, then you will need to use the gui version of su ( i.e. kdesu "java -cp ../qnx_linux_setup.jar run"

NOTE that installing the VM may give him an error about a corrupt package. The package is probably not corrupt. The command line arguments for the tail binary changed. In order to get around this you must export:

export _POSIX2_VERSION=199209

do the install and then to change it back:

export _POSIX2_VERSION=200112

Thanks,Rodney

Huub wrote:

Hi,

Yesterday I downloaded the 30-days eval of Momentcis and RTOS-for-Linux.I will (try to) run it on a Sempron-based Fedora Core 5 machine. Asindicated in the pdf, when RTOS stated that it couldn't find Javainstalled, I tried to install Momentics. However, despite that I am root(su actually), running ./qnxSetupLinux.bin from the CD ends with themessage that I don't have permission to run it.How can I solve this?

Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[Huub@Ladysmith ~]$

NOTE: The instructions talk about installing 1.5. DO NOT INSTALL 1.5.The installation will not work with 1.5

I have 1.5 installed, but only to work with Eclipse. When I used the GCJ 1.4.2, Eclipse had severe performance problems. I start it using /apps/eclipse/eclipse -vm /apps/jdk1.5.0_07/jre/bin/java . Does this interfere anyway?

After setup do a java -version. Make sure it reports that it is usingthe 1.4.2 VM from Sun and not GCJ.

Hmm. Can you tell me if uninstalling GCJ will harm Fedora Core 5? If not, I will download 1.4.2 from Sun and install it.

As root switch to the CD and run the following command:java -cp ./qnx_linux_setup.jar run

Good.

Should install fine that way but if you get a message about display,then you will need to use the gui version of su ( i.e. kdesu "java -cp./qnx_linux_setup.jar run"

I run gnome, but I suppose that won't be a problem.

NOTE that installing the VM may give him an error about a corruptpackage. The package is probably not corrupt. The command linearguments for the tail binary changed. In order to get around this youmust export:

Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[Huub@Ladysmith ~]$

NOTE: The instructions talk about installing 1.5. DO NOT INSTALL 1.5.The installation will not work with 1.5

I have 1.5 installed, but only to work with Eclipse. When I used the GCJ1.4.2, Eclipse had severe performance problems. I start it using/apps/eclipse/eclipse -vm /apps/jdk1.5.0_07/jre/bin/java . Does thisinterfere anyway?

No. In fact you probably should use Java 1.5 to run eclipse. However the 1.4 VM is required to run the installation. This is due to a limitation when using InstallShield Multicore.

After setup do a java -version. Make sure it reports that it is usingthe 1.4.2 VM from Sun and not GCJ.

Hmm. Can you tell me if uninstalling GCJ will harm Fedora Core 5? Ifnot, I will download 1.4.2 from Sun and install it.

You do not need to uninstall it. Just make sure that Sun's VM is the first in the path.

As root switch to the CD and run the following command:java -cp ./qnx_linux_setup.jar run

Good.

Should install fine that way but if you get a message about display,then you will need to use the gui version of su ( i.e. kdesu "java -cp./qnx_linux_setup.jar run"

I run gnome, but I suppose that won't be a problem.

NOTE that installing the VM may give him an error about a corruptpackage. The package is probably not corrupt. The command linearguments for the tail binary changed. In order to get around thisyou must export:

You can't run NTO as a guest O.S on Linux unless you use VMWare orsomething similar to that. You need an actual Neutrino target.

Thanks,Rodney

Hello Rodney,

If I can only run NTO either on separate hardware or as guest on e.g. WMware or Xen, is that the purpose of this 30-day Momentics license? Because the reason for me to install and try it, was to try developing some simple code and then try to run it on NTO and thus getting experience using QNX.

Well you can run it on a PC, self-hosted. VMware is just a way to not haveto setup a new PC or go to the trouble of creating a new partition.

I understand that.

Were you actually expecting NTO to run ON windows? Would you expect Linuxto run ON windows

That's what was confusing me. Since it was called Linux-hosted Momentics/NTO I thought it contained some virtual machine.Other thing is: with this 30-days license, can I install and run NTO on, say, Xen or does only the full license do that?

If you build an image with Momentic and download it in a target (what ever that target is, real or virtual) that image will work indefinitely. What will stop working after 30 days is most of the development tools and the ability to create an image (depending on the type of image).