Java classpath - Linux

后端 未结 4 1221
猫巷女王i
猫巷女王i 2020-12-31 10:58

I am trying to understand how classpath really works. After searching around the web this is where I have reached so far:

I have added

export CLASSP         


        
4条回答
  •  长发绾君心
    2020-12-31 11:44

    When you remove

    export CLASSPATH="/home/foo:/home/foo/Java_code/my_code"
    

    line and then source ... it wouldn't remove the CLASSPATH because it has already been set. It doesn't clear the variables which have already been defined.

提交回复
热议问题