Codename One VS J2ObjC

Compare Codename One vs J2ObjC and see what are their differences.

Codename One

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web. (by codenameone)

J2ObjC

A Java to iOS Objective-C translation tool and runtime. (by google)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Codename One J2ObjC
88 2
1,646 5,982
1.6% 0.1%
8.5 9.1
7 days ago 2 days ago
Java Java
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Codename One

Posts with mentions or reviews of Codename One. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-05.
  • A list of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev
    47 projects | dev.to | 5 Feb 2024
    codenameone.com — Open source, cross-platform, mobile app development toolchain for Java/Kotlin developers. Free for commercial use with an unlimited number of projects
  • Android Play Billing Needs updating
    2 projects | /r/cn1 | 29 Aug 2023
    This was resolved in this issue: https://github.com/codenameone/CodenameOne/issues/3706
  • Backward Compatibility, Go 1.21, and Go 2
    6 projects | news.ycombinator.com | 14 Aug 2023
    Naturally depends on the use case, yet they work good enough to be in business for 20 years.

    https://www.ptc.com/en/products/developer-tools/perc

    https://www.aicas.com/wp/products-services/jamaicavm-tools/

    https://www.codenameone.com/

    Android 5 & 6 (only changed back into JIT/AOT due to long compile times), https://www.infoq.com/news/2014/07/art-runtime/

    Unfortunely the best well known, Excelsior JET, is no longer in business, most likely due to GraalVM and OpenJ9 being available as free beer, while PTC, Aicas Codename One are safe in their domains.

    There is also RoboVM (https://github.com/MobiVM/robovm) as free beer, however it actually started as a commercial product, and the acquisition from Xamarin kind of stagnated it (naturally).

  • Can't Reproduce a Bug?
    1 project | dev.to | 1 Aug 2023
    At Codename One, we were using App Engine when our daily billing suddenly skyrocketed from a few dollars to hundreds. The potential cost was so high it threatened to bankrupt us within a month. Despite our best efforts, including educated guesses and fixing everything we could, we were never able to pinpoint the specific bug. Instead, we had to solve the problem through brute force.
  • Mobile Apps with Java
    1 project | /r/java | 10 Jul 2023
    We don't use GraalVM since our project was developed prior to its existence and we aimed for deeper native integration than it can offer: https://github.com/codenameone/CodenameOne
  • Developing cross platform mobile application [closed]
    2 projects | /r/codehunter | 10 Jun 2023
    XMLVM, Codename One and iSpectrum (cross compile Java code from an Android app or creating one from scratch
  • Apple Offer Codes
    1 project | /r/cn1 | 6 Jun 2023
    I suggest filing an RFE in the issue tracker.
  • Play Billing Library Version Deprecation
    1 project | /r/cn1 | 5 Jun 2023
    Thanks. It's always good to get another reminder. Yes, it was reported. u/shannah78 is working on this but we have time until November.
  • Problems compilint to android side
    1 project | /r/cn1 | 10 Mar 2023
    please check this issue https://github.com/codenameone/CodenameOne/issues/3686
  • The Holy Grail of Java Performance
    1 project | /r/java | 2 Mar 2023
    We use ParparVM which we wrote. It compiles a subset of Java 8 (sort of) to native by translating the bytecode to C and passing that through XCode. The reason we took this path and not the path of "direct to native", is that it allows for future compatibility.

J2ObjC

Posts with mentions or reviews of J2ObjC. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-09.
  • Java to Objective-C Translator and Runtime
    1 project | news.ycombinator.com | 27 Feb 2024
  • Microsoft begins “Extinguish” phase of dealing with Open Source
    3 projects | news.ycombinator.com | 9 Jul 2022
    >> What is Java's equivalent of Xamarin or Avalonia?

    Xamarin - RoboVM was a Java-based competitor to Xamarin which Xamarin acquired in 2015, but it was shutdown in 2017 after Microsoft acquired Xamarin. There are some Java-based toolkits such as https://www.codenameone.com/ that target mobile, but they are probably not as well funded as Xamarin has been under Microsoft. From what I hear Xamarin will be deprecated and replaced by MAUI.

    Avalonia - Java has had multiplatform windowing for much longer than C# has. The Java Swing toolkit has been part of Java for more than a decade and is still supported in OpenJDK. JavaFX (https://openjfx.io/) is a newer toolkit that was originally part of Java and was later spun out into its own project.

    How well are Xamarin and Avalonia supported if you are doing C# development on Mac or Linux?

    >> How do I run Java on iOS?

    As stated above, some tools such as https://www.codenameone.com/ and https://github.com/google/j2objc that convert Java code to target iOS.

    I have never tried using those tools so I am not sure how good they are.

What are some alternatives?

When comparing Codename One and J2ObjC you can also consider the following projects:

Multi-OS Engine - Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)

LightAdmin - [PoC] Pluggable CRUD UI library for Java web applications

Design Patterns - Design patterns implemented in Java

sitemapgen4j - SitemapGen4j is a library to generate XML sitemaps in Java.

Smooks - Extensible data integration Java framework for building XML and non-XML fragment-based applications

Maven Wrapper - The easiest way to integrate Maven into your project!

CQEngine - Ultra-fast SQL-like queries on Java collections

Modern Java - A Guide to Java 8 - Modern Java - A Guide to Java 8

BoofCV - Fast computer vision library for SFM, calibration, fiducials, tracking, image processing, and more.