View in English

  • Global Nav Open Menu Global Nav Close Menu
  • Apple Developer
Search
Cancel
  • Apple Developer
  • News
  • Discover
  • Design
  • Develop
  • Distribute
  • Support
  • Account
Only search within “”

Quick Links

5 Quick Links
  • Java Support

    Interact with the Java virtual machine.

    • DOCUMENTATION ARTICLE
    • Objective-C
  • NSJavaSetup

    Loads the Java virtual machine with specified parameters.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • NSJavaClassesForBundle

    Loads the Java classes located in the specified bundle.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • Tuning Your Java Code

    Guidelines for improving the performance and efficiency of code.

  • NSJavaClassesFromPath

    Loads the Java classes located at the specified path.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • NSJavaSetupVirtualMachine

    Sets up the Java virtual machine.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • NSJavaNeedsVirtualMachine

    Returns a Boolean value that indicates whether a Java virtual machine is required.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • NSJavaProvidesClasses

    Returns a Boolean value that indicates whether Java classes are provided.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • NSJavaNeedsToLoadClasses

    Returns a Boolean value that indicates whether a virtual machine is needed or if Java classes are provided.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • javaEnabled

    • WebKit JS
    • Navigator
    • javaEnabled

    • DOCUMENTATION
  • Controlling Media with JavaScript

    Explains how to use the HTML 5 audio and video tags to add media to web content.

  • Using the JavaScript Database

    Describes the JavaScript SQL Database and other offline storage technologies, and explains how to write offline-capable web applications.

  • 21:22

    Explore Swift and Java interoperability

    Learn how you can mix Swift and Java in a single codebase. We'll introduce the swift-java interoperability project, which allows you to use Swift in...

    • WWDC25 VIDEO
    • 00:00:56

      like CMake for C or C++ or Gradle for Java projects.

    • 00:01:52

      and call into some code written in Java.

    • 00:01:55

      Or we can focus on making Swift easy and efficient to call from Java instead.

    • 00:01:59

      Swift’s Java interoperability supports both these directions.

    • 00:02:15

      the Java and Swift runtimes.

    • 00:02:20

      of putting Java Interoperability to work.

    • 00:02:28

      an entire Java library accessible to Swift.

    • 00:02:37

      for easy consumption by a Java project.

  • JavaScriptCore

    • JavaScriptCore
    • JavaScriptCore

    Evaluate JavaScript programs from within an app, and support JavaScript scripting of your app.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • isJavaEnabled

    • WebKit
    • isJavaEnabled

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

    • DOCUMENTATION
    • Objective-C
    • Swift
  • javaEnabled

    • WebKit
    • WKPreferences
    • javaEnabled

    A Boolean value that indicates whether Java is enabled.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • NSJavaObjectNamedInPath

    Creates an instance of the named class using the class loader previously specified at the given path.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • javaScript

    • Uniform Type Identifiers
    • UTType
    • javaScript

    A type that represents JavaScript source code.

    • DOCUMENTATION
    • Swift
  • NSJavaDidCreateVirtualMachineNotification

    Notification sent after the Java virtual machine is created.

    • DOCUMENTATION ARTICLE
    • Swift
    • Objective-C
  • WebKitErrorJavaUnavailable

    • WebKit
    • WebKitErrorJavaUnavailable

    • DOCUMENTATION
    • Objective-C
    • Swift
  • isJavaScriptEnabled

    • WebKit
    • isJavaScriptEnabled

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

    • DOCUMENTATION
    • Objective-C
    • Swift
  • javaScriptContext

    • WebKit
    • WebFrame
    • javaScriptContext

    The frame’s global JavaScript execution context.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • javaScriptEnabled

    • WebKit
    • WKPreferences
    • javaScriptEnabled

    A Boolean value that indicates whether JavaScript is enabled.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • NSJavaRoot

    • Bundle Resources
    • Information Property List
    • NSJavaRoot

    The root directory for the app’s Java class files.

    • DOCUMENTATION
    • Objective-C
    • Swift
  • Loading Objective-C Libraries From Java

    Explains how Cocoa applications can dynamically load code during execution.

  • WebKit DOM Programming Topics: About JavaScript and the DOM

    Describes how to use JavaScript in web content and WebKit-based applications.

  • Integrating the Apple Maps Server API into Java server applications

    Streamline your app’s API by moving georelated searches from inside your app to your server.

    • SAMPLE CODE
  • Architecture of Preference Panes

    Explains how to create dynamically loaded plug-ins that provide a graphical interface to user preferences.

  • Adding Source Code and Creating Bindings

    Explains how to use Dashcode to create web applications and Dashboard widgets.

  • About Bonjour

    Explains how to use Apple's zero-configuration networking architecture in Cocoa applications.

  • Dealing with Errors

    Describes elements of best practice when writing code with Objective-C using ARC.

  • The Developer Directory

    Conceptual information and guidelines describing the structure and usage of the Mac OS X file system.

  • Dragging Destinations

    Explains how to implement drag and drop in Cocoa.

  • Document Revision History

    Explains how Cocoa menus and lists work and how to manipulate items within them.

  • Introduction to Porting UNIX/Linux Applications to OS X

    Conceptual information and tips about porting UNIX and Linux applications to OS X.

  • Cocoa Keys

    Describes the keys for a bundle's Info.plist file.

  • Creating Compatible Web Content

    Conceptual information and techniques on creating effective web content for Safari and WebKit using HTML, JavaScript, and CSS.

  • About Objective-C

    Describes elements of best practice when writing code with Objective-C using ARC.

  • What’s New - Swift

    Dive into the latest features and capabilities of the Swift language.

  • Line Fragment Generation

    Explains how the Cocoa text system lays out text on pages.

  • Kernel Programming Style

    Essential information for programming in the OS X kernel. Includes a high-level overview.

  • What's new in Swift - Guides - WWDC25

    Dive into the latest features and capabilities of the Swift language.

  • Supported HTML

    Describes the Hypertext Markup Language (HTML) tags and properties that are supported by Safari and WebKit.

  • String Resources

    Explains how to work with nib and bundle resources in apps.

  • Uniform Type Identifier Concepts

    Describes uniform type identifiers and how to use them.

  • Overview of OS X

    Conceptual information and tips about porting UNIX and Linux applications to OS X.

  • Using the Document Object Model from Objective-C

    Explains how to use the WebKit to embed web content in both Cocoa and Carbon applications.

  • 38:10

    What’s new in Swift

    Join us for an update on Swift. We'll talk about workflow improvements that make you more productive, and new and modernized library APIs for...

    • WWDC25 VIDEO
    • 00:19:59

      Previously built with Java, this service was recently rewritten in Swift,

    • 00:21:50

      In the server ecosystem, many existing applications are written in Java,

    • 00:22:13

      to call Java code and vice versa.

    • 00:22:23

      Java bindings for Swift code can leverage Java’s next-generation

    • 00:22:38

      by watching Explore Swift and Java interoperability.

  • 22:47

    Dive into App Store server APIs for In-App Purchase

    Discover the latest updates for the App Store Server API, App Store Server Notifications, and App Store Server Library to help manage customer...

    • WWDC25 VIDEO
    • 00:14:02

      I'm using Java for this example.

  • 20:08

    What’s new in StoreKit and In-App Purchase

    Learn about the latest StoreKit API enhancements to help you deliver great In-App Purchase experiences to your customers. We'll review new fields...

    • WWDC25 VIDEO
    • 00:14:08

      is available in four languages: Java, Python,

  • 57:53

    Platforms State of the Union

    Discover the newest advancements on Apple platforms.

    • WWDC25 VIDEO
    • 00:38:08

      with packages for interfacing with Java and JavaScript code.

  • 57:53

    Platforms State of the Union (ASL)

    Discover the newest advancements on Apple platforms.

    • WWDC25 VIDEO
    • 00:38:08

      with packages for interfacing with Java and JavaScript code.

  • 32:09

    Explore App Store server APIs for In-App Purchase

    Learn how to leverage your server to build great In-App Purchase experiences with the latest updates to the App Store Server API, App Store Server...

    • WWDC24 VIDEO
    • 00:03:33

      in four languages: Java, Python, Node.js, and Swift.

    • 00:07:02

      I’m using Java in this example, but the library is also available

  • 22:40

    Meet the App Store Server Library

    Discover the App Store Server Library and learn how you can take advantage of resources and configurations for your apps. We'll show you how to set...

    • WWDC23 VIDEO
    • 00:01:49

      Swift, Java, Node, and Python,

    • 00:05:34

      Here is a simple Java project using the Gradle build system.

    • 00:22:06

      Java repository on Github.

  • 21:21

    Rediscover Safari developer features

    Get ready to explore Safari's rich set of tools for web developers and designers. Learn how you can inspect web content, find out about Responsive...

    • WWDC23 VIDEO
    • 00:15:25

      which provides API in Python, Java, PHP, JavaScript, and more.

  • 22:58

    Meet Swift Regex

    • WWDC22 VIDEO
    • 00:02:58

      Swift's regex syntax is compatible with Perl, Python, Ruby, Java,

Developer Footer

  • Search
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • Apple Intelligence
    • App Store
    • Audio & Video
    • Augmented Reality
    • Business
    • Design
    • Distribution
    • Education
    • Fonts
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning & AI
    • Open Source
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Sample Code
    • Tutorials
    • Downloads
    • Forums
    • Videos
    Open Menu Close Menu
    • Support Articles
    • Contact Us
    • Bug Reporting
    • System Status
    Open Menu Close Menu
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles
    • Feedback Assistant
    Open Menu Close Menu
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program
    • Mini Apps Partner Program
    • News Partner Program
    • Video Partner Program
    • Security Bounty Program
    • Security Research Device Program
    Open Menu Close Menu
    • Meet with Apple
    • Apple Developer Centers
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academies
    • WWDC
    Get the Apple Developer app.
    Copyright © 2026 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines