Error when attempt to launch the Gen DTU from the taskbar in Windows 11
search cancel

Error when attempt to launch the Gen DTU from the taskbar in Windows 11

book

Article ID: 369339

calendar_today

Updated On:

Products

Gen - Workstation Toolset Gen Gen - Host Encyclopedia Gen - Run Time Distributed

Issue/Introduction

When attempting to launch the Gen Diagram Trace Utility (DTU) via the taskbar (pinned to taskbar) in Windows 11, it fails with the following message: 

DiagramTrace Error:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run DiagramTrace.  No Java virtual machine was found after searching the following locations:

C:\Program Files (x86)\CA\Gen86\Gen\dt\jre\bin\javaw.exe   

javaw.exe in your current PATH

Environment

Gen 8.63

Resolution

When pinned to taskbar, the DTU executable is invoked instead of the DTU batch file associated with the application launch, unlike when starting the DTU from 'Start Menu'.  For Windows 11, if users want to access the DTU via the taskbar versus the Start Menu (or a Shortcut), users need to modify the system PATH environment variable and append %GEN86JRE%/bin  to the end of it.   In Windows 10, this version of the OS was more forgiving and does not result in the error.