# GetJavaVM()

> Returns the pointer to JavaVM.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public static nint GetJavaVM()
```

### Returns

| Type                                                           | Description                |
| -------------------------------------------------------------- | -------------------------- |
| [IntPtr](https://learn.microsoft.com/dotnet/api/system.intptr) | The pointer to the JavaVM. |
