-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
C:\Users\yta>klist
Credentials cache C:\Users\yta\krb5cc_yta not found.
C:\Users\yta>C:\Windows\System32\klist
Current LogonId is 0:0x315613
Cached Tickets: (6)
#0> ...
C:\Users\yta>where klist
C:\Program Files\Microsoft\jdk-17.0.8.101-hotspot\bin\klist.exe
C:\Windows\System32\klist.exe
TLDR: The klist.exe
in OpenJDK takes higher priority than the system klist
command.
Desktop (please complete the following information):
OS & version [e.g. Windows 10, 1822]: Windows 10, 22H2
MSFT Build of OpenJDK Version:
The output from java --version
:
openjdk version "17.0.8.1" 2023-08-24 LTS
OpenJDK Runtime Environment Microsoft-8297089 (build 17.0.8.1+1-LTS)
OpenJDK 64-Bit Server VM Microsoft-8297089 (build 17.0.8.1+1-LTS, mixed mode, sharing)
To Reproduce:
Steps to reproduce the behavior:
- Install the MSI with admin rights, default options with add to JAVA_HOME
- Run
klist
- CMD prefers the
klist.exe
in OpenJDK rather thanC:\Windows\System32\klist.exe
Expected behavior
A clear and concise description of what you expected to happen.
The installed klist.exe
should take lower priority than the Windows klist
Screenshots, Logs etc
If applicable, add screenshots, logs to help explain your problem.
Additional context
Add any other context about the problem here.
cwegener