MASES.JNet.Templates 1.4.8

There is a newer version of this package available.
See the version list below for details.
dotnet new install MASES.JNet.Templates::1.4.8
This package contains a .NET Template Package you can call from the shell/command line.

JNet: .NET gateway for JVM APIs


JNet JNet.Templates JNetCLI<br>(version 1.4.8+) JNetReflector<br>(version 1.4.8+)
JNet nuget downloads JNet.Templates nuget downloads JNetCLI nuget downloads JNetReflector nuget downloads

JNet is a .NET gateway for JVM APIs (Java, Scala, Kotlin, ...) to use .NET and JVM side-by-side.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to

Scope of the project

This project aims to create a library to direct access, from .NET, all the features available in the Java Platform, this is the counterpart of JCOReflector.

From version 1.4.8 there is a new project, named JNetReflector (still in development phase), able to build C# gateway classes from JARs containing the JVM classes, exactly the same JCOReflector does for .NET in JVM.

There are many client libraries written to manage communication with Java. Conversely, this project use directly the Java packages giving more than one benefit:

  • all implemented features are availables at no extra implementation costs, see JNet usage;
  • avoids any third party communication protocol implementation;
  • access all features made available from Java platform.

Runtime engine

JNet uses JCOBridge, and its features, to obtain many benefits:

  • Cyber-security:
    • JVM and CLR, or CoreCLR, runs in the same process, but are insulated from each other;
    • JCOBridge does not make any code injection into JVM;
    • JCOBridge does not use any other communication mechanism than JNI;
    • .NET (CLR) inherently inherits the cyber-security levels of running JVM;
  • Direct access the JVM from any .NET application:
    • Any Java/Scala/Kotlin/... class can be directly managed;
    • No need to learn new APIs: we try to expose the same APIs in C# style;
    • No extra validation cycle on protocol and functionality: bug fix, improvements, new features are immediately available;
    • Documentation is shared;
  • Dynamic code: it helps to write a Java/Scala/Kotlin/etc seamless language code directly inside a standard .NET application written in C#/VB.NET: look at this simple example and JNet APIs extensibility.

Have a look at the following resources:


  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.15 212 11/21/2022
1.4.14 152 11/9/2022
1.4.13 133 11/9/2022
1.4.12 182 10/30/2022
1.4.11 169 10/27/2022
1.4.8 235 10/20/2022
1.4.7 214 10/13/2022
1.4.6 284 8/18/2022
1.4.5 238 8/5/2022
1.4.4 312 6/19/2022
1.4.3 260 5/19/2022
1.4.2 234 5/7/2022
1.4.1 245 4/29/2022
1.4.0 271 4/13/2022
1.3.0 256 3/28/2022
1.2.0 224 3/25/2022
1.1.1 220 3/19/2022
1.1.0 220 3/19/2022
1.0.0 222 3/19/2022