如何在NetBeans中指定PATH? [英] How do I specify the PATH in NetBeans?

查看:103
本文介绍了如何在NetBeans中指定PATH?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在NetBeans上运行Ruby代码时(例如在运行测试时),由于找不到程序,我遇到了一些故障.该程序安装在/opt中的某个位置,而对于外壳程序,我将其添加到了PATH中,似乎NetBeans没有得到它.

When running Ruby code on NetBeans (like when running the tests) I'm having some failures because a program is not being found. That program is installed somewhere in /opt and while for the shell I get that added to my PATH, it seems NetBeans is not getting it.

如何在NetBeans中指定PATH?

How do I specify the PATH in NetBeans?

推荐答案

在Unix中,您的netbeans安装目录(我们将其称为$ NETBEANS)中有一个etc目录.

In Unix, in your netbeans install directory (we'll call it $NETBEANS), there's an etc directory.

$ NETBEANS/etc/netbeans.conf可以更改为在PATH中添加内容或为Netbeans实例设置其他环境变量.例如,我在那里为我的Glassfish启动设置了一些env变量.

$NETBEANS/etc/netbeans.conf can be changed to add things to your PATH or set other environment variables for your Netbeans instances. I set some env variable for my Glassfish launches in there, for example.

对于Windows无法说.

Can't say for Windows.

这篇关于如何在NetBeans中指定PATH?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆