Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.19 KB

commandlineswitch.md

File metadata and controls

34 lines (26 loc) · 1.19 KB
title _description
Command-line switch of Java/JVM suite for .NET
Describes the command-line switch of Java/JVM suite for .NET

JNet: Command line switches available

jnet accepts the following command-line switches:

  • LogClassPath: put in command line the switch to output all Jars found

Plus it accepts from:

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 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
        {
            get
            {
                string pathToJVM = "Set here the path to JVM library or use your own search method";
                return pathToJVM;
            }
        }
    }