NX qdashboard, java was unexpected at this time

2021-10-06T23:27:28Z
NX for Design

Summary


Details

  ) Unable to run qdashboard.bat.
  ) Output of command shows

%UGII_BASE_DIR%\DESIGN_TOOLS\checkmate\tools\quality_dashboard\qdashboard.bat


========================================================================
Quality Dashboard Report Generator


The application requires NX supported Java version.
========================================================================


\Java\jre1.8.0_141 was unexpected at this time.

  ) The environment variable 
      UGII_JAVA_HOME

    *is* set to an installation of Java, which exceeds the minimum version 1.8.0_45.

  ) However, it is located in a path with spaces, parentheses
      "C:\Program Files (x86)\Java\jre1.8.0_141"



Solution

  ) One solution is to use 8.3 format.
  ) You can use dir /x to determine this
    e.g.
    cd /d C:\
    dir /x
    dir /x C:\PROGRA~2
    dir /x C:\PROGRA~2\JAVA
    set UGII_JAVA_HOME=C:\PROGRA~2\JAVA\JRE18~1.0_1
   
   
  ) Afterwards, qdashboard ran successfully.

C:\>%UGII_BASE_DIR%\DESIGN_TOOLS\checkmate\tools\quality_dashboard\qdashboard.bat


========================================================================
Quality Dashboard Report Generator


The application requires NX supported Java version.
========================================================================


set JAVA_HOME=c:\PROGRA~2\JAVA\JRE18~1.0_1
Java version is 1.8.0_141
This meets or exceeds the minimum required version of 1.8.0_45


QDASH points to D:\apps\share\nx\nx12\\design_tools\checkmate\tools\quality_dashboard


Quality Dashboard is loading...


Run Quality Dashboard with Teamcenter setting...






Hardware/Software Configuration

Platform: na
OS: n/a
OS Version: n/a
Product: NX
Application: KDA
Version: V12.0.2
Function: VALIDATION

Ref: 002-8015594

KB Article ID# PL8015594

Contents

SummaryDetails

Associated Components

Modeling