我想按照這個應用程序的設置:https://github.com/michaelmior/RUBBoS化妝:/斌/ javac的:命令未找到
而當我來到這個部分:
To build the client emulator, change into the Client directory and run make. This will create rubbos_client.jar which will be used to run the benchmark.
當我運行make
,我收到此錯誤:
[email protected]:/home/user/RUBBoS/Client# make
/bin/javac -deprecation -classpath .:/lib/j2ee.jar:/jre/lib/rt.jar edu/rice/rubbos/client/URLGenerator.java
make: /bin/javac: Command not found
make: *** [edu/rice/rubbos/client/URLGenerator.class] Error 127
新的錯誤:
/opt/jdk1.7.0_80/bin/javac -deprecation -classpath .:/lib/j2ee.jar:/opt/jdk1.7.0_80/jre/lib/rt.jar edu/rice/rubbos/client/URLGenerator.java
make: /opt/jdk1.7.0_80/bin/javac: Command not found
make: *** [edu/rice/rubbos/client/URLGenerator.class] Error 127
你修改Makefile ?如果缺省位置沒有安裝javac,則有可變JAVAC指向'javac'並需要調整。但是,在Makefile中,它默認爲'/ usr/bin/javac',而不是'/ bin/javac'。你的JDK安裝在哪裏? –