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
Gen 8.63
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.