>

Javonet for .NET developers allows to access any Java packages from .NET C# or VB.NET applications. To start using Javonet in your .NET application you need to activate your license first. Your license can be activate in your code using the static Activate method:

Activating from Code

Example:

static void Main(string[] args)
{ 
	Javonet.Activate("your@mail.com", "your-license-key", @"C:\Program Files (x86)\Java\jdk1.8.0_144");
	//Todo: Your Javonet powered application code 
}

To use Javonet you need the license key. You can obtain the license key by subscribing for Javonet subscription at or by signing up for 30 days free trial at https://my.javonet.com.

Next you call the Javonet.Activate(…) method passing as arguments your mail, license key and path to your Java runtime JRE or Java development kit (JDK).

Once activated you can continue to Add Reference to first java JAR package that you will use from your .NET code.

Download this article