Java Automatic Agent Configuration Options are not working

Follow the documentation. It's a different Java executable (apm-agent-attach-cli.jar) and configuration is done a bit differently.

Then only apply on your next restart.

Depending on your app/JVM, you need to update the right policy file. Typically, those are only loaded at startup, so it would not affect already running JVMs.