Jump to content
Tuts 4 You
Sign in to follow this  
CodeExplorer

Looking for all JavaVMOption opt

Recommended Posts

CodeExplorer

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.
 

Share this post


Link to post
kao

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.

 

  • Like 1
  • Thanks 1

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...