If you use 'java -agent:unknown' you will get the error message: Error occurred during initialization of VM Could not find agent library on the library path or in the local directory: unknown The term 'local directory' is very confusing, the current directory is not searched. I think this 'local directory' is the JDK bin or library directory inside the JDK installation. I think a shorter message would be better: Could not find agent library: unknown
|