CodeExplorer Posted February 22, 2018 Posted February 22, 2018 Looking for all JavaVMOption opt; What I have so far: public static string GetDescriptionFromComand(string command) { if (command.Equals("-Djava.compiler=NONE")) return "disable JIT"; if (command.StartsWith("-Djava.class.path=")) return "user classes"; if (command.StartsWith("-Djava.library.path=")) return "set native library path"; if (command.Equals("-verbose:jni")) return "print JNI-related messages"; return ""; } Any help will be great, also searched with google but no good result.
kao Posted February 23, 2018 Posted February 23, 2018 Standard options: https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.lnx.80.doc/user/standard_options.html They should be pretty much the same for all Java editions. "-D" is option for setting Java system properties. This explains how to list them: https://stackoverflow.com/questions/26459904/reading-java-system-properties-from-command-line "-X" are options specific to Java implementation (MS/Sun/Oracle/IBM/whatever), so they are implementation-specific. 1 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now