mardi 5 juillet 2016

Using -parameters option in eclipse for reflection

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?





Aucun commentaire:

Enregistrer un commentaire