SkillAgentSearch skills...

JNetCall

Java VM .NET Call abstraction

Install / Use

/learn @xafero/JNetCall
About this skill

Quality Score

0/100

Supported Platforms

Universal

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).

Related Skills

View on GitHub
GitHub Stars49
CategoryDevelopment
Updated8mo ago
Forks8

Languages

C#

Security Score

87/100

Audited on Jul 20, 2025

No findings