Mulval:安装问题

时间:2018-02-04 15:00:36

标签: java installation

当我尝试安装mulval时,我收到以下错误:

(cd src/adapter; make; make install)
make[1]: Entering directory '/home/rvmelo/mulval/mulval/src/adapter'
javac GetCVEID.java -cp :/home/rvmelo/mulval/mulval/lib/dom4j-1.6.1.jar:/home/rvmelo/mulval/mulval/lib/jaxen-1.1.1.jar:/home/rvmelo/mulval/mulval/lib/mysql-connector-java-5.1.8-bin.jar
make[1]: javac: Comando não encontrado
Makefile:9: recipe for target 'GetCVEID.class' failed
make[1]: *** [GetCVEID.class] Error 127
make[1]: Leaving directory '/home/rvmelo/mulval/mulval/src/adapter'
make[1]: Entering directory '/home/rvmelo/mulval/mulval/src/adapter'
javac GetCVEID.java -cp :/home/rvmelo/mulval/mulval/lib/dom4j-1.6.1.jar:/home/rvmelo/mulval/mulval/lib/jaxen-1.1.1.jar:/home/rvmelo/mulval/mulval/lib/mysql-connector-java-5.1.8-bin.jar
make[1]: javac: Comando não encontrado
Makefile:9: recipe for target 'GetCVEID.class' failed
make[1]: *** [GetCVEID.class] Error 127
make[1]: Leaving directory '/home/rvmelo/mulval/mulval/src/adapter'
Makefile:6: recipe for target 'adapter' failed
make: *** [adapter] Error 2

根据本教程,我已经设置了MULVALROOT:http://people.cs.ksu.edu/~xou/argus/software/mulval/readme.html

我的路径:

/home/rvmelo/mulval/XSB/bin:/home/rvmelo/mulval/XSB/utils:/usr/local/sbin:/
usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/
snap/bin:/home/rvmelo/mulval/mulval/bin:/home/rvmelo/mulval/mulval/utils:/
home/rvmelo/mulval/XSB/bin

MULVALROOT:

/home/rvmelo/mulval/mulval

为什么会这样?

1 个答案:

答案 0 :(得分:0)

您似乎已经安装了JRE,并且需要编译Java类(需要JDK中包含的javac)。这些是differences between JRE and JDK

从您的日志:

 make[1]: javac: Comando não encontrado

只需install a JDK