MapGuide Open Source:  Home |  Download |  Internals

Ticket #102 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Java API does not build against JNI headers for installed JDK

Reported by: trevorwekel Assigned to: 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

05/07/07 18:21:54 changed 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.

05/07/07 19:47:22 changed 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.

05/07/07 19:50:40 changed by trevorwekel

  • status changed from assigned to closed.
  • resolution set to fixed.