aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse for java & cpp/h files in openjdk Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse for java & cpp/h files in openjdk" Watch "Eclipse for java & cpp/h files in openjdk" New topic
Author

Eclipse for java & cpp/h files in openjdk

Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 498

I have Eclipse Indigo in that i add new software from CDT download Website.
I download openjdk 7 for understand it.
I create project with existing code...& give path of openjdk folder where i extract it.
It show properly cpp files & java files also
For checking every thing is ok or not i write basic Hello world program in cpp, it not run...when i try to discover where is compiler(As i separately download compilers Boreland, MinGW, & visual studio, it should show me 3 compiler for choose particular...But not...
Then i download Eclipse Helios CDT as website shows Eclipse IDE for C/C++ Developers.
then i check basic program hello world in cpp it take MinGW for compile it self...i not set it.
But when i create project on existing code & give path of openjdk folder...it takes only c/cpp/h etc files & java files open in wordpad not like eclipse open java when I use indigo...

Its very difficult to me to try to understand how i should check
if i write code in java example initialize variable like int,double,float...etc & debug then IDE should show me step by step exactly which java/c/cpp/h file require it to show that variable in console...if success then i will try for jcomponent etc bigger program...
Any help i am trying this from last 6-7 days...If other IDE helps please inform me...
It just to understand & curiosity...


Millions saw the apple fall, but Newton asked why.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5830
    
    7

I think you lost me there. Have you checked the help menu in Eclipse? Many of the plugins, such as the Java Development Tools, have tutorials in the help text. (Help | Content | Java Development User Guide | Getting Started | Basic Tutorial) I suspect that a similar tutorial exists for the C/C++ tools. I recommend that you try out the tutorials first so that you understand how Eclipse works. Once you understand that, if you have further questions you can come here and ask. And it helps if you ask only one specific question - the stream of consciousness post that you made is not likely to get you much help.


JBoss In Action
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 498

Thanks Peter Johnson Sir,
I not understand following sentence...
I think you lost me there.


Have you checked the help menu in Eclipse? Many of the plugins, such as the Java Development Tools, have tutorials in the help text. (Help | Content | Java Development User Guide | Getting Started | Basic Tutorial) I suspect that a similar tutorial exists for the C/C++ tools.

Yes i check help menu..even lots of plugin & its help/options/tutorials also...but if i take c/c++ then in tutorial gives only c/c++ examples...if i take java tutorial...it gives only java example...
When i try to use combined both languages then no tutorial found by me...(or i not looked properly...surely i check again for 2-3 days & try to find out...)

I found one bug in eclipse which i post eclipse bug website...

And it helps if you ask only one specific question - the stream of consciousness post that you made is not likely to get you much help.

Surely i ask many question always...but i thought it not mismatch with each other...all are related to each other?

If i ask i need help in eclipse c/c++ IDE for see program cpp & java also..then surely any one can give me answer check plugin...
But i post why i need it...if solution get for what purpose i use it..all details...
I think complete question (is true its take time to read & look like big paragraph & in 21s century people not read 130 character sms completely...lost passions ) helps for proper answer...
This is not topic to discussion for me also...Sorry for going wrong side...
But still i not find out any IDE which give me complete solution for my requirement...
Where(in which ide) that openjdk developer debug that code? basic question...
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5830
    
    7

Are you trying to write an application that has both Java and C/C++ sources? Then all you need to do is download the necessary plugins to support both. For example, download the Eclipse IDE for Java Developers package and then add the C/C++ plugins to it.

You will need to have separate projects - you cannot have a project that has both Java and C/C++ code.

I am not sure if you can have a debug session where you set breakpoints in both projects. You can always try.
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 498

Thanks Peter Johnson Sir,
You can always try.

Surely...i search lots in Google..in not found proper IDE with functionality i want...(IDE with multilingual project debugging facility with multiple compilers)...
Question arise in my mind after just reading books/website/blogs...I also confuse really its needed...if such requirement is there then why not available...or people do work on traditional way...
create separate projects for separate languages & debug separate IDE!

I read about equinoxosgi.org...I am mot master in that but question arise if i want to try create java project which contain combined IDE..then framework required (i think so)...so this can be helpful...
but for that i should start reading more books/blogs/etc
So for creating combined IDE or look like IDE program in java language...
Which books i should read? I try to sort out from where i start studying with reference webpage.
should it possible to create combined IDE or similar? I chose C,C++ & java.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16070
    
  21

Peter Johnson wrote:
I am not sure if you can have a debug session where you set breakpoints in both projects. You can always try.


Yes, you can. Separate projects, separate languages, separate VMs, where applicable. That's one of the primary reasons I prefer Eclipse - I tend to work on systems that need just such abilities.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse for java & cpp/h files in openjdk