MASES.JNet 1.4.15

.NET 6.0 .NET Core 3.1 .NET Framework 4.6.2
dotnet add package MASES.JNet --version 1.4.15
NuGet\Install-Package MASES.JNet -Version 1.4.15
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.4.15" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MASES.JNet --version 1.4.15
#r "nuget: MASES.JNet, 1.4.15"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.4.15

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

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 net5.0 net5.0-windows 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 Core netcoreapp3.1
.NET Framework net462 net463 net47 net471 net472 net48
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.4.15 66,507 11/21/2022
1.4.14 211 11/9/2022
1.4.13 99 11/9/2022
1.4.12 18,784 10/30/2022
1.4.11 227 10/27/2022
1.4.8 18,565 10/20/2022
1.4.7 225 10/13/2022
1.4.6 234,408 8/18/2022
1.4.5 240 8/5/2022
1.4.4 314 6/19/2022
1.4.3 33,453 5/19/2022
1.4.2 425 5/7/2022
1.4.1 309 4/29/2022
1.4.0 189 4/13/2022
1.3.0 4,534 3/28/2022
1.2.0 164 3/25/2022
1.1.1 310 3/19/2022
1.1.0 167 3/19/2022
1.0.0 171 3/19/2022