J2ObjC

J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java code to be part of an iOS application's build, as no editing of the generated files is necessary.

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
-
No reviews
1like
0comments
0news articles

Features

Suggest and vote on features
No features, maybe you want to suggest one?

 Tags

J2ObjC News & Activities

Highlights All activities

Recent activities

No activities found.

J2ObjC information

  • Developed by

    US flagGoogle
  • Licensing

    Open Source and Free product.
  • Alternatives

    1 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

Popular alternatives

View all
J2ObjC was added to AlternativeTo by Thelle Christensen on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is J2ObjC?

J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java code 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 data access, or application logic) 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 is currently between alpha and beta quality. Several Google projects rely on it, but when new projects first start working with it, they usually find new bugs to be fixed. Apparently every Java developer has a slightly different way of using Java, and the tool hasn't translated all possible paths yet. It's initial version number is 0.5, which hopefully represents its release status correctly.

J2ObjC does not provide any sort of platform-independent UI toolkit, nor are there any plans to do so in the future. iOS UI code needs to be written in Objective-C or Objective-C++ using Apple's iOS SDK (Android UIs using Android's API, web app UIs using GWT, etc.).