If there're two JRE versions in /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre, for example, 1.8.0_65 and 1.8.0_40, make package-manager will fail, the error message is: /WindRiver8.0.3/wrlinux-8/scripts/pkgmgr-gui.sh: line 131: /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65: is a directory In order to show the command line, I added a "-x" in the first line of pkgmgr-gui.sh, the output is : + /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65 /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_40/bin/java -jar /WindRiver8.0.3/wrlinux-8/scripts/jars/PKGmgr_gui_linux.jar --wrlinuxdir /WindRiver8.0.3/wrlinux-8 --projectDir /ls10xx_prj-core /WindRiver8.0.3/wrlinux-8/scripts/pkgmgr-gui.sh: line 131: /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65: is a directory We can see, both version of JRE are in the command line: /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_65 /WindRiver8.0.3/maintenance/wrInstaller/x86-linux2/jre/1.8.0_40/bin/java