Ticket #102 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Java API does not build against JNI headers for installed JDK

Reported by: trevorwekel Owned by: trevorwekel
Priority: medium Milestone: 1.2
Component: Web API Version: 1.2.0
Severity: major Keywords:
Cc: External ID: 933120

Description

The Java API does build cleanly against an installed JDK on Windows. It will generate an error trying to find the "jni.h" header.

Change History

Changed 5 years ago by trevorwekel

  • status changed from new to assigned
  • summary changed from Java API build does not build against JNI headers for installed JDK to Java API does not build against JNI headers for installed JDK

Changed 5 years ago by trevorwekel

Further investigation has shown that the build setup requires hard coded paths in Visual Studio 2005 for both the Java jni include files and the Java binaries. This is completely different than the Linux build which simply uses JAVA_HOME.

I have switched the Visual Studio build to also use JAVA_HOME. It is a cleaner solution and consistent with the Linux build procedure.

Changed 5 years ago by trevorwekel

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.