Home > Java > JavaBase > body text

JVM-Getting Started Chapter 1

夜空
Release: 2020-07-27 11:26:25
Original
187 people have browsed it

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

JVM-Getting Started Chapter 1

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:                                                                                                                                                           to be removed in a future release. The specified version is required to run

-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 screen

Usage: 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!

Related labels:
1
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template