Issues with Java version upgrade from 1.8.0_291 to 1.8.0_301 on DevTest Windows servers
search cancel

Issues with Java version upgrade from 1.8.0_291 to 1.8.0_301 on DevTest Windows servers

book

Article ID: 227619

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

I am trying to fix Java vulnerability on DevTest Windows servers and observed issues when I upgrade Java version from 1.8.0_291 to 1.8.0_301. DevTest services are not starting as expected, please see below for more details

 

D:\apps\java\jdk7\bin\java.exe

 

C:\>java -version

java version "1.8.0_301"

Java(TM) SE Runtime Environment (build 1.8.0_301-b25)

Java HotSpot(TM) Client VM (build 25.301-b25, mixed mode)

 

The DevTest Identity Access Manager Service terminated unexpectedly.  It has done this 4 time(s).

We tried to Start IAM  and got this message. 

D:\apps\DevTest\IdentityAccessManager\bin>IdentityAccessManager.exe
The JDK_HOME environment variable does not
point to a working 64-bit JDK or JRE.
The JVM found at JDK_HOME is damaged.
Please reinstall or define EXE4J_JAVA_HOME
to point to an installed 64-bit JDK or JRE.
The JVM could not be started. The maximum heap size (-Xmx) might be too large or an antivirus or firewall tool
 could block the execution.

Environment

Release : 10.7 or newer

Component :

Cause

 

Cause: The version of java installed is 32 bit version . We confirmed this using the below commands

D:\apps\DevTest\IdentityAccessManager\bin>java -d64 -version
Error: This Java instance does not support a 64-bit JVM.
Please install the desired version.


D:\apps\DevTest\IdentityAccessManager\bin>java -d32 -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b25)
Java HotSpot(TM) Client VM (build 25.301-b25, mixed mode)
D:\apps\DevTest\IdentityAccessManager\bin>

Resolution

Install the 64 bit Jdk   for   java "1.8.0_301"