Why do I receive an error message saying java not found during Polyspace installation on 64-bit Linux?

1 次查看(过去 30 天)
When installing a PolySpace product on a 64 bit Linux machine, the installation program ends with the error message:
exec: 2433: /tmp/install.dir.880/Linux/resource/jre/bin/java: not found
The complete output of the installation process is:
prompt> ./install.sh
Installation Procedure (c) 1999-2009, MathWorks, Inc.
Launching the installer...
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
exec: 2433: /tmp/install.dir.880/Linux/resource/jre/bin/java: not found
An error has occured and some files have not been installed.
Please check free disk space (almost 600MB are required to install all products).
Look at the log file for details.
In case of trouble with the main installer or java,
you can try to relaunch this script with -console.

采纳的回答

MathWorks Support Team
This error occurs because the Polyspace installer is itself a 32-bit binary using 32-bit binaries, which may cause problems on a 64-bit machine. It needs 32-bit libraries installed.
On an Ubuntu 64-bit Linux machine, to work around this issue, install the package "ia32-libs" from your Linux distribution:
apt-get install ia32-libs
Under most Linux releases, the command can be different. On a Red Hat 64-bit Linux machine, this installation can be accomplished by executing the following command in a shell:
yum install glibc-devel.i386
Note that you need to be root to complete these steps.
Please refer to the documentation for your Linux distribution for more information on installing these libraries.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by