Build cant find jni.h file

Trying to rebuild FoundationClasses.dsw. File Jcas.hxx and Jcas_Object,h try to include file jni.h. But jni.h was not installed in the OpenCascade4.0 directory. Where can I get the missing file?

C R Johnson's picture

It is a Java header file. You need the Java development environment (from Sun) to build JCas modules. I think you can just not build them if you don't intend to use Java with OCC.

dbaechtel's picture

I am trying to build the FoundationClasses for the Windows environment. I am using the FoundationClasses.dsw. Why does that refer to the Java headers? How do I fix it?