extract-tls-secrets icon indicating copy to clipboard operation
extract-tls-secrets copied to clipboard

Provider WindowsAttachProvider could not be instantiated

Open LEx66 opened this issue 4 years ago • 1 comments

JAVA_HOME C:\Program Files\Java\jdk1.8.0_281 I get this error when trying to list available process IDs

java -jar extract-tls-secrets-4.0.0.jar list java.util.ServiceConfigurationError: com.sun.tools.attach.spi.AttachProvider: Provider sun.tools.attach.WindowsAttachProvider could not be instantiated

LEx66 avatar May 29 '21 17:05 LEx66

@LEx66 thanks for reporting, I was able to reproduce the problem. I'll be working on a fix. In the mean time you can work around it in a couple of ways:

  • Set the path to the java executable to be C:\Program Files\Java\jdk1.8.0_281\jre\bin
  • Alternatively list the processes with java -Djava.library.path="C:\Program Files\Java\jdk1.8.0_281\jre\bin" -jar extract-tls-secrets-4.0.0.jar list

neykov avatar May 30 '21 19:05 neykov