📌  相关文章
📜  错误:无法找到或加载主类 -Djava.library.path=.home.hdoop.hadoop-3.3.0.lib.native - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:40.003000             🧑  作者: Mango

代码示例1
Sounds silly, but if you've copied .bashrc lines from somewhere
check that the quotation marks are like this:
    export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib/native"
and not like this
    export HADOOP_OPTS=”-Djava.library.path=$HADOOP_HOME/lib/native”

...took me some time