MASES.JNetCLI 2.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global MASES.JNetCLI --version 2.2.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local MASES.JNetCLI --version 2.2.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MASES.JNetCLI&version=2.2.1
                    
nuke :add-package MASES.JNetCLI --version 2.2.1
                    

title: JNet CLI tool of Java/JVM suite for .NET _description: Describes JNet CLI tool: the CLI tool to use Java/JVM classes from any command-line shell

JNet: CLI

Installation

Usage

To use the CLI interface (JNetCLI) runs a command like the following:

  • dotnet tool

jnet -i

  • Docker image

docker run ghcr.io/masesgroup/mases.jnet -i

Command switch available

jnet accepts the following command-line switch:

  • Interactive (i): Activates an interactive shell
  • RunCommand (r): executes the main method of a specific Java class in argument and exit
  • Script (s): Executes the c# script in the file arument
  • JarList (jl): A CSV list of JAR to be used or folders containing the JARs
  • NamespaceList (nl): A CSV list of namespace to be used for interactive shell, JNet namespace are added automatically
  • ImportList (il): A CSV list of import to be used

Plus other switches 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/libjvm.so) if JCOBridge is not able to identify a suitable JRE installation.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2.5.12 148 2/2/2025
2.5.11 131 12/20/2024
2.5.10 123 11/4/2024
2.5.9 136 9/19/2024
2.5.8 82 7/31/2024
2.5.7 78 7/30/2024
2.5.6 101 7/28/2024
2.5.5 149 6/27/2024
2.5.4 123 6/22/2024
2.5.3 145 6/18/2024
2.5.2 107 6/11/2024
2.5.1 154 5/25/2024
2.5.0 145 5/14/2024
2.4.0 215 2/29/2024
2.3.0 217 2/20/2024
2.2.5 230 1/30/2024
2.2.4 227 1/27/2024
2.2.3 212 1/24/2024
2.2.2 205 1/24/2024 2.2.2 is deprecated because it has critical bugs.
2.2.1 208 1/20/2024 2.2.1 is deprecated because it has critical bugs.
2.2.0 208 1/17/2024 2.2.0 is deprecated because it has critical bugs.
2.1.1 221 12/18/2023 2.1.1 is deprecated because it has critical bugs.
2.1.0 258 11/25/2023 2.1.0 is deprecated because it has critical bugs.
2.0.2 296 10/18/2023 2.0.2 is deprecated because it has critical bugs.
2.0.1 240 7/11/2023 2.0.1 is deprecated because it has critical bugs.
2.0.0 225 7/5/2023 2.0.0 is deprecated because it has critical bugs.
1.5.5 234 5/5/2023 1.5.5 is deprecated because it has critical bugs.
1.5.4 242 4/16/2023 1.5.4 is deprecated because it has critical bugs.
1.5.3 265 4/10/2023 1.5.3 is deprecated because it has critical bugs.
1.5.2 270 3/13/2023 1.5.2 is deprecated because it has critical bugs.
1.5.1 287 2/9/2023 1.5.1 is deprecated because it has critical bugs.
1.5.0 312 2/8/2023 1.5.0 is deprecated because it has critical bugs.
1.4.15 374 11/21/2022 1.4.15 is deprecated because it has critical bugs.
1.4.14 388 11/9/2022 1.4.14 is deprecated because it has critical bugs.
1.4.13 376 11/9/2022 1.4.13 is deprecated because it has critical bugs.
1.4.12 408 10/30/2022 1.4.12 is deprecated because it has critical bugs.
1.4.11 415 10/27/2022 1.4.11 is deprecated because it has critical bugs.
1.4.8 472 10/20/2022 1.4.8 is deprecated because it has critical bugs.