Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provider WindowsAttachProvider could not be instantiated #7

Open
LEx66 opened this issue May 29, 2021 · 1 comment
Open

Provider WindowsAttachProvider could not be instantiated #7

LEx66 opened this issue May 29, 2021 · 1 comment

Comments

@LEx66
Copy link

LEx66 commented May 29, 2021

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

@neykov
Copy link
Owner

neykov commented May 30, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants