2

I am building C# proxies for Java classes (using proxygen.xml) and my question is: can Jni4Net compile .java files using different JDK than saved in JAVA_HOME variable? Or do I need to change it temporary?

Thanks

alex555
  • 1,676
  • 4
  • 27
  • 45

1 Answers1

0

Jni4Net uses the JAVA_HOME path, so the easiest option in your case is to change it temporarily.

Gedeon
  • 742
  • 9
  • 13
  • 1
    As an addition, on the target pc there is no need to install a JRE for jni4net. You can unzip it on an appropriate place and set `bridgeSetup.JavaHome = yourJrePath` – alex555 Jan 22 '16 at 07:49