Hello Kristian, >> - tried to build again, this time receiving the error "jni.h: No such >> file or directory"
when installing Java on your computer you can either only install the Java Runtime Enggine (JRE) or the Java Development Kit (JDK). Jni.h is only included in the Java Development Kit, which should be preinstalled with Mac OS X. http://developer.apple.com/Mac/library/documentation/Java/Conceptual/Java14Development/05-CoreJavaAPIs/CoreJavaAPIs.html says: When building JNI libraries, you need to explicitly designate the path to jni.h. This is in /System/Library/Frameworks/JavaVM.framework/Headers/, not /usr/include/ as on some other platforms. When I wrote the makfile for GLPK-Java I was working on a Debian Linux system. Please edit swig/Makefile and change the definition of SWIG_FLAGS accordingly: SWIG_FLAGS = -I/System/Library/Frameworks/JavaVM.framework/Headers Best regards Xypron -- View this message in context: http://old.nabble.com/Trouble-building-GLPK-Java-1.0.6-on-a-Mac-tp26625240p26632138.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
