当我使用如下所述的以下命令编译Java代码时,我正在使用Ubuntu Shell进行WordCount
javac -classpath ${HADOOP_CLASSPATH} -d
‘/home/abdullah/Desktop/WordCountTutorial/tutorial_classes’
‘/home/abdullah/Desktop/WordCountTutorial/WordCount.java’
我收到以下错误
javac invalid flag:‘/home/abdullah/Desktop/WordCountTutorial/tutorial_classes’
‘/home/abdullah/Desktop/WordCountTutorial/WordCount.java’
Usage: javac <options> <source files>
use -help for a list of possible options
最佳答案
我可以观察到以下问题:
**/*.java
例如/home/abdullah/Desktop/WordCountTutorial/tutorial_classes/*.java