IntellIJ IDEA 2017.1 Update JAVA_TOOLS_OPTIONS
已回答
This morning I updated to 2017.1. Now when I run a simple hello world program I see my "Hello World" ouput in the console, but also receive the following statement:
Picked up JAVA_TOOL_OPTIONS: -agentpath:"C:\windows\FireEye\JavaAgentDll_00.dll"
And currently I am unable to debug the main method of my hello world application with the following error:
Picked up JAVA_TOOL_OPTIONS: -agentpath:"C:\windows\FireEye\JavaAgentDll_00.dll"
ERROR: JDWP unable to get necessary JVMTI capabilities.
All of this worked yesterday and this morning before the update.
请先登录再写评论。
Remove this environment variable in your system configuration.
You can also try disabling this option:
Hi,
In my organization, we use IntelliJ IDEA Ultimate Edition (2020.1). While running a Graddle based Java standalone project, I see the below statement even after deselecting "Include parent environment variables". I hereby confirm there is no Environmental Variable by name JAVA_TOOL_OPTIONS.
Please advise. Thank you!
You have JAVA_TOOL_OPTIONS defined in your system. Delete this variable. Use http://www.rapidee.com/ to find it easily.
Thanks for suggesting RapidEE tool. I ran the tool (via Run As Administrator option). Unable to find the environmental variable by name "JAVA_TOOL_OPTIONS". Please advise.
There is probably some third-party tool/service that is injecting libraries/environment variables into processes during startup.
You can use Process Monitor and Process Explorer to trace it down:
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer