如何在NetBeans中指定PATH?

编程入门 行业动态 更新时间:2024-10-25 05:14:31
本文介绍了如何在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?

本文发布于:2023-11-27 20:59:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639581.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何在   NetBeans   PATH

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!