Opened 12 years ago

Closed 12 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 Changed 12 years ago by trevorwekel

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 Changed 12 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.

comment:3 Changed 12 years ago by trevorwekel

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