com.sun.jdi.event

## Interface VMStartEvent

- All Superinterfaces:
    Event, Mirror

      @Exported
      public interface VMStartEvent
      extends Event

  Notification of initialization of a target VM. This event is received before the main thread is started and before any application code has been executed. Before this event occurs a significant amount of system code has executed and a number of system classes have been loaded. This event is always generated by the target VM, even if not explicitly requested.
  Since:
    1.3
  See Also:
    `VMDeathEvent`, `EventQueue`, `VirtualMachine`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ThreadReference` | `thread()` | Returns the initial thread of the VM which has started.

    - ### Methods inherited from interface com.sun.jdi.event.Event

      `request`

    - ### Methods inherited from interface com.sun.jdi.Mirror

      `toString, virtualMachine`

- - ### Method Detail

    - #### thread

          ThreadReference thread()

      Returns the initial thread of the VM which has started.
      Returns:
        a `ThreadReference` which mirrors the event's thread in the target VM.

Copyright © 1999, 2026, Oracle and/or its affiliates. All rights reserved.