IntellIJ IDEA 2017.1 Update JAVA_TOOLS_OPTIONS

Answered

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.

3
6 comments

Remove this environment variable in your system configuration.

0

You can also try disabling this option:

0

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.

Picked up JAVA_TOOL_OPTIONS: -agentpath:"c:\windows\fireeye\javaagentdll_00.dll".

Please advise. Thank you!

0

You have JAVA_TOOL_OPTIONS defined in your system. Delete this variable. Use http://www.rapidee.com/ to find it easily.

0

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.

0

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

0

Please sign in to leave a comment.