# Uses of Class
java.lang.VirtualMachineError

Packages that use VirtualMachineError
Package
Description
java.lang
Provides classes that are fundamental to the design of the Java programming language.
java.util.zip
Provides classes for reading and writing the standard ZIP and GZIP file formats.

- ## Uses of VirtualMachineError in java.lang

  Subclasses of VirtualMachineError in java.lang
  Modifier and Type
  Class
  Description
  `class`
  `InternalError`
  Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.
  `class`
  `OutOfMemoryError`
  Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
  `class`
  `StackOverflowError`
  Thrown when a stack overflow occurs because an application recurses too deeply.
  `class`
  `UnknownError`
  Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.

- ## Uses of VirtualMachineError in java.util.zip

  Subclasses of VirtualMachineError in java.util.zip
  Modifier and Type
  Class
  Description
  `class`
  `ZipError`
  Deprecated, for removal: This API element is subject to removal in a future version.
  ZipError is no longer used and is obsolete.