Reputation: 454
I have a java application packaged in a jar that I am trying to run on a Windows 10 workstation. I am running the application using the command line:
C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot\bin\java.exe -jar app.jar
Inside the application I check to see what flags have been passed in to the Java process using the MXBean:
RuntimeMXBean mxbean = ManagementFactory.getRuntimeMXBean();
List args = mxbean.getInputArguments();
I have been surprised to see this in the list of JVM arguments:
-agentpath:C:\Program Files\SentinelOne\Sentinel Agent 22.3.4.612\SentinelJava64.dll
How is it possible that this argument was added automatically? Does it come from a property file somewhere?
And is it possible to disable this agent from being added? Is there a way to suppress the defaults?
Upvotes: 2
Views: 1432