This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239596 - How to specify path to Cygwin
Summary: How to specify path to Cygwin
Status: RESOLVED WONTFIX
Alias: None
Product: usersguide
Classification: Unclassified
Component: Utilities (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: Kenneth Ganfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-18 09:45 UTC by kimsp
Modified: 2014-02-07 09:30 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kimsp 2013-12-18 09:45:16 UTC
Hi, 

I really need the terminal working. On windows it tells me that I do not have cygwin installed. But that is not true, it is just not installed in a standard place.

I have looked for a place to manually add the path to where cygwin is located, but I have not found this. I think it would be great with such an option as it makes the Terminal unusable to me (and probably others) as of now

Regards 
Kim
Comment 1 Geertjan Wielenga 2013-12-18 09:50:14 UTC
Can you reinstall it in the standard place? For me, on Windows, the terminal window in NetBeans works fine, I installed cygwin, didn't really know what it was, following whatever instructions are out there, restarted NetBeans, and immediately the terminal window works.
Comment 2 kimsp 2013-12-18 09:59:22 UTC
Hi Geertjan

I have done some (installed for all users) and still no luck.

Cygwin is working fine though in its own terminal.

Where does netbeans look for cygwin? 

Regards
Kim
Comment 3 Geertjan Wielenga 2013-12-18 10:01:32 UTC
It looks on the command line, if cygwin runs on the command line, NetBeans (after a reinstall) will find it.
Comment 4 kimsp 2013-12-18 10:45:53 UTC
Okay, that could be it. My windows Path does not contain the cygwin executables. But this is default on win XP I think (inferred from this: http://superuser.com/questions/27668/how-can-i-add-cygwin-bin-to-the-search-path-in-windows-xp)

I'll try and add it and report back.
Comment 5 kimsp 2013-12-19 07:42:56 UTC
It works if I add the cygwin path to the windows path enviroment variable.

However, if you just download the setup.exe (http://cygwin.com/install.html) then this variable will not be set (at least on my XP machine). So maybe the error dialog should tell the user that this needs to be done or have an option to specify the directory to where cygwin is installed.


Best regards
Kim
Comment 6 Kenneth Ganfield 2014-01-03 13:16:12 UTC
(In reply to kimsp from comment #5)
> It works if I add the cygwin path to the windows path enviroment variable.
> 
> However, if you just download the setup.exe (http://cygwin.com/install.html)
> then this variable will not be set (at least on my XP machine). So maybe the
> error dialog should tell the user that this needs to be done or have an
> option to specify the directory to where cygwin is installed.
> 
> 
> Best regards
> Kim

What error dialog are you referring to? What is the current error message?
Comment 7 Kenneth Ganfield 2014-02-07 09:30:18 UTC
No further details from reporter about warning dialog.

Closing this as wont fix as this is really specific to the individual config of the user's command window/terminal. 
Seems that as long as the user's path environment is correct then the commands run as expected in the IDE Terminal window.