Installing javOnet

Prerequisites

Note: Before using javOnet, make sure you have JDK 1.6 or newer and following pre-requisites installed:

For use with .NET Framework 3.5 (supports .NET 3.5 DLLs):
Visual C++ Runtime 2008: x86 or x64 depending on your JDK/JRE architecture.
.NET Framework 3.5: download here

For use with .NET Framework 4.0 (supports .NET 4.0 and 3.5 DLLs):
Visual C++ Runtime 2010: x86 or x64 depending on your JDK/JRE architecture.
.NET Framework 4.0: download here

For use with .NET Framework 4.5 (supports .NET 4.5, 4.0 and 3.5 DLLs):
Visual C++ Runtime 2013: x86 or x64 depending on your JDK/JRE architecture.
.NET Framework 4.5: download here

Adding Javonet Reference

As javOnet is single file solution, all you need to start using it is to download the latest Javonet jar file into your Java project, and add a reference to this file in your build path. Activate method allows you to specify which .NET framework should be loaded. If any of pre-requisites will be missing Javonet will detect them automatically and display in exception message the URLs for download of required dependencies.

How to add the javOnet JAR reference in Eclipse?

  1. Right click on your Java project in “Package Explorer”.
  2. Open Build Path > Configure Build Path, choose “Add JARs.“
  3. Select the Javonet jar file.