prologjpl

How to fix 'configure: error: cannot find java include files'?


To install jpl(A Java Interface to Prolog),when I type 'make', it shows

 checking symlink for /etc/alternatives/javac... /usr/bin/gcj-wrapper-4.4
 configure: error: cannot find java include files
 make: *** [installed] Error 1

How to fix it?

Thank you~


Solution

  • As per the OP request, I post the answer. Try to install the sun-jdk package instead. May be some incompatibility with gcj packages.