Table of Contents

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;
            }
        }
    }