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

Bug 366295

Summary: Problem in connecting java with C/C++ using JNI
Product: [Tools] CDT Reporter: GAYATHRI <gayathrivengatmku>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED INVALID QA Contact: Doug Schaefer <cdtdoug>
Severity: major    
Priority: P3 CC: remy.suen
Version: 8.0   
Target Milestone: ---   
Hardware: Other   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Page No:10 in the file none

Description GAYATHRI CLA 2011-12-10 07:37:38 EST
Build Identifier: 20110615-0604

I am using eclipse indigo java IDE. Now i have eclipse IDE for C/C++ also. I want to connect my java program with C++ program using JNI. When I searched in Google with "eclipse jni tutorial", i got help in which they told to use MinGW and eclipse CDT. Now I installed eclipse JDT, CDT, and MinGW. As per that tutorial, I have created a hello.java. Its given as follows

Next we will modify the project to allow C/C++ files to be compiled as in the CDT tutorial. From the File menu, choose “New” and select “Project…” In the tree on the left, select “C”. In the corresponding list on the right, choose “Convert to a C or C++ Project,” and press “Next”.

but I didn't get the option “C” in new project window! then how will i “Convert to a C or C++ Project” ?

Pls help me anybody

Reproducible: Always
Comment 1 GAYATHRI CLA 2011-12-10 07:44:41 EST
Created attachment 208215 [details]
Page No:10 in the file

From this file, its come to know me that we can connect java with C/C++ using JNI....
Comment 2 GAYATHRI CLA 2011-12-10 07:46:03 EST
Help me anybody! Pls Iis very URGENT
Comment 3 Markus Schorn CLA 2011-12-21 08:35:34 EST
This is not a bug-report.