Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333583

Summary: WindowsRegistry#getRegistry() returns null under Win7 64bit
Product: [Tools] CDT Reporter: Bernd <berndvogt>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact: Doug Schaefer <cdtdoug>
Severity: major    
Priority: P3 CC: malaperle
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Bernd CLA 2011-01-05 11:38:04 EST
Build Identifier: M20100909-0800

The method org.eclipse.cdt.utils.WindowsRegistry#getRegistry() returns null, when using a 64bit eclipse. (UnsatisfiedLinkError: no winreg in java.library.path)

As a result CDT is not able o detect the GNU toolchains via the windows registry (in my case Cygwin). Workaround: Add the <CYGWIN_HOME>\bin directory to the system path.

Environment:
- Windows 7 (64bit)
- Sun JDK 1.6.0_21 (64 bit)
- Eclipse SDK 3.6.1.M20100909-0800 (64 bit)
- C/C++ Development Tools 7.0.1.201009241320
- C/C++ Development Tools SDK 7.0.1.201009241320
- C/C++ GNU Toolchain Build Support 7.0.0.201009241320

Reproducible: Always
Comment 1 Marc-André Laperle CLA 2011-01-05 12:39:46 EST
I believe this is related to bug 236330.
Comment 2 Andrew Gvozdev CLA 2011-01-05 13:04:53 EST
Marking as duplicate.

*** This bug has been marked as a duplicate of bug 236330 ***
Comment 3 Bernd CLA 2011-01-05 13:57:57 EST
Yes, it's actually a duplicate of bug 236330. Have not seen it.