GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Guides
  • Reference
  • Support
  • Why Use J2ObjC?
  • Getting Started
  • Building J2ObjC
  • Using J2ObjC with Xcode
  • External Build Projects
  • Xcode Build Rules
  • The JreEmulation Project
  • Using J2ObjC with Make
  • Eclipse Plugin
  • Gradle Plugin
  • Maven Plugin

This view

  • Original page
  • New address

GeezerVison is showing developers.google.com — J2ObjC | Google for Developers

Stay organized with collections Save and categorize content based on your preferences.

What J2ObjC is

J2ObjC is an open-source command-line tool from Google that translates Java source code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java source to be part of an iOS application's build, as no editing of the generated files is necessary. The goal is to write an app's non-UI code (such as application logic and data models) in Java, which is then shared by web apps (using J2CL), Android apps, and iOS apps.

Get Started

J2ObjC supports most Java language and runtime features required by client-side application developers, including exceptions, inner and anonymous classes, generic types, threads and reflection. JUnit test translation and execution is also supported.

What J2ObjC isn't

J2ObjC does not provide any sort of platform-independent UI toolkit, nor are there any plans to do so in the future. We believe that iOS UI code needs to be written in Objective-C, Objective-C++ or Swift using Apple's iOS SDK.

J2ObjC cannot convert Android binary applications. Developers must have source code for their Android app, which they either own or are licensed to use.

Requirements

  • Mac workstation or laptop
  • Mac OS X 15 or higher
  • Xcode 16 or higher
  • JDK 21 or higher

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-03 UTC.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.