<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Applied the patch. I still get the same error.<br>
Rolf Eike Beer wrote:<br>
<blockquote type="cite">
<pre>Eli Gottlieb wrote:
><i> When I run CMake on my project (java bindings for llvm) after upgrading
</i>><i>
</i>><i> to Ubuntu 12.04, it returns the following error:
</i>><i> > <a href="http://www.cmake.org/mailman/listinfo/cmake">eli at eli-netbook</a>:~/Programs/decac/src/org/jllvm/bindings$ cmake .
</i>><i> >
</i>><i> > CMake Error at /usr/share/cmake-2.8/Modules/FindJava.cmake:99 (MESSAGE):
</i>><i> > Error executing java -version
</i>><i> >
</i>><i> > Call Stack (most recent call first):
</i>><i> > CMakeLists.txt:21 (FIND_PACKAGE)
</i>><i> >
</i>><i> > -- Configuring incomplete, errors occurred!
</i>><i>
</i>><i> When I run `java -version` myself it returns:
</i>><i> > <a href="http://www.cmake.org/mailman/listinfo/cmake">eli at eli-netbook</a>:~/Programs/decac/src/org/jllvm/bindings$ java -version
</i>><i> > java version "1.6.0_24"
</i>><i> > OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
</i>><i> > OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
</i>><i>
</i>><i> Any idea what's going on here?
</i>
I think this is related to <a href="http://cmake.org/Bug/view.php?id=12878">http://cmake.org/Bug/view.php?id=12878</a>
Can you please use the patch from there and check if the error persists?
Eike
</pre>
</blockquote>
</body>
</html>