ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

AAI upgrade on Windows fails to recognize Java JDK 1.8 or OpenJDK 1.8

book

Article ID: 237088

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

When attempting to upgrade AAI, the upgrade script states "The JAVA_HOME environment variable must point to a 1.8 JDK." and ends without upgrading.


A valid Java JDK or OpenJDK is installed and the JAVA_HOME variable is set, but it is still not being found.

Environment

Release : 6.4.2-1

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

The JAVA_HOME variable had a trailing backslash at the end of the path.

C:\>echo %JAVA_HOME%

C:\Program Files\AdoptOpenJDK\jdk-8.0.282.8-hotspot\

 

Removing the slash from the JAVA_HOME variable will allow the upgrade to run properly.