0

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~

sam
  • 2,049
  • 3
  • 20
  • 27

1 Answers1

0

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

Diego Sevilla
  • 28,636
  • 4
  • 59
  • 87
  • Install sun-jdk by apt-get:sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"; sudo apt-get update; sudo apt-get install sun-java6-jdk sun-java6-plugin; sudo update-java-alternatives -s java-6-sun; – sam Jan 21 '12 at 03:08