-
-
January 15, 2019 at 6:10 pm
grybka
SubscriberI am trying to install ANSYS on CentOS 7.5 in a Docker container. When I click Install Electromagnetic Suite, I get the attached error below "This application require a Java Run Time Environment (JRE) to run. Searching for one on your computer was not successful. Please use the command line switch -is:javahome to specify a valid JRE
To locate my version of java, I used update-alternatives --config java. The command returned the following:
There is 1 program that provides 'java'.
 Selection   Command
*+ 1Â Â Â Â Â Â Â Â Â Â java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/bin/java)
The install help command says that I should pass the directory containing bin/java as the argument.
So I ran ./install -is:javahome /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre/
But I get the same error message, where the installation can't find my java installation.
How can I successfully install ANSYS on CentOs?
-
January 15, 2019 at 11:52 pm
grybka
SubscriberHere are the error messages I get on the terminal when I click Install Electromagnetic Suite
/home/developer/Electronics_192_linx64/Linux/AnsysEM/disk1/setup.exe.IShield: line 158: bc: command not found
/home/developer/Electronics_192_linx64/Linux/AnsysEM/disk1/setup.exe.IShield: line 1375: [: : integer expression expected -
January 16, 2019 at 12:37 am
grybka
Subscriber Well, it turns out the problem was the bc isn't installed in the base CentOS docker container. After installing bc (yum install -y bc), the installation moves forward.
-
January 16, 2019 at 1:17 am
tsiriaks
Ansys EmployeeHi grybka,
Thanks for the update and resolution.
If you haven't already done so, I would recommend to just install the full RedHat LSB package (yum install redhat-lsb) as you might come across other issues in the future.
Thanks,
Win
-
March 31, 2020 at 5:00 pm
chenniu
SubscriberHi,Â
I have the similar issue. I have installed java and redhat-lsb and used -is:javahome and -is:log. Here is my log output. Please help thanks.
Log file created by MultiPlatform installer @Tue Mar 31 12:49:56 EDT 2020
INSTALLER_PATH=/home/chenniu/Shared/Electronics_201_linx64/Linux/AnsysEM/disk1/setup.exe.IShield
running inner launcher=/tmp/ans_tempdir_4131/istemp4145091124956/setup.exe.embedded -is
rig /home/chenniu/Shared/Electronics_201_linx64/Linux/AnsysEM/disk1 -is:javahome /usr/lib/jvm/java/jre/ -is:log /home/chenniu/Shared/log.txt -is:tempdir /tmp/ans_tempdir_4131
Log file created by MultiPlatform installer @Tue Mar 31 12:49:57 EDT 2020
INSTALLER_PATH=/tmp/ans_tempdir_4131/istemp4145091124956/setup.exe.embedded
command line switch -is:javahome is specified. Verifying the JVM with the JVM files specifed with the launcher.
JVM specified with -is:javahome cannot be verified with the JVM files specified with the launcher. Environment Variables will be checked next...
Checking the environment variables specifed in the JVM files to find the JVM...
No JVM can be found using the shell environment variable. Searching JVM will continue with Path Hints specified in the JVM Files...
jvm files not specified. Searching a JVM can not be performed.
Extracting bundled JRE...
checking disk space on the parition /tmp/ans_tempdir_4131/istemp4145091124957 for /tmp/ans_tempdir_4131/istemp4145091124957/jre-1_5_0_01-linux64.bin
49182 512 bytes disk blocks required.
66505240 512 bytes disk blocks available on the partition /tmp/ans_tempdir_4131/istemp4145091124957
Disk space check on the parition /tmp/ans_tempdir_4131/istemp4145091124957 succeeded.
checking disk space on the parition /tmp/ans_tempdir_4131/istemp4145091124957 for /tmp/ans_tempdir_4131/istemp4145091124957/jre-1_5_0_01-linux64.bin
137325 512 bytes disk blocks required.
66455912 512 bytes disk blocks available on the partition /tmp/ans_tempdir_4131/istemp4145091124957
Disk space check on the parition /tmp/ans_tempdir_4131/istemp4145091124957 succeeded.
installing bundled JRE...
Verifying... /tmp/ans_tempdir_4131/istemp4145091124957/_bundledJRE_/bin/java -cp /tmp/ans_tempdir_4131/istemp4145091124957/Verify.jar Verify java.vendor java.version
Verification failed for /tmp/ans_tempdir_4131/istemp4145091124957/_bundledJRE_ using the JVM file /tmp/ans_tempdir_4131/istemp4145091124957/_bundledJRE_/jvm
-
April 1, 2020 at 12:58 am
tsiriaks
Ansys Employeewhat is the output of
cat /etc/*release
andÂ
env
-
April 1, 2020 at 3:27 am
chenniu
SubscriberThanks for the respond. It was CentOS8, I reinstalled on CentOS7 and it seems to work.Â
-
April 6, 2020 at 9:24 pm
tsiriaks
Ansys Employeesounds good. Thanks for the update. Yes, CentOS/RH 8 is still not supported even by current ANSYS version (2020 R1)
-
March 28, 2023 at 1:44 pm
wastl
SubscriberTrying to install Ansys Electronics RSM:
cat /etc/*release
NAME="Red Hat Enterprise Linux"
VERSION="8.7 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.7 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
Â
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.7
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.7"
Red Hat Enterprise Linux release 8.7 (Ootpa)
Red Hat Enterprise Linux release 8.7 (Ootpa)
- -
sudo ./setup.exe.install -is:javahome /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-2.el8_7.x86_64/jre/bin/java -is:log ~/rsm.log
- -Â
rsm.log:
Log file created by MultiPlatform installer @Di Mär 28 15:36:29 CEST 2023
INSTALLER_PATH=/mnt/ANSYS/lnx/en/v23.R1/Electronics/Linux/RSM/disk1/./setup.exe.install
command line switch -is:javahome is specified. Verifying the JVM with the JVM files specifed with the launcher.
JVM specified with -is:javahome cannot be verified with the JVM files specified with the launcher. Environment Variables will be checked next...
Checking the environment variables specifed in the JVM files to find the JVM...
No JVM can be found using the shell environment variable. Searching JVM will continue with Path Hints specified in the JVM Files...
jvm files not specified. Searching a JVM can not be performed.
Extracting bundled JRE...
checking disk space on the parition /tmp/istemp190257087153629 for /tmp/istemp190257087153629/jre-1_5_0_21-linux64.bin
50865 512 bytes disk blocks required.
1151531776 512 bytes disk blocks available on the partition /tmp/istemp190257087153629
Disk space check on the parition /tmp/istemp190257087153629 succeeded.
checking disk space on the parition /tmp/istemp190257087153629 for /tmp/istemp190257087153629/jre-1_5_0_21-linux64.bin
138617 512 bytes disk blocks required.
1151481400 512 bytes disk blocks available on the partition /tmp/istemp190257087153629
Â
Â
Disk space check on the parition /tmp/istemp190257087153629 succeeded.
installing bundled JRE...
Verifying... /tmp/istemp190257087153629/_bundledJRE_/bin/java -cp /tmp/istemp190257087153629/Verify.jar Verify java.vendor java.version
Verification failed for /tmp/istemp190257087153629/_bundledJRE_ using the JVM file /tmp/istemp190257087153629/_bundledJRE_/jvm
-
March 28, 2023 at 2:45 pm
wastl
Subscriberlooks like you have to installÂ
libnsl
-
- The topic ‘installation can’t find java on CentOs 7’ is closed to new replies.
-
3190
-
1024
-
962
-
858
-
798
© 2025 Copyright ANSYS, Inc. All rights reserved.