How to set Environment Variable in Netbeans?

Viewed 39380

I am running maven based Spring project in netbeans . I am using an environment variable in my project configurations file to Open specific file based on that variable value . I am able to set it In Eclipse but do not know how to set in Netbeans . Can any one help me?

3 Answers

On macOS:

In $HOME/.bashrc add alias:

alias netbeans='/Applications/NetBeans/NetBeans\ X.Y.app/Contents/MacOS/netbeans &'

In Terminal:

> netbeans

This will start IDE with user environment variables.

As result environment variables (such as $PATH) available inside NetBeans IDE and tools (such as Ruby debugger).

Related