{"id":14963563,"url":"https://github.com/dotnet/java-interop","last_synced_at":"2025-05-16T11:06:51.240Z","repository":{"id":14035629,"uuid":"16737979","full_name":"dotnet/java-interop","owner":"dotnet","description":"Java.Interop provides open-source bindings of Java's Java Native Interface (JNI) for use with .NET managed languages such as C#","archived":false,"fork":false,"pushed_at":"2025-05-13T15:23:49.000Z","size":12934,"stargazers_count":227,"open_issues_count":108,"forks_count":58,"subscribers_count":122,"default_branch":"main","last_synced_at":"2025-05-13T16:41:46.799Z","etag":null,"topics":["csharp","dotnet","interop","java","jni"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-02-11T16:58:59.000Z","updated_at":"2025-05-07T22:47:28.000Z","dependencies_parsed_at":"2023-10-03T00:19:56.156Z","dependency_job_id":"efd0fc75-6b08-4c40-a865-19fbaf45cf13","html_url":"https://github.com/dotnet/java-interop","commit_stats":{"total_commits":1331,"total_committers":38,"mean_commits":"35.026315789473685","dds":"0.49661908339594285","last_synced_commit":"9d997232f0ce3ca6a5f788b1cdb0fb9b2f978c84"},"previous_names":["dotnet/java-interop","xamarin/java.interop"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fjava-interop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fjava-interop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fjava-interop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2Fjava-interop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnet","download_url":"https://codeload.github.com/dotnet/java-interop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518383,"owners_count":22084374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","interop","java","jni"],"created_at":"2024-09-24T13:31:47.928Z","updated_at":"2025-05-16T11:06:46.230Z","avatar_url":"https://github.com/dotnet.png","language":"C#","readme":"# Java.Interop\n\n**Java.Interop** is a binding of the [Java Native Interface][jni] for use from\nmanaged languages such as C#, and an associated set of code generators to\nallow Java code to invoke managed code.\n\nThis allows one to bridge code running on .NET's CLR and code running on a Java VM.\n\nNote this does not mean that one can run Java code on .NET, or vice-versa.\n\n**Java.Interop** currently does not ship independently.  It is shipped as part of Microsoft's\n[.NET for Android][android] product, available via Visual Studio or .NET 6+.  However, it is designed\nto be fully independent of Android and should be usable by other Java implementations.\nFor other uses, please compile and distribute from source.\n\nSome additional context for this project is documented in the [Motivation][motivation]\nand [Architecture][architecture] pages.\n\n[jni]: http://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/jniTOC.html\n[motivation]: /Documentation/Motivation.md\n[architecture]: /Documentation/Architecture.md\n[android]: https://github.com/xamarin/xamarin-android\n\n## Building\n\n- The `main` branch is configured to build with .NET 7, available [here][net-7].\n- The [`release/6.0.3xx`][net-6] branch is configured to build with .NET 6.\n\n`Java.Interop.sln` must first run some \"preparatory\" tasks before it can be built:\n\n```console\ndotnet build -t:Prepare\n```\n\nOnce `Java.Interop.sln` has been prepared, it can be built in Visual Studio 2022 or with `dotnet`:\n\n```\ndotnet build\n```\n\n[net-7]: https://dotnet.microsoft.com/en-us/download/dotnet/7.0\n[net-6]: https://github.com/dotnet/java-interop/tree/release/6.0.3xx\n\nAdditional build options are documented [here][build-configuration].\n\n[build-configuration]: /Documentation/BuildConfiguration.md\n\n## Feedback and Contributing\n\nThis project welcomes issues and PRs.\n\n  - File an issue in [GitHub Issues](https://github.com/xamarin/xamarin-android/issues/new/choose).\n  - Discuss development and design on [Discord](https://aka.ms/dotnet-discord). [![Discord](https://img.shields.io/badge/chat-on%20discord-brightgreen)](https://aka.ms/dotnet-discord)\n  - Coding style is outlined in [Coding Guidelines](http://www.mono-project.com/community/contributing/coding-guidelines/).\n\n## License\n\nCopyright (c) .NET Foundation Contributors. All rights reserved.\nLicensed under the [MIT](LICENSE) License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2Fjava-interop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnet%2Fjava-interop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2Fjava-interop/lists"}