It simply means that java (javac ?) was not found on the linux system. if you ccmake and/or make edit_cache you'll see that some JAVA required inputs are missing.
HTH On Wed, Aug 13, 2008 at 2:23 AM, Andy Somogyi <[EMAIL PROTECTED]> wrote: > Hello > > I'm working on a c++ / JNI application which needs to run on > Mac/Linux/Windows. > > It builds fine on Mac and Windows, however on Linux (Ubuntu 8.04, cmake > version 2.4 patch 7) I get the following error: > > CMake Error: JAVA_DIR is not set. It must be set to the directory > containing JAVAConfig.cmake in order to use JAVA. > > The strange thing is that, it compiles fine on Mac using cmake version 2.4 > patch 8. I searched the entire file system on the Mac for a JAVAConfig.cmake > and it is not there, but it compiles fine. On Linux I'm using Sun JDK 6. > > Any ideas would be greatly appreciated. > > > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake > -- Mathieu _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
