j2objc - A Java to iOS Objective-C translation tool and runtime

  •        36

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.




Related Projects

appledoc - Objective-c code Apple style documentation set generator.

  •    Objective-C

appledoc is command line tool that helps Objective-C developers generate Apple-like source code documentation from specially formatted source code comments. It's designed to take as readable source code comments as possible for the input and use comments as well as surrounding source code to generate visually appealing documentation in the form of HTML as well as fully indexed and browsable Xcode documentation set. Although there are several tools that can create HTML documentation for Objective-C, all of those known to me fall short in meeting the minimum of goals described below. Want to keep updated? Follow us on Twitter - @gentlebytes.

Ohcount - The Ohloh source code line counter

  •    C

Ohcount is a library for counting lines of source code. It was originally developed at Ohloh. It supports multiple languages within a single file: for example, a complex HTML document might include regions of both CSS and JavaScript.

Open Subtitle Translator

  •    Java

This program is designed to help teams translating SRT movie subtitle files. It provides an automatic translation done using the translation tool Google Translator. More details and Downloads look at project site http://opensub.sourceforge.net Due to Google changes in Google Translator API that it's not more free and just work as paid service this program is not working more. It's possible implement translation using Microsoft API but i don't have time to do it now. If you want fix this co

googleads-mobile-unity - Official Unity Plugin for the Google Mobile Ads SDK

  •    CSharp

The Google Mobile Ads SDK is the latest generation in Google mobile advertising featuring refined ad formats and streamlined APIs for access to mobile ad networks and advertising solutions. The SDK enables mobile app developers to maximize their monetization in native mobile apps. This repository contains the source code for the Google Mobile Ads Unity plugin. This plugin enables Unity developers to easily serve Google Mobile Ads on Android and iOS apps without having to write Java or Objective-C code. The plugin provides a C# interface for requesting ads that is used by C# scripts in your Unity project.

RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.

  •    C

------------------------------------------ See Help\swigtutorial.html Upgrading from version 3 ------------------------------------------ See 3.x_to_4.x_upgrade.txt Windows users (Visual Studio 2008 and 2010) ----------------------------------------- Load RakNet_VS2008.sln and convert if necessary.After the project conversion, if you encounter error MSB4006,follow the steps below to fix it:1. Open project properties2. Click on "Common Properties"3. Click on "Framework and References"4. Look

gradle-in-action-source - Source code for the Manning book "Gradle in Action"

  •    Java

All source code used in the book is based on Gradle 1.7. Please use the checked-in Wrapper to execute the samples. Please be aware that a later version of Gradle might not be compatible with the source code. Starting with chapter 2, all source code can be run using the Gradle Wrapper which means no runtime will have to be installed. For example to run the "Hello World" build script from chapter 2 open a shell/command prompt and navigate to the directory. You can execute the build script by referencing the Gradle Wrapper command line script and providing the task you would like to run.

Gengetopt - Command Line Argument Parser in C

  •    C

Gengetopt is a tool to generate C code to parse the command line arguments argc and argv that are part of every C or C++ program. The generated code uses the C library function getopt_long to perform the actual command line parsing.

chrome-cli - Control Google Chrome from the command line

  •    Objective-C

chrome-cli is a command line utility for controlling Google Chrome on OS X. It is a native binary that uses the Scripting Bridge to communicate with Chrome.

fanyi - :book: A translate tool in your command line.

  •    Javascript

A translate tool in your command line. Translation data is fetched from iciba.com and fanyi.youdao.com, and only support translation between Chinese and English.

nib2objc - Set of tools and utilities (command line, GUI, Mac Service) to transform NIB files for the iPhone into Objective-C code files

  •    Objective-C

This utility converts NIB files (or XIB ones) into Objective-C code, including all the properties of each instance, the documented constructor calls, and also the view hierarchy. It uses the output of the ibtool utility bundled with the Xcode tools. For more information about ibtool, please check the ibtool man page. The generated code takes into account the real class hierarchies in the UIKit, and it outputs the correct constructors and/or method calls for each object, depending on its class, including the enum values corresponding to the properties using them.

Code Line Counter -- counts CSharp and any other source code format

  •    DotNet

CodeCounter is a command line utility program for counting lines of source code. Currently it supports C#, SQL and XAML. CodeCounter is easily extensible to process other source code types, such as fortran. (see documentation download for details).

WiX Toolset - Windows Installer XML

  •    CSharp

The Windows Installer XML (WiX) is a toolset that builds Windows installation packages from XML source code. The toolset supports a command line environment that developers may integrate into their build processes to build MSI and MSM setup packages.


  •    Java

Java command line option processing library. Uses reflection to automatically create a command line option processor from an annotated java interface, allowing the declarative specification of arguments, and clean access to supplied values. As of version 0.7 The source code is available at https://github.com/lexicalscope/jewelcli Please Note: the maven groupId has changed as of version 0.7, it has changed to com.lexicalscope.jewelcli

JavaNCSS - A Source Measurement Suite for Java

  •    Java

JavaNCSS is a simple command line utility which measures two standard source code metrics for the Java programming language. The Cyclomatic Complexity metrics are collected globally, for each class or for each function. It is also integrated with Ant task. NCSS means Non Commenting Source Statements, Source code except comments will be used for metrics calculation.

Swiss File Knife

  •    C++

Multi function command line tool that belongs onto every usb stick.

BCX Basic to C translator

  •    Basic

BCX (Basic to C Translator) BCX is a small command line tool that inputs a BCX BASIC source code file and outputs a C source code file which can be compiled with many C or C++ compilers.

XCSwiftr - An Xcode Plugin to convert Objective-C to Swift

  •    Objective-C

Convert Objective-C code into Swift from within Xcode. This plugin uses the Java applet of objc2swift to do the conversion. Noticed that the translation is not always accurate? Does it fail at times? Please consider opening an issue in https://github.com/yahoojapan/objc2swift/issues/new.

momdec - Core Data Managed Object Model Decompiler

  •    Objective-C

momdec is a command-line tool for Mac OS X that takes a compiled Core Data model and decompiles it to produce an equivalent xcdatamodel or xcdatamodeld suitable for use in Xcode. The resulting model file can also be used with mogenerator to produce source code files for Core Data entities which have custom subclasses. The first argument is the full path used to locate a compiled managed object model file, and the second is the location where the results should be written. If the second argument is omitted, the current working directory is used. Output files are automatically named based on the inputs.

XLineCounter , source code line counter


XLineCounter is a open source C# program to analyze source code files and count number of source code line. It can count number of source line, comment line and blank line. It support C#.NET 2003/2005,VB.NET2003/2005,VB6.0,Delphi,SharpDevelop1.1.