Is there some way by which, I can get the list of all supported JVM arguments via some API ?
I am writing a program where i need to merge two files which contain JVM arguments. In existing file i need to put new incoming parameters and also merge the value of parameters on both the sides (preference will be given to already existing value).
So, I want to get a list of all possible JVM arguments which can be present in the file.
I don't want to put a hard coded list as my program will be running across multiple platforms like windows, linux and unix etc. and JVM on each platform can have different list of supported arguments.
So i want to write the program in a way which works across multiple platforms.
Thanks in Advance.