To obtain method parameters names using java reflection we have to compile the Java class with "-parameters" option, but when I do it from eclipse using VM Arguments, I get the following error in console.
Unrecognized option: -parameters
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I have Java 8 running in my system. What am I missing?