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 GWT), Android apps, and iOS apps. 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. J2ObjC cannot convert Android binary applications. Developers must have source code for their Android app, which they either own or are licensed to use.

Features

  • Enables Java source to be part of an iOS application's build
  • Write an app's non-UI code in Java
  • J2ObjC supports most Java language and runtime features
  • J2ObjC is currently beta quality
  • JUnit test translation and execution is also supported
  • Requires JDK 1.8 or JDK 11

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow J2ObjC

J2ObjC Web Site

Other Useful Business Software
Deploy Apps in Seconds with Cloud Run Icon
Deploy Apps in Seconds with Cloud Run

Host and run your applications without the need to manage infrastructure. Scales up from and down to zero automatically.

Cloud Run is the fastest way to deploy containerized apps. Push your code in Go, Python, Node.js, Java, or any language and Cloud Run builds and deploys it automatically. Get fast autoscaling, pay only when your code runs, and skip the infrastructure headaches. Two million requests free per month. And new customers get $300 in free credit.
Try Cloud Run Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of J2ObjC!

Additional Project Details

Operating Systems

Android, Apple iPhone, Mac

Programming Language

Java

Related Categories

Java Interface Engines, Java Mobile Software, Java Command Line Tools, Java Runtimes

Registered

2021-09-22