MASES.JNet 1.5.2

.NET 6.0 .NET Framework 4.6.2
dotnet add package MASES.JNet --version 1.5.2
NuGet\Install-Package MASES.JNet -Version 1.5.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MASES.JNet" Version="1.5.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MASES.JNet --version 1.5.2
#r "nuget: MASES.JNet, 1.5.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MASES.JNet as a Cake Addin
#addin nuget:?package=MASES.JNet&version=1.5.2

// Install MASES.JNet as a Cake Tool
#tool nuget:?package=MASES.JNet&version=1.5.2

JNet usage

To use JNet classes the developer can write code in .NET using the same classes available in the official Java packages. If classes or methods are not available yet it is possible to use the approach synthetized in What to do if an API was not yet implemented

Environment setup

JNet accepts many command-line switches to customize its behavior. The full list is available at Command line switch page.

JVM identification

One of the most important command-line switch is JVMPath and it is available in JCOBridge switches: it can be used to set-up the location of the JVM library (jvm.dll/ if JCOBridge is not able to identify a suitable JRE installation. If a developer is using KNet within its own product it is possible to override the JVMPath property with a snippet like the following one:

    class MyJNetCore : JNetCore
        public override string JVMPath
                string pathToJVM = "Set here the path to JVM library or use your own search method";
                return pathToJVM;
Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Framework net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MASES.JNet:

Package Downloads

KNet - .NET gateway for Apache Kafka APIs


JNetPSCore - PowerShell base library for JNet

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.2 63,755 3/13/2023
1.5.1 54,456 2/9/2023
1.5.0 206 2/8/2023
1.4.15 143,036 11/21/2022
1.4.14 680 11/9/2022
1.4.13 307 11/9/2022
1.4.12 19,093 10/30/2022
1.4.11 421 10/27/2022
1.4.8 18,792 10/20/2022
1.4.7 404 10/13/2022
1.4.6 234,976 8/18/2022
1.4.5 413 8/5/2022
1.4.4 485 6/19/2022
1.4.3 33,714 5/19/2022
1.4.2 656 5/7/2022
1.4.1 492 4/29/2022
1.4.0 306 4/13/2022
1.3.0 4,741 3/28/2022
1.2.0 280 3/25/2022
1.1.1 523 3/19/2022
1.1.0 284 3/19/2022
1.0.0 286 3/19/2022