---
title: isJavaEnabled
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpreferences/isjavaenabled
---

# isJavaEnabled

A Boolean that indicates whether or not the web view allows Java.

## Declaration

```swift
var isJavaEnabled: Bool { get set }
```

## Discussion

Discussion Set to true to indicate that the web view allows Java, otherwise false.
