Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse and PATH variable
Eclipse and PATH variable [message #668188] Wed, 04 May 2011 11:58 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: May 2011
Junior Member
Been doing some searching this morning with not much progress...but the issue that I am having is that when Eclipse loads up, it doesn't seem take into account any of my additions to my $PATH that I have (via my .bash_profile file). I can see this variables do show up when I check in terminal. For example, I have a 7z osx port installed and when I run ANT via terminal, it recognizes that it exists...but when I open up Eclipse and run ANT, it doesn't find it.

Any suggestions?
Re: Eclipse and PATH variable [message #668229 is a reply to message #668188] Wed, 04 May 2011 15:22 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 5/4/11 7:58 AM, krisrange@gmail.com wrote:
> Been doing some searching this morning with not much progress...but the
> issue that I am having is that when Eclipse loads up, it doesn't seem
> take into account any of my additions to my $PATH that I have (via my
> .bash_profile file). I can see this variables do show up when I check in
> terminal. For example, I have a 7z osx port installed and when I run ANT
> via terminal, it recognizes that it exists...but when I open up Eclipse
> and run ANT, it doesn't find it.
>
> Any suggestions?

Eclipse doesn't generally use environment variables. If all you need is
for Ant to find an executable at runtime, you can edit the External Tool
Configuration for your Ant script (find the toolbar menu for "External
Tool Configurations", it's icon is a red toolbox over the white-on-green
arrow). When editing the External Tool configuration, there's an
Environment tab where you can specify environment variables.

Eric
Previous Topic:JDT package into Eclipse CDT
Next Topic:[SOLVED] html xmlns produces error?
Goto Forum:
  


Current Time: Wed Apr 24 20:16:16 GMT 2024

Powered by FUDForum. Page generated in 0.07622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top