【问题标题】:NetBeans: Use environment from .bash_profile when running Maven commandsNetBeans:运行 Maven 命令时使用 .bash_profile 中的环境
【发布时间】:2018-01-05 14:50:57
【问题描述】:

我有一个带有环境变量的 .bash_profile,我希望我的 IDE NetBeans 在执行期间看到,但似乎不起作用。

关于如何让 IDE 看到这个的任何提示?

【问题讨论】:

  • 哪个版本的 NetBeans?
  • 8.2, 10。不要认为这很重要。
  • 好吧,我确定我下面的答案适用于 8.2,但尚未在版本 10 上测试。

标签: bash macos maven-3 netbeans-8


【解决方案1】:

您是否尝试添加“. ~/.bash_profile”在你的 netbeans-/etc/netbeans.conf 的末尾?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-04-10
    • 2013-05-08
    • 2011-05-16
    • 2011-08-20
    • 1970-01-01
    • 1970-01-01
    • 2014-04-05
    • 2018-07-15
    相关资源
    最近更新 更多