Closed zouyx closed 8 years ago
It means that your cmake installation is missing the UseJava
module for some reason. In Ubuntu it is installed in /usr/share/cmake-2.8/Modules/UseJava.cmake
.
works for me on centos - please report the versions you are on? Also the install/provisioning steps you ran to set up the environment.
@jrudolph Thanks! I got it! @ceeaspb OS:CentOS release 6.3 (Final) JDK: java version "1.8.0_76-ea" Java(TM) SE Runtime Environment (build 1.8.0_76-ea-b04) Java HotSpot(TM) 64-Bit Server VM (build 25.76-b04, mixed mode)
My install step follow article which as blow http://techblog.netflix.com/2015/07/java-in-flames.html 1.install perf: yum install perf 2.install cmake: yum install cmake 3.install jdk: download from http://openjdk.java.net 4.clone perf-map-agent from git ,compress it as tar , upload to server , run cmake . then cause a exception as my first post
@jrudolph my cmake version is cmake version 2.6-patch 4 shall i update to 2.8?
Yes, probably. It seems that UseJava was added to cmake in 2.8.6.
It works......... after update cmake to 2.8.12.........
Cool, I added a comment in the README that cmake >= 2.8.6 is needed.
Hi I have ran cmake . but show me as below do you know what it is happened? finished or unfinished?