https://github.com/xafero/jnetcall
Java VM .NET Call abstraction
https://github.com/xafero/jnetcall
csharp java jvm netcore
Last synced: 8 months ago
JSON representation
Java VM .NET Call abstraction
- Host: GitHub
- URL: https://github.com/xafero/jnetcall
- Owner: xafero
- License: agpl-3.0
- Created: 2022-05-15T17:18:12.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T16:39:49.000Z (over 3 years ago)
- Last Synced: 2025-04-16T01:17:10.428Z (about 1 year ago)
- Topics: csharp, java, jvm, netcore
- Language: C#
- Homepage:
- Size: 468 KB
- Stars: 47
- Watchers: 2
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JNetCall
Java VM .NET Call abstraction
## History
In the past there was atleast one solution for .NET Framework 4.5+ and Java 8 for reusing software libraries written in Java.
But now I needed the ability to call current Java 18 code from C# 10 on .NET 6, so I created this project here.
## Summary
* Call Java from C#
(see NET/Alienator.Sharp/Program.cs)
(StdIO or InProcess)
* Call C# from Java
(see JVM/alienator-java/src/main/java/org/example/Main.java)
(StdIO or InProcess)
## How to build
If you are on Microsoft Windows, use "build.bat",
otherwise "build.sh".
## Environments tested
* OpenJDK 18 and .NET 6 on Ubuntu 22.04
* Oracle's JDK 18 and .NET 6 on Windows 11
* Temurin's JDK 18 and .NET 6 on MacOS 12.3
* OpenJDK 18 and .NET 6 on FreeBSD 13.1
## License
Everything is licensed under GNU Affero General Public License (AGPL).