Applied the patch.  I still get the same error.
Rolf Eike Beer wrote:
Eli Gottlieb wrote:
>/  When I run CMake on my project (java bindings for llvm) after upgrading
/>/
/>/  to Ubuntu 12.04, it returns the following error:
/>/  >  eli at eli-netbook  
<http://www.cmake.org/mailman/listinfo/cmake>:~/Programs/decac/src/org/jllvm/bindings$
 cmake .
/>/  >
/>/  >  CMake Error at /usr/share/cmake-2.8/Modules/FindJava.cmake:99 (MESSAGE):
/>/  >    Error executing java -version
/>/  >
/>/  >  Call Stack (most recent call first):
/>/  >    CMakeLists.txt:21 (FIND_PACKAGE)
/>/  >
/>/  >  -- Configuring incomplete, errors occurred!
/>/
/>/  When I run `java -version` myself it returns:
/>/  >  eli at eli-netbook  
<http://www.cmake.org/mailman/listinfo/cmake>:~/Programs/decac/src/org/jllvm/bindings$
 java -version
/>/  >  java version "1.6.0_24"
/>/  >  OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
/>/  >  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
/>/
/>/  Any idea what's going on here?
/
I think this is related tohttp://cmake.org/Bug/view.php?id=12878

Can you please use the patch from there and check if the error persists?

Eike
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to