1. Basic concepts
JVM is the abbreviation of Java Virtual Machine. JVM is a specification for computing devices. It is a fictitious computer that is implemented by simulating various computer functions on an actual computer.
2. java -help command
Parameters -d32 Use 32-bit data model (if available)-d64 Use 64-bit data model (if available)-server Select “server” The default VM is server.- CP List of directories, JAR archives and ZIP archives separated by ; Used to search for class files. -D Enable verbose output -version Output Product version and exit -version:-Showversion output product version and continue
Jre-RESTRICT-SEARCH | -NO-JRE-RESTRICT-SEARCH warning: This function is out of date and will be deleted in the future release version. Include/exclude user-specific JRE
-? -help in version search Output this help message
-X Output help for non-standard options -ea[:…|:] -enableassertions[:…|:] .
-esa | -enablesystemassertions Enable system assertions Load the native proxy library For example, -AgentLib: hprof, see-agentlib: jdwp = Help and -AGENTLIB: hprof = help
-agentpath: [= & lt; option & gt;] Load the proxy library of this machine
-javaagent: [= & lt; option & gt;] Load java programming language agent, see java.lang.Instrument
##-splash: Use the specified image display screenUsage: java [-options] class [args…]
(execution class)
or java [-options] -jar jarfile [args…]
(execute jar file)
The above is the detailed content of JVM-Getting Started Chapter 1. For more information, please follow other related articles on the PHP Chinese website!