Opened 17 years ago

Closed 17 years ago

#102 closed defect (fixed)

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 (3)

comment:1 by trevorwekel, 17 years ago

Status: newassigned
Summary: Java API build does not build against JNI headers for installed JDKJava API does not build against JNI headers for installed JDK

comment:2 by trevorwekel, 17 years ago

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.

comment:3 by trevorwekel, 17 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.