[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4340":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},4340,"j2objc","google\u002Fj2objc","google","A Java to iOS Objective-C translation tool and runtime.","http:\u002F\u002Fj2objc.org",null,"Java",6042,998,278,67,0,3,6,1,67.1,"Apache License 2.0",false,"master",true,[],"2026-06-12 04:00:22","# J2ObjC: Java to Objective-C Translator and Runtime #\n\n**Project site:** \u003Chttps:\u002F\u002Fj2objc.org>\u003Cbr>\n**J2ObjC blog:** \u003Chttps:\u002F\u002Fj2objc.blogspot.com>\u003Cbr>\n**Questions and discussion:** \u003Chttps:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fj2objc-discuss>\n\n### What J2ObjC Is ###\nJ2ObjC is an open-source command-line tool from Google that translates\nJava source code to Objective-C for the iOS (iPhone\u002FiPad) platform. This tool\nenables Java source to be part of an iOS application's build, as no editing\nof the generated files is necessary. The goal is to write an app's non-UI\ncode (such as application logic and data models) in Java, which is then\nshared by web apps (using [GWT](http:\u002F\u002Fwww.gwtproject.org\u002F)), Android apps,\nand iOS apps.\n\nJ2ObjC supports most Java language and runtime features required by\nclient-side application developers, including exceptions, inner and\nanonymous classes, generic types, threads and reflection. JUnit test\ntranslation and execution is also supported.\n\nJ2ObjC is currently beta quality. Several Google projects rely on it, but\nwhen new projects first start working with it, they usually find new bugs\nto be fixed. If you run into issues with your project, please report them!\n\n### What J2ObjC isn't ###\nJ2ObjC does not provide any sort of platform-independent UI toolkit, nor are\nthere any plans to do so in the future. We believe that iOS UI code needs to\nbe written in Objective-C, Objective-C++ or Swift using Apple's iOS SDK (Android\nUIs using Android's API, web app UIs using GWT, etc.).\n\nJ2ObjC cannot convert Android binary applications. Developers must have source\ncode for their Android app, which they either own or are licensed to use.\n\n## Requirements ##\n\n* JDK 21\n* Mac workstation or laptop\n* OS X 15.6.1 or higher\n* Xcode 16.3 or higher\n\n## License ##\n\nThis library is distributed under the Apache 2.0 license found in the\n[LICENSE](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fj2objc\u002Fblob\u002Fmaster\u002FLICENSE) file.\nThe protocol buffers library is distributed under the same BSD license as\nGoogle's protocol buffers. See its\n[README](https:\u002F\u002Fgithub.com\u002Fprotocolbuffers\u002Fprotobuf\u002Fblob\u002Fmaster\u002FREADME.md) and\n[LICENSE](https:\u002F\u002Fgithub.com\u002Fprotocolbuffers\u002Fprotobuf\u002Fblob\u002Fmaster\u002FLICENSE).\n\n## Running on GNU\u002FLinux ##\n\nTo build and run on GNU\u002FLinux, install [the Darling project](http:\u002F\u002Fwww.darlinghq.org\u002F), then following [its Compile and Run a Program example](https:\u002F\u002Fwiki.darlinghq.org\u002Fwhat_to_try#compile_and_run_a_program). Please note that j2objc is only supported on iOS\u002FmacOS.\n\n## Artifact Signatures ##\n\nThis project publishes some artifacts through Maven Central with a `groupId` of `com.google.j2objc`.\nThese artifacts are currently signed with [the following PGP\u002FGPG key]\n(https:\u002F\u002Fkeyserver.ubuntu.com\u002Fpks\u002Flookup?op=get&search=0xC3259D20DAEC4ACE6D57CC83340B090F727518D8):\n\n```\n---------\npub   ed25519 2025-08-13 [SC] [expires: 2028-08-12]\n      C3259D20DAEC4ACE6D57CC83340B090F727518D8\nuid           [ultimate] Thomas Ball \u003Ctball@google.com>\nsub   cv25519 2025-08-13 [E] [expires: 2028-08-12]\n```\n\nOlder artifacts are signed with the following PGP\u002FGPG keys:\n\n```\npub   rsa2048 2023-01-10 [SC] [expires: 2025-01-09]\n      EB1B3DE71713C9EC2E87CC26EE92349AD86DE446\nuid           [ unknown] Thomas Ball \u003Ctball@google.com>\nsub   rsa2048 2023-01-10 [E] [expires: 2025-01-09]\n```\n\n```\npub   rsa2048 2015-09-25 [SC]\n      B801E2F8EF035068EC1139CC29579F18FA8FD93B\nuid           [ unknown] Tom Ball \u003Ctball724@gmail.com>\nsub   rsa2048 2015-09-25 [E]\n```\n","J2ObjC 是一个由 Google 开发的开源命令行工具，用于将 Java 源代码转换为适用于 iOS 平台的 Objective-C 代码。其核心功能包括支持 Java 语言及运行时特性如异常处理、内部类与匿名类、泛型类型、线程和反射等，并且能够翻译 JUnit 测试用例。J2ObjC 主要适用于希望在 iOS 应用中复用非 UI 逻辑（例如应用逻辑和数据模型）的开发者，这些逻辑可以同时被 Web 应用、Android 应用以及 iOS 应用共享。需要注意的是，J2ObjC 不提供跨平台的 UI 工具包，iOS 的用户界面部分仍需使用原生技术开发。此项目目前处于 beta 阶段，在实际使用过程中可能会遇到一些待解决的问题。",2,"2026-06-11 02:59:43","top_language"]