Software Archive
Read-only legacy content
17061 Discussions

JRE detection in Intel C++ Compiler Pro 11.1

russell66
Beginner
425 Views
We are trying to install both current and legacy versions (11.1, 10.1, and 9.1) of the intel64 version of the C++ compiler suite for Linux along with idbe. When installing 11.1 it fails suggesting that it cannot find a compatible JRE:

Missing optional pre-requisite
-- No compatible Java* Runtime Environment (JRE) found

we have the 64 bit JRE version 1.6.0_23 installed in /opt/java/x64/jre1.6.0_23:
-bash-3.2$ which java
/opt/java/x64/jre1.6.0_23/bin/java
-bash-3.2$ java -version
java version "1.6.0_23"
Java SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot 64-Bit Server VM (build 19.0-b09, mixed mode)

Additionally we have the JAVA_HOME environment variable set:

-bash-3.2$ echo $JAVA_HOME
/opt/java/x64/jre1.6.0_23


how is the installer looking to find the JRE? any other environment variables that should be set?




0 Kudos
1 Reply
Hubert_H_Intel
Employee
425 Views

Don't warry about the installer. The installer does an internal check calling $ java -version and looking for the output string if it meets minimum requirements. It may happen that it doesn't recognize special JRE implementations, or the 11.x installer may not recognize current JREs correctly.But nevertheless, any 11.x or later IDB Debuggerruns with any 1.5 (or later) based JRE (not all JREs are validated though). Version 10.1 Debuggers were command line versions only.

In any case you can continue with the compiler/debugger installation and setup or include the right JRE version later prior to the Debugger GUI start.

The only step you need to do is to export PATH to the right pathof java. No JAVA_HOME etc. required!

For example,
$ export PATH=~/jre1.6.0_20/bin:$PATH
$ java -version
java version "1.6.0_20"
Java SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot Server VM (build 16.3-b01, mixed mode)

Regards, Hubert.

0 Kudos
Reply