Adding to the classpath on OSX

后端 未结 5 663
野趣味
野趣味 2020-11-29 17:24

Can anyone tell me how to add to the classpath on OSX?

5条回答
  •  猫巷女王i
    2020-11-29 18:14

    If your shell is tcsh or csh, you can set it in /etc/profile. Open terminal, "vim /etc/profile" and add the following line:

    setenv CLASSPATH (insert your classpath here)

提交回复
热议问题