Interpreter -java.exe

Source: Internet
Author: User
Interpreter -java.exe -- Linux general technology-Linux programming and kernel information. The following is a detailed description. The Java interpreter can directly explain and execute Java byte code. The specific command line format is as follows:

C: \> java options className arguments
ClassName must include information about all software packages. Not only the class name itself, but also the class name expected by the Java interpreter (not the file name of the Java Byte Code ), all classes running in the interpreter environment must include the main member functions required by the interpreter for the first call to pass the variables included in the command.

Public static void main (string args [])
{
......
}
All the options of the following Java interpreter.

Option
-Cs-checksource: This option allows the interpreter to recompile the updated class of the Java source file-recompile the changed class.
-Classpath path this option overrides the CLASSPATH environment variable to tell Java where to find the class library. If they are separated by colons, they may contain multiple directories.
-Mx x: This option sets the maximum value of the memory allocation pool. The specified pool must be greater than 1,000 bytes. In addition, "K" and "M" can be attached to a number to specify whether it is a kilobytes or megabytes. The default value is 16 MB.
-Ms x this option sets the minimum value of the memory allocation pool. The specified silence pool must be greater than 1,000 bytes. In addition, "K" and "M" can be used to specify the number in kilobytes or megabytes. The default value is 1 MB.
-Noasyncgc: This option disables asynchronous useless Unit collection. Useless Unit collection is activated only when it is called in a program or memory overflow.
-Ss x this option sets the maximum value of the C thread stack to x, and x must be greater than 1 kb. The setting method is the same as-ms.
-Oss x this option sets the maximum Java stack value to x.
-V,-verbose this option tells Java to output information to the standard device whenever the class is called.
-Verify this option tells Java to use verification on all code.
-Verifyremote indicates that Java only verifies the classes loaded by the class loader.
-Noverify this option informs Java that verification is not performed.
-Verbosegc this option tells Java to display a message when useless unit collectors release the memory.
-T this option is available in the Java-g interpreter and the execution is printed one by one.
-Debug: This option allows the Java debugger to be connected to the Java interpreter session. When it is running, Java will display a password to start this debugging session.
-D propName = newVal This option allows you to change the attribute value at runtime.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.